diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index 94ea44ac0ae..bb920f02975 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -4,6 +4,9 @@ on: pull_request_target: branches: - main + paths: + - 'fern/**' + - 'packages/cli/docs-**' workflow_dispatch: inputs: prNumber: @@ -38,10 +41,26 @@ jobs: echo "$OUTPUT" URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()') echo "Preview URL: $URL" - echo "🌿 Preview your docs: $URL" > preview_url.txt + echo "$URL" > preview_url.txt - - name: Comment URL in PR - uses: thollander/actions-comment-pull-request@v2.4.3 - with: - filePath: preview_url.txt - comment_tag: docs-preview-link + - name: Comment or Update URL in PR + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + COMMENT_TAG="" + PREVIEW_URL=$(cat preview_url.txt) + + # Get existing comments + EXISTING_COMMENT=$(gh api repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \ + --jq ".[] | select(.body | contains(\"${COMMENT_TAG}\")) | .id") + + if [ -z "$EXISTING_COMMENT" ]; then + # No existing comment, create one + gh api repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \ + -f body="${COMMENT_TAG}🌿 Preview your docs: $PREVIEW_URL" + else + # Update existing comment + gh api repos/${{ github.repository }}/issues/comments/$EXISTING_COMMENT \ + -X PATCH \ + -f body="${COMMENT_TAG}🌿 Preview your docs: $PREVIEW_URL" + fi diff --git a/fern.schema.json b/fern.schema.json index 349f5983914..e5cc6843dc6 100644 --- a/fern.schema.json +++ b/fern.schema.json @@ -497,6 +497,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -700,6 +710,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1033,6 +1053,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1189,6 +1219,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1274,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 288ed436638..f3eebfb303f 100644 --- a/fern/apis/fern-definition/definition/commons.yml +++ b/fern/apis/fern-definition/definition/commons.yml @@ -1,39 +1,39 @@ -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: + + 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..281af2e958b 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,143 @@ 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: + 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 0b78c7b030d..3352aebba2b 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: + + BaseTypeDeclarationSchema: + extends: - commons.WithDocsSchema - commons.WithAvailability - commons.WithAudiences - properties: + properties: examples: optional> encoding: optional source: optional - - ### Aliases #### + inline: optional - 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/fern/docs.yml b/fern/docs.yml index a995acf3b5d..7bc036a92e0 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -51,8 +51,8 @@ redirects: destination: /learn/sdks/guides/generate-your-first-sdk - source: /learn/sdks/getting-started/preview-your-sdk-locally destination: /learn/sdks/guides/preview-your-sdk-locally - - source: /learn/sdks/publish-sdk/publish-your-sdk - destination: /learn/sdks/guides/publish-your-sdk + - source: /learn/sdks/getting-started/publish-a-public-facing-sdk + destination: /learn/sdks/guides/publish-a-public-facing-sdk navigation: - tab: home @@ -297,7 +297,7 @@ navigation: path: ./pages/sdks/getting-started/preview-your-sdk-locally.mdx - page: Publish a Public-Facing SDK path: ./pages/sdks/publish-sdk/publish-your-sdk.mdx - hidden: true + slug: publish-a-public-facing-sdk - section: Publish to package managers contents: - page: NPM (TypeScript) 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-27.mdx b/fern/pages/changelogs/cli/2024-11-27.mdx new file mode 100644 index 00000000000..14dfd413993 --- /dev/null +++ b/fern/pages/changelogs/cli/2024-11-27.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. + + diff --git a/fern/pages/changelogs/cli/2024-11-29.mdx b/fern/pages/changelogs/cli/2024-11-29.mdx new file mode 100644 index 00000000000..604e6f91b7c --- /dev/null +++ b/fern/pages/changelogs/cli/2024-11-29.mdx @@ -0,0 +1,4 @@ +## 0.45.1-rc0 +**`(fix):`** Generate valid examples using spec validation information; respect `null` entries during example generation. + + diff --git a/fern/pages/changelogs/csharp-sdk/2024-11-25.mdx b/fern/pages/changelogs/csharp-sdk/2024-11-25.mdx new file mode 100644 index 00000000000..99b44eafa61 --- /dev/null +++ b/fern/pages/changelogs/csharp-sdk/2024-11-25.mdx @@ -0,0 +1,11 @@ +## 1.9.11 +**`(feat):`** Add two dependencies who previously were transitive dependencies to ensure the generated SDKs use the patched versions without vulnerabilities. +- `System.Net.Http` >= `4.3.4` +- `System.Text.RegularExpressions` >= `4.3.1` +Update other dependencies to the latest version: +- `Portable.System.DateTimeOnly` = `8.0.2` (on net462 & netstandard2.0) +- `PolySharp` = `1.15.0` +- `OneOf` = `3.0.271` +- `OneOf.Extended` = `3.0.271` + + diff --git a/fern/pages/docs/building-your-docs/announcement-banner.mdx b/fern/pages/docs/building-your-docs/announcement-banner.mdx index d43b20f89c2..a6c5f9acb1b 100644 --- a/fern/pages/docs/building-your-docs/announcement-banner.mdx +++ b/fern/pages/docs/building-your-docs/announcement-banner.mdx @@ -12,3 +12,5 @@ announcement: ``` Markdown and HTML is supported in the announcement message. You can include links, images, and other formatting. [Custom css](/learn/docs/building-your-docs/custom-css-global-js#custom-css) can be used to customize the style of the announcement. + +Another docs change \ No newline at end of file diff --git a/fern/pages/sdks/capabilities/discriminated-unions.mdx b/fern/pages/sdks/capabilities/discriminated-unions.mdx index 812962e22e1..16f156fedf2 100644 --- a/fern/pages/sdks/capabilities/discriminated-unions.mdx +++ b/fern/pages/sdks/capabilities/discriminated-unions.mdx @@ -3,7 +3,7 @@ title: Discriminated Unions description: Fern SDKs include idiomatic support for discriminated unions --- -The SDKs natively support discriminated [unions](../../api-definition/fern/types#unions) for both OpenAPI and Fern APIs. +The SDKs natively support [discriminated unions](../../api-definition/fern/types#discriminated-unions) for both OpenAPI and Fern APIs. @@ -224,4 +224,4 @@ func ComputeArea(shape *Shape) float64 { ``` - \ No newline at end of file + diff --git a/fern/pages/welcome.mdx b/fern/pages/welcome.mdx index 2fbf0d5b1b9..cce37eda4c9 100644 --- a/fern/pages/welcome.mdx +++ b/fern/pages/welcome.mdx @@ -6,7 +6,7 @@ layout: overview hide-toc: true --- -Our entire docs website (the one you're looking at right now!) is built using Fern. [See the source Markdown.](https://github.com/fern-api/fern/blob/main/fern/pages/welcome.mdx) +Our entire docs website (the one you're looking at right now!) is built using Fern. [See the source Markdown.](https://github.com/fern-api/fern/blob/main/fern/pages/welcome.mdx?plain=1) ## Products diff --git a/generators/commons/.depcheckrc.json b/generators/base/.depcheckrc.json similarity index 100% rename from generators/commons/.depcheckrc.json rename to generators/base/.depcheckrc.json diff --git a/generators/commons/.prettierrc.cjs b/generators/base/.prettierrc.cjs similarity index 100% rename from generators/commons/.prettierrc.cjs rename to generators/base/.prettierrc.cjs diff --git a/generators/commons/package.json b/generators/base/package.json similarity index 91% rename from generators/commons/package.json rename to generators/base/package.json index 0627584dec3..9b525724517 100644 --- a/generators/commons/package.json +++ b/generators/base/package.json @@ -1,10 +1,10 @@ { - "name": "@fern-api/generator-commons", + "name": "@fern-api/base-generator", "version": "0.0.0", "repository": { "type": "git", "url": "https://github.com/fern-api/fern.git", - "directory": "generators/commons" + "directory": "generators/base" }, "private": true, "files": [ @@ -28,12 +28,12 @@ "depcheck": "depcheck" }, "dependencies": { + "@fern-api/browser-compatible-base-generator": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", "@fern-api/logger": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-fern/generator-cli-sdk": "0.0.17", - "@fern-fern/generator-exec-sdk": "^0.0.898", "js-yaml": "^4.1.0", "lodash-es": "^4.17.21", "tmp-promise": "^3.0.3" diff --git a/generators/commons/src/AbstractGeneratorAgent.ts b/generators/base/src/AbstractGeneratorAgent.ts similarity index 96% rename from generators/commons/src/AbstractGeneratorAgent.ts rename to generators/base/src/AbstractGeneratorAgent.ts index 52b20fcfd74..4cc95838ec8 100644 --- a/generators/commons/src/AbstractGeneratorAgent.ts +++ b/generators/base/src/AbstractGeneratorAgent.ts @@ -1,12 +1,11 @@ import { Logger } from "@fern-api/logger"; -import { AbstractGeneratorContext } from "./AbstractGeneratorContext"; +import { AbstractGeneratorContext, FernGeneratorExec } from "@fern-api/browser-compatible-base-generator"; import { GeneratorAgentClient } from "./GeneratorAgentClient"; import { FernGeneratorCli } from "@fern-fern/generator-cli-sdk"; import { readFile } from "fs/promises"; import yaml from "js-yaml"; import path from "path"; import { ReferenceConfigBuilder } from "./reference"; -import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; const DOCKER_FEATURES_CONFIG_PATH = "/assets/features.yml"; diff --git a/generators/commons/src/AbstractGeneratorCli.ts b/generators/base/src/AbstractGeneratorCli.ts similarity index 94% rename from generators/commons/src/AbstractGeneratorCli.ts rename to generators/base/src/AbstractGeneratorCli.ts index 634746f8d7e..2bb77eda4e3 100644 --- a/generators/commons/src/AbstractGeneratorCli.ts +++ b/generators/base/src/AbstractGeneratorCli.ts @@ -1,9 +1,12 @@ /* eslint-disable no-console */ import { assertNever } from "@fern-api/core-utils"; -import * as GeneratorExecParsing from "@fern-fern/generator-exec-sdk/serialization"; import { readFile } from "fs/promises"; -import { AbstractGeneratorContext } from "./AbstractGeneratorContext"; -import { FernGeneratorExec, GeneratorNotificationService } from "./GeneratorNotificationService"; +import { + AbstractGeneratorContext, + FernGeneratorExec, + GeneratorExecParsing, + GeneratorNotificationService +} from "@fern-api/browser-compatible-base-generator"; export abstract class AbstractGeneratorCli< CustomConfig, diff --git a/generators/commons/src/GeneratorAgentClient.ts b/generators/base/src/GeneratorAgentClient.ts similarity index 100% rename from generators/commons/src/GeneratorAgentClient.ts rename to generators/base/src/GeneratorAgentClient.ts diff --git a/generators/commons/src/SourceFetcher.ts b/generators/base/src/SourceFetcher.ts similarity index 98% rename from generators/commons/src/SourceFetcher.ts rename to generators/base/src/SourceFetcher.ts index 1523f24b730..f1e78ee8795 100644 --- a/generators/commons/src/SourceFetcher.ts +++ b/generators/base/src/SourceFetcher.ts @@ -4,7 +4,7 @@ import { createWriteStream } from "fs"; import { mkdir, readdir } from "fs/promises"; import { pipeline } from "stream"; import { promisify } from "util"; -import { AbstractGeneratorContext } from "./AbstractGeneratorContext"; +import { AbstractGeneratorContext } from "@fern-api/browser-compatible-base-generator"; const LOCAL_FILE_SCHEME = "file:///"; const PROTOBUF_ZIP_FILENAME = "proto.zip"; diff --git a/generators/commons/src/__test__/SourceFetcher.test.ts b/generators/base/src/__test__/SourceFetcher.test.ts similarity index 93% rename from generators/commons/src/__test__/SourceFetcher.test.ts rename to generators/base/src/__test__/SourceFetcher.test.ts index 0c709418ef2..be36a4591eb 100644 --- a/generators/commons/src/__test__/SourceFetcher.test.ts +++ b/generators/base/src/__test__/SourceFetcher.test.ts @@ -1,6 +1,6 @@ import { AbsoluteFilePath, getDirectoryContents, getDirectoryContentsForSnapshot } from "@fern-api/fs-utils"; import path from "path"; -import { AbstractGeneratorContext } from "../AbstractGeneratorContext"; +import { AbstractGeneratorContext } from "@fern-api/browser-compatible-base-generator"; import { SourceFetcher } from "../SourceFetcher"; const AWS_BUCKET_NAME = "fdr-api-definition-source-test"; diff --git a/generators/commons/src/__test__/__snapshots__/SourceFetcher.test.ts.snap b/generators/base/src/__test__/__snapshots__/SourceFetcher.test.ts.snap similarity index 100% rename from generators/commons/src/__test__/__snapshots__/SourceFetcher.test.ts.snap rename to generators/base/src/__test__/__snapshots__/SourceFetcher.test.ts.snap diff --git a/generators/commons/src/__test__/fixtures/google/api/annotations.proto b/generators/base/src/__test__/fixtures/google/api/annotations.proto similarity index 100% rename from generators/commons/src/__test__/fixtures/google/api/annotations.proto rename to generators/base/src/__test__/fixtures/google/api/annotations.proto diff --git a/generators/commons/src/__test__/fixtures/google/api/field_behavior.proto b/generators/base/src/__test__/fixtures/google/api/field_behavior.proto similarity index 100% rename from generators/commons/src/__test__/fixtures/google/api/field_behavior.proto rename to generators/base/src/__test__/fixtures/google/api/field_behavior.proto diff --git a/generators/commons/src/__test__/fixtures/google/api/http.proto b/generators/base/src/__test__/fixtures/google/api/http.proto similarity index 100% rename from generators/commons/src/__test__/fixtures/google/api/http.proto rename to generators/base/src/__test__/fixtures/google/api/http.proto diff --git a/generators/commons/src/__test__/fixtures/user/v1/user.proto b/generators/base/src/__test__/fixtures/user/v1/user.proto similarity index 100% rename from generators/commons/src/__test__/fixtures/user/v1/user.proto rename to generators/base/src/__test__/fixtures/user/v1/user.proto diff --git a/generators/base/src/browserCompatibleExports.ts b/generators/base/src/browserCompatibleExports.ts new file mode 100644 index 00000000000..cba46d22b9f --- /dev/null +++ b/generators/base/src/browserCompatibleExports.ts @@ -0,0 +1,6 @@ +// Export everything from @fern-api/browser-compatible-base-generator +// so that generators can simply consume @fern-api/base-generator. +// +// Packages that require browser compatibility should import directly +// from @fern-api/browser-compatible-base-generator. +export * from "@fern-api/browser-compatible-base-generator"; diff --git a/generators/commons/src/index.ts b/generators/base/src/index.ts similarity index 59% rename from generators/commons/src/index.ts rename to generators/base/src/index.ts index 71448ee2aa5..42bca0c6921 100644 --- a/generators/commons/src/index.ts +++ b/generators/base/src/index.ts @@ -1,11 +1,8 @@ export * from "./AbstractGeneratorAgent"; export * from "./AbstractGeneratorCli"; -export * from "./AbstractGeneratorContext"; -export * from "./GeneratorNotificationService"; +export * from "./browserCompatibleExports"; export * from "./SourceFetcher"; -export * from "./ast"; export * from "./project"; export * from "./readme"; export * from "./reference"; export * from "./utils"; -export * from "./dynamic-snippets"; diff --git a/generators/commons/src/project/AbstractProject.ts b/generators/base/src/project/AbstractProject.ts similarity index 90% rename from generators/commons/src/project/AbstractProject.ts rename to generators/base/src/project/AbstractProject.ts index 1744ee9fdf9..7d2b4a615e3 100644 --- a/generators/commons/src/project/AbstractProject.ts +++ b/generators/base/src/project/AbstractProject.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorContext } from "../AbstractGeneratorContext"; +import { AbstractGeneratorContext } from "@fern-api/browser-compatible-base-generator"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; import { File } from "./File"; diff --git a/generators/commons/src/project/File.ts b/generators/base/src/project/File.ts similarity index 100% rename from generators/commons/src/project/File.ts rename to generators/base/src/project/File.ts diff --git a/generators/commons/src/project/index.ts b/generators/base/src/project/index.ts similarity index 100% rename from generators/commons/src/project/index.ts rename to generators/base/src/project/index.ts diff --git a/generators/commons/src/readme/AbstractReadmeSnippetBuilder.ts b/generators/base/src/readme/AbstractReadmeSnippetBuilder.ts similarity index 94% rename from generators/commons/src/readme/AbstractReadmeSnippetBuilder.ts rename to generators/base/src/readme/AbstractReadmeSnippetBuilder.ts index 4dd5ea484ee..bcfa9260246 100644 --- a/generators/commons/src/readme/AbstractReadmeSnippetBuilder.ts +++ b/generators/base/src/readme/AbstractReadmeSnippetBuilder.ts @@ -1,4 +1,4 @@ -import { FernGeneratorExec } from "../GeneratorNotificationService"; +import { FernGeneratorExec } from "@fern-api/browser-compatible-base-generator"; import { camelCase } from "lodash-es"; export abstract class AbstractReadmeSnippetBuilder { diff --git a/generators/commons/src/readme/index.ts b/generators/base/src/readme/index.ts similarity index 100% rename from generators/commons/src/readme/index.ts rename to generators/base/src/readme/index.ts diff --git a/generators/commons/src/reference/ReferenceConfigBuilder.ts b/generators/base/src/reference/ReferenceConfigBuilder.ts similarity index 100% rename from generators/commons/src/reference/ReferenceConfigBuilder.ts rename to generators/base/src/reference/ReferenceConfigBuilder.ts diff --git a/generators/commons/src/reference/index.ts b/generators/base/src/reference/index.ts similarity index 100% rename from generators/commons/src/reference/index.ts rename to generators/base/src/reference/index.ts diff --git a/generators/commons/src/utils/index.ts b/generators/base/src/utils/index.ts similarity index 50% rename from generators/commons/src/utils/index.ts rename to generators/base/src/utils/index.ts index 1cb2814d224..6dc87c18e48 100644 --- a/generators/commons/src/utils/index.ts +++ b/generators/base/src/utils/index.ts @@ -1,4 +1,2 @@ -export { getPackageName } from "./getPackageName"; -export { getSdkVersion } from "./getSdkVersion"; export { parseGeneratorConfig } from "./parseGeneratorConfig"; export { parseIR } from "./parseIR"; diff --git a/generators/commons/src/utils/parseGeneratorConfig.ts b/generators/base/src/utils/parseGeneratorConfig.ts similarity index 82% rename from generators/commons/src/utils/parseGeneratorConfig.ts rename to generators/base/src/utils/parseGeneratorConfig.ts index a12edbc242f..588dc33b94c 100644 --- a/generators/commons/src/utils/parseGeneratorConfig.ts +++ b/generators/base/src/utils/parseGeneratorConfig.ts @@ -1,5 +1,4 @@ -import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; -import * as GeneratorExecParsing from "@fern-fern/generator-exec-sdk/serialization"; +import { FernGeneratorExec, GeneratorExecParsing } from "@fern-api/browser-compatible-base-generator"; import { readFile } from "fs/promises"; export async function parseGeneratorConfig(pathToConfig: string): Promise { diff --git a/generators/commons/src/utils/parseIR.ts b/generators/base/src/utils/parseIR.ts similarity index 100% rename from generators/commons/src/utils/parseIR.ts rename to generators/base/src/utils/parseIR.ts diff --git a/generators/base/tsconfig.json b/generators/base/tsconfig.json new file mode 100644 index 00000000000..57aa1525fc2 --- /dev/null +++ b/generators/base/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../shared/tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], + "references": [ + { + "path": "../browser-compatible-base" + }, + { + "path": "../../packages/cli/logger" + }, + { + "path": "../../packages/commons/core-utils" + }, + { + "path": "../../packages/commons/fs-utils" + }, + { + "path": "../../packages/commons/logging-execa" + } + ] +} \ No newline at end of file diff --git a/generators/commons/vitest.config.ts b/generators/base/vitest.config.ts similarity index 100% rename from generators/commons/vitest.config.ts rename to generators/base/vitest.config.ts diff --git a/generators/browser-compatible-base/.depcheckrc.json b/generators/browser-compatible-base/.depcheckrc.json new file mode 100644 index 00000000000..a3a4f43188c --- /dev/null +++ b/generators/browser-compatible-base/.depcheckrc.json @@ -0,0 +1,10 @@ +{ + "ignores": [ + "@types/jest", + "globals", + "@types/node" + ], + "ignore-patterns": [ + "lib" + ] +} \ No newline at end of file diff --git a/generators/browser-compatible-base/.prettierrc.cjs b/generators/browser-compatible-base/.prettierrc.cjs new file mode 100644 index 00000000000..2b5cf5b0c04 --- /dev/null +++ b/generators/browser-compatible-base/.prettierrc.cjs @@ -0,0 +1 @@ +module.exports = require("../../.prettierrc.json"); diff --git a/generators/browser-compatible-base/package.json b/generators/browser-compatible-base/package.json new file mode 100644 index 00000000000..bc88e2f5f3d --- /dev/null +++ b/generators/browser-compatible-base/package.json @@ -0,0 +1,42 @@ +{ + "name": "@fern-api/browser-compatible-base-generator", + "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/fern-api/fern.git", + "directory": "generators/browser-compatible-base" + }, + "private": true, + "files": [ + "lib" + ], + "type": "module", + "source": "src/index.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "sideEffects": false, + "scripts": { + "clean": "rm -rf ./lib && tsc --build --clean", + "compile": "tsc --build", + "test": "vitest --passWithNoTests --run", + "test:update": "vitest --passWithNoTests --run -u", + "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../.eslintignore", + "lint:eslint:fix": "yarn lint:eslint --fix", + "format": "prettier --write --ignore-unknown --ignore-path ../../shared/.prettierignore \"**\"", + "format:check": "prettier --check --ignore-unknown --ignore-path ../../shared/.prettierignore \"**\"", + "organize-imports": "organize-imports-cli tsconfig.json", + "depcheck": "depcheck" + }, + "dependencies": { + "@fern-api/logger": "workspace:*", + "@fern-fern/generator-exec-sdk": "^0.0.898" + }, + "devDependencies": { + "depcheck": "^1.4.6", + "eslint": "^8.56.0", + "vitest": "^2.1.4", + "organize-imports-cli": "^0.10.0", + "prettier": "^2.7.1", + "typescript": "4.6.4" + } +} \ No newline at end of file diff --git a/generators/commons/src/AbstractGeneratorContext.ts b/generators/browser-compatible-base/src/AbstractGeneratorContext.ts similarity index 100% rename from generators/commons/src/AbstractGeneratorContext.ts rename to generators/browser-compatible-base/src/AbstractGeneratorContext.ts diff --git a/generators/commons/src/GeneratorNotificationService.ts b/generators/browser-compatible-base/src/GeneratorNotificationService.ts similarity index 100% rename from generators/commons/src/GeneratorNotificationService.ts rename to generators/browser-compatible-base/src/GeneratorNotificationService.ts diff --git a/generators/commons/src/ast/AbstractAstNode.ts b/generators/browser-compatible-base/src/ast/AbstractAstNode.ts similarity index 100% rename from generators/commons/src/ast/AbstractAstNode.ts rename to generators/browser-compatible-base/src/ast/AbstractAstNode.ts diff --git a/generators/commons/src/ast/AbstractFormatter.ts b/generators/browser-compatible-base/src/ast/AbstractFormatter.ts similarity index 100% rename from generators/commons/src/ast/AbstractFormatter.ts rename to generators/browser-compatible-base/src/ast/AbstractFormatter.ts diff --git a/generators/commons/src/ast/AbstractWriter.ts b/generators/browser-compatible-base/src/ast/AbstractWriter.ts similarity index 100% rename from generators/commons/src/ast/AbstractWriter.ts rename to generators/browser-compatible-base/src/ast/AbstractWriter.ts diff --git a/generators/commons/src/ast/Argument.ts b/generators/browser-compatible-base/src/ast/Argument.ts similarity index 100% rename from generators/commons/src/ast/Argument.ts rename to generators/browser-compatible-base/src/ast/Argument.ts diff --git a/generators/commons/src/ast/CodeBlock.ts b/generators/browser-compatible-base/src/ast/CodeBlock.ts similarity index 100% rename from generators/commons/src/ast/CodeBlock.ts rename to generators/browser-compatible-base/src/ast/CodeBlock.ts diff --git a/generators/commons/src/ast/Ternary.ts b/generators/browser-compatible-base/src/ast/Ternary.ts similarity index 100% rename from generators/commons/src/ast/Ternary.ts rename to generators/browser-compatible-base/src/ast/Ternary.ts diff --git a/generators/commons/src/ast/index.ts b/generators/browser-compatible-base/src/ast/index.ts similarity index 100% rename from generators/commons/src/ast/index.ts rename to generators/browser-compatible-base/src/ast/index.ts diff --git a/generators/commons/src/dynamic-snippets/AbstractDynamicSnippetsGenerator.ts b/generators/browser-compatible-base/src/dynamic-snippets/AbstractDynamicSnippetsGenerator.ts similarity index 100% rename from generators/commons/src/dynamic-snippets/AbstractDynamicSnippetsGenerator.ts rename to generators/browser-compatible-base/src/dynamic-snippets/AbstractDynamicSnippetsGenerator.ts diff --git a/generators/commons/src/dynamic-snippets/AbstractDynamicSnippetsGeneratorContext.ts b/generators/browser-compatible-base/src/dynamic-snippets/AbstractDynamicSnippetsGeneratorContext.ts similarity index 100% rename from generators/commons/src/dynamic-snippets/AbstractDynamicSnippetsGeneratorContext.ts rename to generators/browser-compatible-base/src/dynamic-snippets/AbstractDynamicSnippetsGeneratorContext.ts diff --git a/generators/commons/src/dynamic-snippets/index.ts b/generators/browser-compatible-base/src/dynamic-snippets/index.ts similarity index 100% rename from generators/commons/src/dynamic-snippets/index.ts rename to generators/browser-compatible-base/src/dynamic-snippets/index.ts diff --git a/generators/browser-compatible-base/src/index.ts b/generators/browser-compatible-base/src/index.ts new file mode 100644 index 00000000000..b978780b839 --- /dev/null +++ b/generators/browser-compatible-base/src/index.ts @@ -0,0 +1,5 @@ +export * from "./AbstractGeneratorContext"; +export * from "./GeneratorNotificationService"; +export * from "./ast"; +export * from "./utils"; +export * from "./dynamic-snippets"; diff --git a/generators/commons/src/utils/getPackageName.ts b/generators/browser-compatible-base/src/utils/getPackageName.ts similarity index 100% rename from generators/commons/src/utils/getPackageName.ts rename to generators/browser-compatible-base/src/utils/getPackageName.ts diff --git a/generators/commons/src/utils/getSdkVersion.ts b/generators/browser-compatible-base/src/utils/getSdkVersion.ts similarity index 100% rename from generators/commons/src/utils/getSdkVersion.ts rename to generators/browser-compatible-base/src/utils/getSdkVersion.ts diff --git a/generators/browser-compatible-base/src/utils/index.ts b/generators/browser-compatible-base/src/utils/index.ts new file mode 100644 index 00000000000..153c6f107b0 --- /dev/null +++ b/generators/browser-compatible-base/src/utils/index.ts @@ -0,0 +1,2 @@ +export { getPackageName } from "./getPackageName"; +export { getSdkVersion } from "./getSdkVersion"; diff --git a/generators/browser-compatible-base/tsconfig.json b/generators/browser-compatible-base/tsconfig.json new file mode 100644 index 00000000000..343cda0c5d1 --- /dev/null +++ b/generators/browser-compatible-base/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../shared/tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], + "references": [ + { + "path": "../../packages/cli/logger" + }, + { + "path": "../../packages/commons/core-utils" + }, + ] +} \ No newline at end of file diff --git a/generators/browser-compatible-base/vitest.config.ts b/generators/browser-compatible-base/vitest.config.ts new file mode 100644 index 00000000000..0652c358cb4 --- /dev/null +++ b/generators/browser-compatible-base/vitest.config.ts @@ -0,0 +1 @@ +export { default } from "../../shared/vitest.config"; diff --git a/generators/commons/tsconfig.json b/generators/commons/tsconfig.json deleted file mode 100644 index 5d331c2fe89..00000000000 --- a/generators/commons/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], - "references": [ - { "path": "../../packages/cli/logger" }, - { "path": "../../packages/commons/core-utils" }, - { "path": "../../packages/commons/fs-utils" }, - { "path": "../../packages/commons/logging-execa" } - ] -} diff --git a/generators/csharp/codegen/package.json b/generators/csharp/codegen/package.json index 6556d292a4a..d59aa71a078 100644 --- a/generators/csharp/codegen/package.json +++ b/generators/csharp/codegen/package.json @@ -29,7 +29,7 @@ "dependencies": { "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-fern/ir-sdk": "^53.18.0", "lodash-es": "^4.17.21", diff --git a/generators/csharp/codegen/src/FileGenerator.ts b/generators/csharp/codegen/src/FileGenerator.ts index 25b86fb4ead..7f5e8c45571 100644 --- a/generators/csharp/codegen/src/FileGenerator.ts +++ b/generators/csharp/codegen/src/FileGenerator.ts @@ -1,7 +1,7 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { AbstractCsharpGeneratorContext } from "./cli"; import { BaseCsharpCustomConfigSchema } from "./custom-config"; -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; export abstract class FileGenerator< GeneratedFile extends File, diff --git a/generators/csharp/codegen/src/asIs/test/EnumSerializerTests.Template.cs b/generators/csharp/codegen/src/asIs/test/EnumSerializerTests.Template.cs index ba021f2c82b..4d7f05154ea 100644 --- a/generators/csharp/codegen/src/asIs/test/EnumSerializerTests.Template.cs +++ b/generators/csharp/codegen/src/asIs/test/EnumSerializerTests.Template.cs @@ -38,7 +38,7 @@ public void ShouldSerializeKnownEnumValue2() { var json = JsonSerializer.SerializeToElement(new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/generators/csharp/codegen/src/asIs/test/StringEnumSerializerTests.Template.cs b/generators/csharp/codegen/src/asIs/test/StringEnumSerializerTests.Template.cs index fea7b3113f7..8ea286a1150 100644 --- a/generators/csharp/codegen/src/asIs/test/StringEnumSerializerTests.Template.cs +++ b/generators/csharp/codegen/src/asIs/test/StringEnumSerializerTests.Template.cs @@ -53,7 +53,7 @@ public void ShouldSerializeKnownEnumValue2() { var json = JsonSerializer.SerializeToElement(new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2)); @@ -64,7 +64,7 @@ public void ShouldSerializeUnknownEnum() { var json = JsonSerializer.SerializeToElement(new DummyObject { EnumProperty = UnknownEnumValue }, JsonOptions); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(UnknownEnumValue)); diff --git a/generators/csharp/codegen/src/asIs/test/Template.Test.csproj b/generators/csharp/codegen/src/asIs/test/Template.Test.csproj index 2b8f4d5d0a9..79750a6a8de 100644 --- a/generators/csharp/codegen/src/asIs/test/Template.Test.csproj +++ b/generators/csharp/codegen/src/asIs/test/Template.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/generators/csharp/codegen/src/ast/ClassInstantiation.ts b/generators/csharp/codegen/src/ast/ClassInstantiation.ts index 1d2652c7951..af2484b43a7 100644 --- a/generators/csharp/codegen/src/ast/ClassInstantiation.ts +++ b/generators/csharp/codegen/src/ast/ClassInstantiation.ts @@ -1,4 +1,4 @@ -import { Arguments, hasNamedArgument, isNamedArgument } from "@fern-api/generator-commons"; +import { Arguments, hasNamedArgument, isNamedArgument } from "@fern-api/base-generator"; import { ClassReference } from "./ClassReference"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/csharp/codegen/src/ast/CodeBlock.ts b/generators/csharp/codegen/src/ast/CodeBlock.ts index 5e2421b0cc2..951ae1090ab 100644 --- a/generators/csharp/codegen/src/ast/CodeBlock.ts +++ b/generators/csharp/codegen/src/ast/CodeBlock.ts @@ -1,4 +1,4 @@ -import { CodeBlock as CommonCodeBlock } from "@fern-api/generator-commons"; +import { CodeBlock as CommonCodeBlock } from "@fern-api/base-generator"; import { AstNode, Writer } from "../csharp"; export declare namespace CodeBlock { diff --git a/generators/csharp/codegen/src/ast/Dictionary.ts b/generators/csharp/codegen/src/ast/Dictionary.ts index 81801bf7cac..596273d4540 100644 --- a/generators/csharp/codegen/src/ast/Dictionary.ts +++ b/generators/csharp/codegen/src/ast/Dictionary.ts @@ -1,5 +1,5 @@ import { assertNever } from "@fern-api/core-utils"; -import { UnnamedArgument } from "@fern-api/generator-commons"; +import { UnnamedArgument } from "@fern-api/base-generator"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; import { Type } from "./Type"; diff --git a/generators/csharp/codegen/src/ast/Ternary.ts b/generators/csharp/codegen/src/ast/Ternary.ts index 2aee50d10b9..b5efa4ca54b 100644 --- a/generators/csharp/codegen/src/ast/Ternary.ts +++ b/generators/csharp/codegen/src/ast/Ternary.ts @@ -1,4 +1,4 @@ -import { Ternary as CommonTernary } from "@fern-api/generator-commons"; +import { Ternary as CommonTernary } from "@fern-api/base-generator"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/csharp/codegen/src/ast/core/AstNode.ts b/generators/csharp/codegen/src/ast/core/AstNode.ts index 4425661af89..051012f02f8 100644 --- a/generators/csharp/codegen/src/ast/core/AstNode.ts +++ b/generators/csharp/codegen/src/ast/core/AstNode.ts @@ -1,4 +1,4 @@ -import { AbstractAstNode } from "@fern-api/generator-commons"; +import { AbstractAstNode } from "@fern-api/base-generator"; import { execSync } from "child_process"; import { BaseCsharpCustomConfigSchema } from "../../custom-config"; import { Writer } from "./Writer"; diff --git a/generators/csharp/codegen/src/ast/core/Writer.ts b/generators/csharp/codegen/src/ast/core/Writer.ts index 67bfdaf61b8..f52568c94af 100644 --- a/generators/csharp/codegen/src/ast/core/Writer.ts +++ b/generators/csharp/codegen/src/ast/core/Writer.ts @@ -1,4 +1,4 @@ -import { AbstractWriter } from "@fern-api/generator-commons"; +import { AbstractWriter } from "@fern-api/base-generator"; import { ClassReference } from ".."; import { csharp } from "../.."; import { BaseCsharpCustomConfigSchema } from "../../custom-config"; diff --git a/generators/csharp/codegen/src/cli/AbstractCsharpGeneratorCli.ts b/generators/csharp/codegen/src/cli/AbstractCsharpGeneratorCli.ts index eec7bcf107d..d9e5bb32f3b 100644 --- a/generators/csharp/codegen/src/cli/AbstractCsharpGeneratorCli.ts +++ b/generators/csharp/codegen/src/cli/AbstractCsharpGeneratorCli.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { AbstractGeneratorCli, parseIR } from "@fern-api/generator-commons"; +import { AbstractGeneratorCli, parseIR } from "@fern-api/base-generator"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import * as IrSerialization from "@fern-fern/ir-sdk/serialization"; import { readFile } from "fs/promises"; diff --git a/generators/csharp/codegen/src/context/AbstractCsharpGeneratorContext.ts b/generators/csharp/codegen/src/context/AbstractCsharpGeneratorContext.ts index 81d1abf8e0d..916d3572d8e 100644 --- a/generators/csharp/codegen/src/context/AbstractCsharpGeneratorContext.ts +++ b/generators/csharp/codegen/src/context/AbstractCsharpGeneratorContext.ts @@ -1,5 +1,5 @@ import { join, RelativeFilePath } from "@fern-api/fs-utils"; -import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/base-generator"; import { FernFilepath, HttpHeader, diff --git a/generators/csharp/codegen/src/project/CSharpFile.ts b/generators/csharp/codegen/src/project/CSharpFile.ts index 1086b56ad13..cbb86962b8b 100644 --- a/generators/csharp/codegen/src/project/CSharpFile.ts +++ b/generators/csharp/codegen/src/project/CSharpFile.ts @@ -3,7 +3,7 @@ import { FernFilepath } from "@fern-fern/ir-sdk/api"; import path from "path"; import { Class, Enum, Interface } from "../ast"; import { BaseCsharpCustomConfigSchema } from "../custom-config"; -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; export type Namespace = string; diff --git a/generators/csharp/codegen/src/project/CsharpProject.ts b/generators/csharp/codegen/src/project/CsharpProject.ts index eec77719c8e..1d57d40e4e9 100644 --- a/generators/csharp/codegen/src/project/CsharpProject.ts +++ b/generators/csharp/codegen/src/project/CsharpProject.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; -import { SourceFetcher, File, AbstractProject, FernGeneratorExec } from "@fern-api/generator-commons"; +import { SourceFetcher, File, AbstractProject, FernGeneratorExec } from "@fern-api/base-generator"; import { loggingExeca } from "@fern-api/logging-execa"; import { mkdir, readFile, writeFile } from "fs/promises"; import { template } from "lodash-es"; @@ -504,23 +504,8 @@ class CsProj { ${projectGroup.join("\n")} - - true - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - + @@ -544,9 +529,17 @@ ${this.getAdditionalItemGroups().join(`\n${FOUR_SPACES}`)} private getDependencies(): string[] { const result: string[] = []; - result.push(''); - result.push(''); + result.push(''); + result.push( + `${FOUR_SPACES}runtime; build; native; contentfiles; analyzers; buildtransitive` + ); + result.push(`${FOUR_SPACES}all`); + result.push(""); + result.push(''); + result.push(''); result.push(''); + result.push(''); + result.push(''); for (const [name, version] of Object.entries(this.context.getExtraDependencies())) { result.push(``); } @@ -599,7 +592,6 @@ ${this.getAdditionalItemGroups().join(`\n${FOUR_SPACES}`)} `${FOUR_SPACES}${FOUR_SPACES}net462;net8.0;net7.0;net6.0;netstandard2.0` ); result.push(`${FOUR_SPACES}${FOUR_SPACES}enable`); - result.push(`${FOUR_SPACES}${FOUR_SPACES}false`); result.push(`${FOUR_SPACES}${FOUR_SPACES}12`); result.push(`${FOUR_SPACES}${FOUR_SPACES}enable`); @@ -638,6 +630,7 @@ ${this.getAdditionalItemGroups().join(`\n${FOUR_SPACES}`)} if (this.githubUrl != null) { result.push(`${this.githubUrl}`); } + result.push("true"); return result; } diff --git a/generators/csharp/codegen/src/project/PrebuiltUtilities.ts b/generators/csharp/codegen/src/project/PrebuiltUtilities.ts index 2bcd6dbca0c..765f9120c86 100644 --- a/generators/csharp/codegen/src/project/PrebuiltUtilities.ts +++ b/generators/csharp/codegen/src/project/PrebuiltUtilities.ts @@ -1,7 +1,7 @@ import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; import { readFile } from "fs/promises"; import { Annotation, ClassReference } from "../ast"; -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; export class PrebuiltUtilities { private utilitiesDirectory = RelativeFilePath.of("Utilities"); diff --git a/generators/csharp/codegen/tsconfig.json b/generators/csharp/codegen/tsconfig.json index 816c55164d8..d88e84c5ae9 100644 --- a/generators/csharp/codegen/tsconfig.json +++ b/generators/csharp/codegen/tsconfig.json @@ -6,6 +6,6 @@ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" } + { "path": "../../base" } ] } diff --git a/generators/csharp/model/package.json b/generators/csharp/model/package.json index 5be5e323a5a..b6de5a813c8 100644 --- a/generators/csharp/model/package.json +++ b/generators/csharp/model/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@fern-api/csharp-codegen": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-fern/ir-sdk": "^53.18.0", "zod": "^3.22.3", "@types/jest": "^29.5.12", diff --git a/generators/csharp/model/src/ModelGeneratorCli.ts b/generators/csharp/model/src/ModelGeneratorCli.ts index 87e94655259..e8384e04f48 100644 --- a/generators/csharp/model/src/ModelGeneratorCli.ts +++ b/generators/csharp/model/src/ModelGeneratorCli.ts @@ -1,5 +1,5 @@ import { AbstractCsharpGeneratorCli, validateReadOnlyMemoryTypes } from "@fern-api/csharp-codegen"; -import { FernGeneratorExec, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { FernGeneratorExec, GeneratorNotificationService } from "@fern-api/base-generator"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { generateModels } from "./generateModels"; import { generateWellKnownProtobufFiles } from "./generateWellKnownProtobufFiles"; diff --git a/generators/csharp/model/tsconfig.json b/generators/csharp/model/tsconfig.json index 6d607d88e95..eb309edcc38 100644 --- a/generators/csharp/model/tsconfig.json +++ b/generators/csharp/model/tsconfig.json @@ -4,7 +4,7 @@ "include": ["./src/**/*"], "references": [ { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../codegen" } ] } diff --git a/generators/csharp/playground/.gitignore b/generators/csharp/playground/.gitignore deleted file mode 100644 index 1f3e5c288d5..00000000000 --- a/generators/csharp/playground/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# User specific -**/.idea/**/workspace.xml -**/.idea/**/tasks.xml -**/.idea/shelf/* -**/.idea/dictionaries -**/.idea/httpRequests/ - -# Sensitive or high-churn files -**/.idea/**/dataSources/ -**/.idea/**/dataSources.ids -**/.idea/**/dataSources.xml -**/.idea/**/dataSources.local.xml -**/.idea/**/sqlDataSources.xml -**/.idea/**/dynamic.xml - -# Rider -# Rider auto-generates .iml files, and contentModel.xml -**/.idea/**/*.iml -**/.idea/**/contentModel.xml -**/.idea/**/modules.xml - -*.suo -*.user -.vs/ -[Bb]in/ -[Oo]bj/ -_UpgradeReport_Files/ -[Pp]ackages/ - -Thumbs.db -Desktop.ini -.DS_Store \ No newline at end of file diff --git a/generators/csharp/playground/Playground.Test/GlobalUsings.cs b/generators/csharp/playground/Playground.Test/GlobalUsings.cs deleted file mode 100644 index 8c927eb747a..00000000000 --- a/generators/csharp/playground/Playground.Test/GlobalUsings.cs +++ /dev/null @@ -1 +0,0 @@ -global using Xunit; \ No newline at end of file diff --git a/generators/csharp/playground/Playground.Test/Playground.Test.csproj b/generators/csharp/playground/Playground.Test/Playground.Test.csproj deleted file mode 100644 index 22b0134dbdf..00000000000 --- a/generators/csharp/playground/Playground.Test/Playground.Test.csproj +++ /dev/null @@ -1,25 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - diff --git a/generators/csharp/playground/Playground.Test/UnitTest1.cs b/generators/csharp/playground/Playground.Test/UnitTest1.cs deleted file mode 100644 index 30cdcf19479..00000000000 --- a/generators/csharp/playground/Playground.Test/UnitTest1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Playground.Test; - -public class UnitTest1 -{ - [Fact] - public void Test1() - { - - } -} \ No newline at end of file diff --git a/generators/csharp/playground/Playground/Playground.csproj b/generators/csharp/playground/Playground/Playground.csproj deleted file mode 100644 index 2150e3797ba..00000000000 --- a/generators/csharp/playground/Playground/Playground.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - Exe - net8.0 - enable - enable - - - diff --git a/generators/csharp/playground/Playground/Program.cs b/generators/csharp/playground/Playground/Program.cs deleted file mode 100644 index 3751555cbd3..00000000000 --- a/generators/csharp/playground/Playground/Program.cs +++ /dev/null @@ -1,2 +0,0 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!"); diff --git a/generators/csharp/sdk/package.json b/generators/csharp/sdk/package.json index b8e08fe09d8..2f594af6f8e 100644 --- a/generators/csharp/sdk/package.json +++ b/generators/csharp/sdk/package.json @@ -34,7 +34,7 @@ "@fern-api/csharp-codegen": "workspace:*", "@fern-api/fern-csharp-model": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logger": "workspace:*", "@fern-fern/generator-cli-sdk": "0.0.17", "@fern-fern/generator-exec-sdk": "^0.0.898", diff --git a/generators/csharp/sdk/src/CsharpGeneratorAgent.ts b/generators/csharp/sdk/src/CsharpGeneratorAgent.ts index 7023ffae92b..708d4eb9f95 100644 --- a/generators/csharp/sdk/src/CsharpGeneratorAgent.ts +++ b/generators/csharp/sdk/src/CsharpGeneratorAgent.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorAgent } from "@fern-api/generator-commons"; +import { AbstractGeneratorAgent } from "@fern-api/base-generator"; import { Logger } from "@fern-api/logger"; import { FernGeneratorCli } from "@fern-fern/generator-cli-sdk"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; diff --git a/generators/csharp/sdk/src/SdkGeneratorCli.ts b/generators/csharp/sdk/src/SdkGeneratorCli.ts index 034a65974d5..e2f7dba7761 100644 --- a/generators/csharp/sdk/src/SdkGeneratorCli.ts +++ b/generators/csharp/sdk/src/SdkGeneratorCli.ts @@ -5,7 +5,7 @@ import { generateWellKnownProtobufFiles, generateVersion } from "@fern-api/fern-csharp-model"; -import { File, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { File, GeneratorNotificationService } from "@fern-api/base-generator"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { HttpService, IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { writeFile } from "fs/promises"; diff --git a/generators/csharp/sdk/src/SdkGeneratorContext.ts b/generators/csharp/sdk/src/SdkGeneratorContext.ts index f5cf228c328..23b9cffd14d 100644 --- a/generators/csharp/sdk/src/SdkGeneratorContext.ts +++ b/generators/csharp/sdk/src/SdkGeneratorContext.ts @@ -1,6 +1,6 @@ import { AbstractCsharpGeneratorContext, AsIsFiles, csharp } from "@fern-api/csharp-codegen"; import { RelativeFilePath } from "@fern-api/fs-utils"; -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { DeclaredErrorName, diff --git a/generators/csharp/sdk/src/endpoint/http/RawClient.ts b/generators/csharp/sdk/src/endpoint/http/RawClient.ts index 02a1e37d826..ddb3080ec3e 100644 --- a/generators/csharp/sdk/src/endpoint/http/RawClient.ts +++ b/generators/csharp/sdk/src/endpoint/http/RawClient.ts @@ -1,4 +1,4 @@ -import { Arguments } from "@fern-api/generator-commons"; +import { Arguments } from "@fern-api/base-generator"; import { csharp } from "@fern-api/csharp-codegen"; import { HttpEndpoint, HttpMethod } from "@fern-fern/ir-sdk/api"; import { SdkGeneratorContext } from "../../SdkGeneratorContext"; diff --git a/generators/csharp/sdk/src/readme/ReadmeSnippetBuilder.ts b/generators/csharp/sdk/src/readme/ReadmeSnippetBuilder.ts index b79851d69c3..9b043910720 100644 --- a/generators/csharp/sdk/src/readme/ReadmeSnippetBuilder.ts +++ b/generators/csharp/sdk/src/readme/ReadmeSnippetBuilder.ts @@ -2,7 +2,7 @@ import { FernGeneratorCli } from "@fern-fern/generator-cli-sdk"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { EndpointId, FeatureId, FernFilepath, HttpEndpoint } from "@fern-fern/ir-sdk/api"; import { SdkGeneratorContext } from "../SdkGeneratorContext"; -import { AbstractReadmeSnippetBuilder } from "@fern-api/generator-commons"; +import { AbstractReadmeSnippetBuilder } from "@fern-api/base-generator"; import { EndpointSnippetsGenerator } from "../endpoint/snippets/EndpointSnippetsGenerator"; interface EndpointWithFilepath { diff --git a/generators/csharp/sdk/src/reference/buildReference.ts b/generators/csharp/sdk/src/reference/buildReference.ts index 3ab6b5c5621..c411f68ca18 100644 --- a/generators/csharp/sdk/src/reference/buildReference.ts +++ b/generators/csharp/sdk/src/reference/buildReference.ts @@ -1,4 +1,4 @@ -import { ReferenceConfigBuilder } from "@fern-api/generator-commons"; +import { ReferenceConfigBuilder } from "@fern-api/base-generator"; import { FernGeneratorCli } from "@fern-fern/generator-cli-sdk"; import { HttpEndpoint, HttpService, ServiceId } from "@fern-fern/ir-sdk/api"; import { EndpointSignatureInfo } from "../endpoint/EndpointSignatureInfo"; diff --git a/generators/csharp/sdk/src/test-generation/mock-server/BaseMockServerTestGenerator.ts b/generators/csharp/sdk/src/test-generation/mock-server/BaseMockServerTestGenerator.ts index 7d25429181b..3a97c742112 100644 --- a/generators/csharp/sdk/src/test-generation/mock-server/BaseMockServerTestGenerator.ts +++ b/generators/csharp/sdk/src/test-generation/mock-server/BaseMockServerTestGenerator.ts @@ -149,6 +149,7 @@ export class BaseMockServerTestGenerator extends FileGenerator { writer.writeLine("Server.Stop();"); + writer.writeLine("Server.Dispose();"); }), isAsync: false, parameters: [], diff --git a/generators/csharp/sdk/tsconfig.json b/generators/csharp/sdk/tsconfig.json index 8d71586d0de..3144b142812 100644 --- a/generators/csharp/sdk/tsconfig.json +++ b/generators/csharp/sdk/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../codegen" }, { "path": "../model" } ] diff --git a/generators/csharp/sdk/versions.yml b/generators/csharp/sdk/versions.yml index b3185103fb2..35940573cb5 100644 --- a/generators/csharp/sdk/versions.yml +++ b/generators/csharp/sdk/versions.yml @@ -6,6 +6,20 @@ # The C# SDK now uses forward-compatible enums which are not compatible with the previously generated enums. # Set `enable-forward-compatible-enums` to `false` in the configuration to generate the old enums. # irVersion: 53 +- version: 1.9.11 + createdAt: "2024-11-25" + changelogEntry: + - type: feat + summary: | + Add two dependencies who previously were transitive dependencies to ensure the generated SDKs use the patched versions without vulnerabilities. + - `System.Net.Http` >= `4.3.4` + - `System.Text.RegularExpressions` >= `4.3.1` + Update other dependencies to the latest version: + - `Portable.System.DateTimeOnly` = `8.0.2` (on net462 & netstandard2.0) + - `PolySharp` = `1.15.0` + - `OneOf` = `3.0.271` + - `OneOf.Extended` = `3.0.271` + irVersion: 53 - version: 1.9.10 createdAt: "2024-11-20" changelogEntry: diff --git a/generators/go-v2/ast/package.json b/generators/go-v2/ast/package.json index 1f5fb434e41..19585d823df 100644 --- a/generators/go-v2/ast/package.json +++ b/generators/go-v2/ast/package.json @@ -27,18 +27,18 @@ "depcheck": "depcheck" }, "dependencies": { + "@fern-api/browser-compatible-base-generator": "workspace:*", "@fern-api/core-utils": "workspace:*", - "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/path-utils": "workspace:*", "@fern-fern/ir-sdk": "^53.21.0", "zod": "^3.22.3" }, "devDependencies": { - "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/browser-compatible-base-generator": "workspace:*", + "@fern-api/core-utils": "workspace:*", + "@fern-api/path-utils": "workspace:*", "@fern-fern/ir-sdk": "^53.21.0", "@types/jest": "^29.5.12", - "@types/node": "^18.7.18", "depcheck": "^1.4.6", "eslint": "^8.56.0", "organize-imports-cli": "^0.10.0", diff --git a/generators/go-v2/ast/src/ast/CodeBlock.ts b/generators/go-v2/ast/src/ast/CodeBlock.ts index cbd4d7fbb7d..4f36f8efffe 100644 --- a/generators/go-v2/ast/src/ast/CodeBlock.ts +++ b/generators/go-v2/ast/src/ast/CodeBlock.ts @@ -1,4 +1,4 @@ -import { CodeBlock as CommonCodeBlock } from "@fern-api/generator-commons"; +import { CodeBlock as CommonCodeBlock } from "@fern-api/browser-compatible-base-generator"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/go-v2/ast/src/ast/Func.ts b/generators/go-v2/ast/src/ast/Func.ts index 586a43c35ee..994ecd97f51 100644 --- a/generators/go-v2/ast/src/ast/Func.ts +++ b/generators/go-v2/ast/src/ast/Func.ts @@ -1,5 +1,3 @@ -import { GoTypeReference } from "./GoTypeReference"; -import { Comment } from "./Comment"; import { CodeBlock } from "./CodeBlock"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/go-v2/ast/src/ast/MethodInvocation.ts b/generators/go-v2/ast/src/ast/MethodInvocation.ts index 0617ed3e35f..ef11c896cde 100644 --- a/generators/go-v2/ast/src/ast/MethodInvocation.ts +++ b/generators/go-v2/ast/src/ast/MethodInvocation.ts @@ -1,5 +1,4 @@ import { AstNode } from "./core/AstNode"; -import { UnnamedArgument } from "@fern-api/generator-commons"; import { Writer } from "./core/Writer"; import { writeArguments } from "./utils/writeArguments"; diff --git a/generators/go-v2/ast/src/ast/Struct.ts b/generators/go-v2/ast/src/ast/Struct.ts index 09e3b959406..6140c7c54a1 100644 --- a/generators/go-v2/ast/src/ast/Struct.ts +++ b/generators/go-v2/ast/src/ast/Struct.ts @@ -1,7 +1,5 @@ import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; -import { CodeBlock } from "./CodeBlock"; -import { Parameter } from "./Parameter"; import { Field } from "./Field"; import { Method } from "./Method"; import { Comment } from "./Comment"; diff --git a/generators/go-v2/ast/src/ast/core/AstNode.ts b/generators/go-v2/ast/src/ast/core/AstNode.ts index 335bc0ff3ad..74eaee40c35 100644 --- a/generators/go-v2/ast/src/ast/core/AstNode.ts +++ b/generators/go-v2/ast/src/ast/core/AstNode.ts @@ -1,4 +1,4 @@ -import { AbstractAstNode, AbstractFormatter } from "@fern-api/generator-commons"; +import { AbstractAstNode, AbstractFormatter } from "@fern-api/browser-compatible-base-generator"; import { BaseGoCustomConfigSchema } from "../../custom-config/BaseGoCustomConfigSchema"; import { GoFile } from "./GoFile"; diff --git a/generators/go-v2/ast/src/ast/core/Writer.ts b/generators/go-v2/ast/src/ast/core/Writer.ts index 8c8d84bf80e..ae572bb06cf 100644 --- a/generators/go-v2/ast/src/ast/core/Writer.ts +++ b/generators/go-v2/ast/src/ast/core/Writer.ts @@ -1,7 +1,6 @@ -import { AbstractWriter, NopFormatter } from "@fern-api/generator-commons"; +import { AbstractFormatter, AbstractWriter, NopFormatter } from "@fern-api/browser-compatible-base-generator"; import { BaseGoCustomConfigSchema } from "../../custom-config/BaseGoCustomConfigSchema"; -import path from "path"; -import { AbstractFormatter } from "@fern-api/generator-commons"; +import { basename } from "@fern-api/path-utils"; type Alias = string; type ImportPath = string; @@ -59,7 +58,7 @@ export class Writer extends AbstractWriter { if (maybeAlias != null) { return maybeAlias; } - let alias = this.getValidAlias(path.basename(importPath)); + let alias = this.getValidAlias(basename(importPath)); while (alias in this.imports) { alias = "_" + alias; } diff --git a/generators/go-v2/ast/src/ast/utils/writeArguments.ts b/generators/go-v2/ast/src/ast/utils/writeArguments.ts index bc2cf498202..83fdaf38d18 100644 --- a/generators/go-v2/ast/src/ast/utils/writeArguments.ts +++ b/generators/go-v2/ast/src/ast/utils/writeArguments.ts @@ -1,4 +1,4 @@ -import { Argument, Arguments, isNamedArgument } from "@fern-api/generator-commons"; +import { Argument, Arguments, isNamedArgument } from "@fern-api/browser-compatible-base-generator"; import { Writer } from "../core/Writer"; import { TypeInstantiation } from "../TypeInstantiation"; diff --git a/generators/go-v2/ast/src/context/AbstractGoGeneratorContext.ts b/generators/go-v2/ast/src/context/AbstractGoGeneratorContext.ts index c2150433deb..260a8b1319d 100644 --- a/generators/go-v2/ast/src/context/AbstractGoGeneratorContext.ts +++ b/generators/go-v2/ast/src/context/AbstractGoGeneratorContext.ts @@ -1,4 +1,8 @@ -import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { + AbstractGeneratorContext, + FernGeneratorExec, + GeneratorNotificationService +} from "@fern-api/browser-compatible-base-generator"; import { IntermediateRepresentation, Literal, @@ -13,10 +17,11 @@ import { } from "@fern-fern/ir-sdk/api"; import { BaseGoCustomConfigSchema } from "../custom-config/BaseGoCustomConfigSchema"; import { GoTypeMapper } from "./GoTypeMapper"; -import { RelativeFilePath } from "@fern-api/fs-utils"; +import { RelativeFilePath } from "@fern-api/path-utils"; import { go } from ".."; import { TimeTypeReference, UuidTypeReference } from "../ast/Type"; import { resolveRootImportPath } from "../custom-config/resolveRootImportPath"; + export interface FileLocation { importPath: string; directory: RelativeFilePath; diff --git a/generators/go-v2/ast/src/custom-config/resolveRootImportPath.ts b/generators/go-v2/ast/src/custom-config/resolveRootImportPath.ts index d7e380c5359..2e7ee7d6662 100644 --- a/generators/go-v2/ast/src/custom-config/resolveRootImportPath.ts +++ b/generators/go-v2/ast/src/custom-config/resolveRootImportPath.ts @@ -1,5 +1,5 @@ -import { FernGeneratorExec } from "@fern-api/generator-commons"; -import path from "path"; +import { FernGeneratorExec } from "@fern-api/browser-compatible-base-generator"; +import { basename } from "@fern-api/path-utils"; import { BaseGoCustomConfigSchema } from "./BaseGoCustomConfigSchema"; const DEFAULT_MODULE_PATH = "sdk"; @@ -65,7 +65,7 @@ function maybeAppendMajorVersionSuffix({ importPath: string; majorVersion: string; }): string { - if (path.basename(importPath) === majorVersion) { + if (basename(importPath) === majorVersion) { return importPath; } return `${importPath}/${majorVersion}`; diff --git a/generators/go-v2/ast/src/index.ts b/generators/go-v2/ast/src/index.ts index 20c51499aec..f5c4113a0d8 100644 --- a/generators/go-v2/ast/src/index.ts +++ b/generators/go-v2/ast/src/index.ts @@ -1,5 +1,4 @@ export { AbstractGoGeneratorContext, type FileLocation } from "./context/AbstractGoGeneratorContext"; export { BaseGoCustomConfigSchema } from "./custom-config/BaseGoCustomConfigSchema"; export { resolveRootImportPath } from "./custom-config/resolveRootImportPath"; -export { FileGenerator } from "./FileGenerator"; export * as go from "./go"; diff --git a/generators/go-v2/ast/tsconfig.json b/generators/go-v2/ast/tsconfig.json index 816c55164d8..bf6025c888c 100644 --- a/generators/go-v2/ast/tsconfig.json +++ b/generators/go-v2/ast/tsconfig.json @@ -1,11 +1,22 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../../packages/commons/core-utils" }, - { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" } + { + "path": "../../../packages/commons/core-utils" + }, + { + "path": "../../../packages/commons/path-utils" + }, + { + "path": "../../browser-compatible-base" + } ] -} +} \ No newline at end of file diff --git a/generators/go-v2/base/package.json b/generators/go-v2/base/package.json index 0df18d86270..1c9e98c100e 100644 --- a/generators/go-v2/base/package.json +++ b/generators/go-v2/base/package.json @@ -30,6 +30,9 @@ "dockerTagLatest": "pnpm dist:cli && docker build -f ./Dockerfile -t fernapi/fern-go-model:latest ../../.." }, "devDependencies": { + "@fern-api/base-generator": "workspace:*", + "@fern-api/fs-utils": "workspace:*", + "@fern-api/go-ast": "workspace:*", "@types/node": "18.7.18", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14", "depcheck": "^1.4.6", diff --git a/generators/go-v2/ast/src/FileGenerator.ts b/generators/go-v2/base/src/FileGenerator.ts similarity index 71% rename from generators/go-v2/ast/src/FileGenerator.ts rename to generators/go-v2/base/src/FileGenerator.ts index 11a52c825fa..762d9b6723e 100644 --- a/generators/go-v2/ast/src/FileGenerator.ts +++ b/generators/go-v2/base/src/FileGenerator.ts @@ -1,7 +1,6 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; -import { AbstractGoGeneratorContext } from "./context/AbstractGoGeneratorContext"; -import { BaseGoCustomConfigSchema } from "./custom-config/BaseGoCustomConfigSchema"; -import { File } from "@fern-api/generator-commons"; +import { AbstractGoGeneratorContext, BaseGoCustomConfigSchema } from "@fern-api/go-ast"; +import { File } from "@fern-api/base-generator"; export abstract class FileGenerator< GeneratedFile extends File, diff --git a/generators/go-v2/base/tsconfig.json b/generators/go-v2/base/tsconfig.json index ae5d385f7a1..bf5606fd22c 100644 --- a/generators/go-v2/base/tsconfig.json +++ b/generators/go-v2/base/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" } ] } diff --git a/generators/go-v2/dynamic-snippets/package.json b/generators/go-v2/dynamic-snippets/package.json index a17c105e426..8882f280165 100644 --- a/generators/go-v2/dynamic-snippets/package.json +++ b/generators/go-v2/dynamic-snippets/package.json @@ -28,15 +28,14 @@ "dist": "pnpm compile && node build.cjs" }, "devDependencies": { + "@fern-api/browser-compatible-base-generator": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fern-definition-schema": "workspace:*", - "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", "@fern-api/go-ast": "workspace:*", "@fern-api/go-formatter": "workspace:*", + "@fern-api/path-utils": "workspace:*", "@fern-fern/ir-sdk": "^53.21.0", "@types/jest": "^29.5.12", - "@types/node": "^18.7.18", "depcheck": "^1.4.6", "eslint": "^8.56.0", "organize-imports-cli": "^0.10.0", diff --git a/generators/go-v2/dynamic-snippets/src/DynamicSnippetsGenerator.ts b/generators/go-v2/dynamic-snippets/src/DynamicSnippetsGenerator.ts index ea296f9c4aa..c900b3c41c4 100644 --- a/generators/go-v2/dynamic-snippets/src/DynamicSnippetsGenerator.ts +++ b/generators/go-v2/dynamic-snippets/src/DynamicSnippetsGenerator.ts @@ -1,4 +1,8 @@ -import { AbstractDynamicSnippetsGenerator, AbstractFormatter, FernGeneratorExec } from "@fern-api/generator-commons"; +import { + AbstractDynamicSnippetsGenerator, + AbstractFormatter, + FernGeneratorExec +} from "@fern-api/browser-compatible-base-generator"; import { go } from "@fern-api/go-ast"; import { DynamicSnippetsGeneratorContext } from "./context/DynamicSnippetsGeneratorContext"; import { dynamic as DynamicSnippets } from "@fern-fern/ir-sdk/api"; diff --git a/generators/go-v2/dynamic-snippets/src/TypeInstance.ts b/generators/go-v2/dynamic-snippets/src/TypeInstance.ts index 85589b9dba9..585e1394d19 100644 --- a/generators/go-v2/dynamic-snippets/src/TypeInstance.ts +++ b/generators/go-v2/dynamic-snippets/src/TypeInstance.ts @@ -1,5 +1,4 @@ -import { NameAndWireValue } from "@fern-fern/ir-sdk/api"; -import { dynamic as DynamicSnippets } from "@fern-fern/ir-sdk/api"; +import { NameAndWireValue, dynamic as DynamicSnippets } from "@fern-fern/ir-sdk/api"; /** * A type instance that can be converted into a language-specific AST node. diff --git a/generators/go-v2/dynamic-snippets/src/__test__/examples.test.ts b/generators/go-v2/dynamic-snippets/src/__test__/examples.test.ts index bb69719ef00..1d418078939 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/examples.test.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/examples.test.ts @@ -1,8 +1,8 @@ import { buildDynamicSnippetsGenerator } from "./utils/buildDynamicSnippetsGenerator"; -import { join, RelativeFilePath } from "@fern-api/fs-utils"; import { DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY } from "./utils/constant"; import { buildGeneratorConfig } from "./utils/buildGeneratorConfig"; import { AuthValues } from "@fern-fern/ir-sdk/api/resources/dynamic"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; import { TestCase } from "./utils/TestCase"; describe("examples", () => { @@ -105,7 +105,7 @@ describe("examples", () => { } ]; const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("examples.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/examples.json`), config: buildGeneratorConfig() }); test.each(testCases)("$description", async ({ giveRequest }) => { @@ -117,7 +117,7 @@ describe("examples", () => { describe("examples (errors)", () => { it("invalid request body", async () => { const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("examples.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/examples.json`), config: buildGeneratorConfig() }); const response = await generator.generate({ diff --git a/generators/go-v2/dynamic-snippets/src/__test__/exhaustive.test.ts b/generators/go-v2/dynamic-snippets/src/__test__/exhaustive.test.ts index f7495626497..c1df36b203e 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/exhaustive.test.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/exhaustive.test.ts @@ -1,8 +1,8 @@ import { buildDynamicSnippetsGenerator } from "./utils/buildDynamicSnippetsGenerator"; -import { join, RelativeFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; import { DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY } from "./utils/constant"; import { buildGeneratorConfig } from "./utils/buildGeneratorConfig"; -import { AuthValues } from "@fern-fern/ir-sdk/api/resources/dynamic"; +import { dynamic } from "@fern-fern/ir-sdk/api"; import { TestCase } from "./utils/TestCase"; describe("exhaustive", () => { @@ -14,7 +14,7 @@ describe("exhaustive", () => { method: "POST", path: "/container/list-of-primitives" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: undefined, @@ -30,7 +30,7 @@ describe("exhaustive", () => { method: "POST", path: "/container/list-of-objects" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: undefined, @@ -51,7 +51,7 @@ describe("exhaustive", () => { } ]; const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("exhaustive.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/exhaustive.json`), config: buildGeneratorConfig() }); test.each(testCases)("$description", async ({ giveRequest }) => { @@ -63,7 +63,7 @@ describe("exhaustive", () => { describe("exhaustive (errors)", () => { it("invalid request body", async () => { const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("exhaustive.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/exhaustive.json`), config: buildGeneratorConfig() }); const response = await generator.generate({ @@ -71,7 +71,7 @@ describe("exhaustive (errors)", () => { method: "POST", path: "/container/list-of-objects" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: undefined, diff --git a/generators/go-v2/dynamic-snippets/src/__test__/file-upload.test.ts b/generators/go-v2/dynamic-snippets/src/__test__/file-upload.test.ts index 1e5fb31d1dc..33881fc1c78 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/file-upload.test.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/file-upload.test.ts @@ -1,8 +1,8 @@ import { buildDynamicSnippetsGenerator } from "./utils/buildDynamicSnippetsGenerator"; -import { join, RelativeFilePath } from "@fern-api/fs-utils"; import { DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY } from "./utils/constant"; import { buildGeneratorConfig } from "./utils/buildGeneratorConfig"; import { TestCase } from "./utils/TestCase"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; describe("file-upload (success)", () => { const testCases: TestCase[] = [ @@ -60,7 +60,7 @@ describe("file-upload (success)", () => { } ]; const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("file-upload.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/file-upload.json`), config: buildGeneratorConfig() }); test.each(testCases)("$description", async ({ giveRequest }) => { diff --git a/generators/go-v2/dynamic-snippets/src/__test__/imdb.test.ts b/generators/go-v2/dynamic-snippets/src/__test__/imdb.test.ts index 3a47c55dbb2..53ecbd5806e 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/imdb.test.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/imdb.test.ts @@ -1,9 +1,9 @@ import { buildDynamicSnippetsGenerator } from "./utils/buildDynamicSnippetsGenerator"; -import { join, RelativeFilePath } from "@fern-api/fs-utils"; import { DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY } from "./utils/constant"; import { buildGeneratorConfig } from "./utils/buildGeneratorConfig"; -import { AuthValues } from "@fern-fern/ir-sdk/api/resources/dynamic"; +import { dynamic } from "@fern-fern/ir-sdk/api"; import { TestCase } from "./utils/TestCase"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; describe("imdb (success)", () => { const testCases: TestCase[] = [ @@ -14,7 +14,7 @@ describe("imdb (success)", () => { method: "GET", path: "/movies/{movieId}" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: { @@ -32,7 +32,7 @@ describe("imdb (success)", () => { method: "POST", path: "/movies/create-movie" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: undefined, @@ -46,7 +46,7 @@ describe("imdb (success)", () => { } ]; const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("imdb.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/imdb.json`), config: buildGeneratorConfig() }); test.each(testCases)("$description", async ({ giveRequest }) => { @@ -58,7 +58,7 @@ describe("imdb (success)", () => { describe("imdb (errors)", () => { it("invalid path parameter", async () => { const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("imdb.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/imdb.json`), config: buildGeneratorConfig() }); const response = await generator.generate({ @@ -66,7 +66,7 @@ describe("imdb (errors)", () => { method: "GET", path: "/movies/{movieId}" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: { @@ -81,7 +81,7 @@ describe("imdb (errors)", () => { it("invalid request body", async () => { const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("imdb.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/imdb.json`), config: buildGeneratorConfig() }); const response = await generator.generate({ @@ -89,7 +89,7 @@ describe("imdb (errors)", () => { method: "POST", path: "/movies/create-movie" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: undefined, @@ -105,7 +105,7 @@ describe("imdb (errors)", () => { it("invalid request body property type", async () => { const generator = buildDynamicSnippetsGenerator({ - irFilepath: join(DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY, RelativeFilePath.of("imdb.json")), + irFilepath: AbsoluteFilePath.of(`${DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY}/imdb.json`), config: buildGeneratorConfig() }); const response = await generator.generate({ @@ -113,7 +113,7 @@ describe("imdb (errors)", () => { method: "POST", path: "/movies/create-movie" }, - auth: AuthValues.bearer({ + auth: dynamic.AuthValues.bearer({ token: "" }), pathParameters: undefined, diff --git a/generators/go-v2/dynamic-snippets/src/__test__/utils/buildDynamicSnippetsGenerator.ts b/generators/go-v2/dynamic-snippets/src/__test__/utils/buildDynamicSnippetsGenerator.ts index d82d2dbf3a4..8b47ac5517d 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/utils/buildDynamicSnippetsGenerator.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/utils/buildDynamicSnippetsGenerator.ts @@ -1,8 +1,8 @@ -import { AbsoluteFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; import { DynamicSnippetsGenerator } from "../../DynamicSnippetsGenerator"; -import { FernGeneratorExec } from "@fern-api/generator-commons"; +import { FernGeneratorExec } from "@fern-api/browser-compatible-base-generator"; import { readFileSync } from "fs"; -import { dynamic as DynamicSnippets } from "@fern-fern/ir-sdk/serialization"; +import { dynamic } from "@fern-fern/ir-sdk/serialization"; import { GoFormatter } from "@fern-api/go-formatter"; export function buildDynamicSnippetsGenerator({ @@ -13,7 +13,7 @@ export function buildDynamicSnippetsGenerator({ config: FernGeneratorExec.GeneratorConfig; }): DynamicSnippetsGenerator { const content = readFileSync(irFilepath, "utf-8"); - const ir = DynamicSnippets.DynamicIntermediateRepresentation.parseOrThrow(JSON.parse(content), { + const ir = dynamic.DynamicIntermediateRepresentation.parseOrThrow(JSON.parse(content), { unrecognizedObjectKeys: "passthrough" }); return new DynamicSnippetsGenerator({ ir, config, formatter: new GoFormatter() }); diff --git a/generators/go-v2/dynamic-snippets/src/__test__/utils/buildGeneratorConfig.ts b/generators/go-v2/dynamic-snippets/src/__test__/utils/buildGeneratorConfig.ts index 4e45d7df40e..848b1893bdc 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/utils/buildGeneratorConfig.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/utils/buildGeneratorConfig.ts @@ -1,4 +1,4 @@ -import { FernGeneratorExec } from "@fern-api/generator-commons"; +import { FernGeneratorExec } from "@fern-api/browser-compatible-base-generator"; import { BaseGoCustomConfigSchema } from "@fern-api/go-ast"; const DEFAULT_CONFIG: FernGeneratorExec.GeneratorConfig = { diff --git a/generators/go-v2/dynamic-snippets/src/__test__/utils/constant.ts b/generators/go-v2/dynamic-snippets/src/__test__/utils/constant.ts index e270bb616d6..0b4b68e1c3b 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/utils/constant.ts +++ b/generators/go-v2/dynamic-snippets/src/__test__/utils/constant.ts @@ -1,9 +1,5 @@ -import path from "path"; -import { AbsoluteFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; export const DYNAMIC_IR_TEST_DEFINITIONS_DIRECTORY = AbsoluteFilePath.of( - path.join( - __dirname, - "../../../../../../packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions" - ) + `${__dirname}/../../../../../../packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions` ); diff --git a/generators/go-v2/dynamic-snippets/src/context/DynamicSnippetsGeneratorContext.ts b/generators/go-v2/dynamic-snippets/src/context/DynamicSnippetsGeneratorContext.ts index 98657015a4c..2fdb3c9b2a7 100644 --- a/generators/go-v2/dynamic-snippets/src/context/DynamicSnippetsGeneratorContext.ts +++ b/generators/go-v2/dynamic-snippets/src/context/DynamicSnippetsGeneratorContext.ts @@ -1,19 +1,20 @@ import { assertNever } from "@fern-api/core-utils"; -import { FernGeneratorExec } from "@fern-api/generator-commons"; +import { + AbstractDynamicSnippetsGeneratorContext, + FernGeneratorExec +} from "@fern-api/browser-compatible-base-generator"; import { BaseGoCustomConfigSchema, resolveRootImportPath } from "@fern-api/go-ast"; -import { FernFilepath, dynamic as DynamicSnippets, TypeId, Name } from "@fern-fern/ir-sdk/api"; +import { FernFilepath, dynamic, TypeId, Name } from "@fern-fern/ir-sdk/api"; import { HttpEndpointReferenceParser } from "@fern-api/fern-definition-schema"; import { TypeInstance } from "../TypeInstance"; import { DiscriminatedUnionTypeInstance } from "../DiscriminatedUnionTypeInstance"; import { DynamicTypeMapper } from "./DynamicTypeMapper"; import { DynamicTypeInstantiationMapper } from "./DynamicTypeInstantiationMapper"; import { go } from "@fern-api/go-ast"; -import path from "path"; import { ErrorReporter, Severity } from "./ErrorReporter"; import { FilePropertyMapper } from "./FilePropertyMapper"; -import { AbstractDynamicSnippetsGeneratorContext } from "@fern-api/generator-commons"; -export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGeneratorContext { +export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGeneratorContext { public customConfig: BaseGoCustomConfigSchema | undefined; public errors: ErrorReporter; public dynamicTypeMapper: DynamicTypeMapper; @@ -27,8 +28,8 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene ir, config }: { - ir: DynamicSnippets.DynamicIntermediateRepresentation; - config: FernGeneratorExec.config.GeneratorConfig; + ir: dynamic.DynamicIntermediateRepresentation; + config: FernGeneratorExec.GeneratorConfig; }) { super(ir, config); this.customConfig = config.customConfig != null ? (config.customConfig as BaseGoCustomConfigSchema) : undefined; @@ -44,8 +45,8 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene parameters, values }: { - parameters: DynamicSnippets.NamedParameter[]; - values: DynamicSnippets.Values; + parameters: dynamic.NamedParameter[]; + values: dynamic.Values; }): TypeInstance[] { const instances: TypeInstance[] = []; for (const [key, value] of Object.entries(values)) { @@ -76,8 +77,8 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene values, ignoreMissingParameters }: { - parameters: DynamicSnippets.NamedParameter[]; - values: DynamicSnippets.Values; + parameters: dynamic.NamedParameter[]; + values: dynamic.Values; ignoreMissingParameters?: boolean; }): TypeInstance[] { const instances: TypeInstance[] = []; @@ -109,9 +110,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene return instances; } - public isFileUploadRequestBody( - body: DynamicSnippets.InlinedRequestBody - ): body is DynamicSnippets.InlinedRequestBody.FileUpload { + public isFileUploadRequestBody(body: dynamic.InlinedRequestBody): body is dynamic.InlinedRequestBody.FileUpload { switch (body.type) { case "fileUpload": return true; @@ -123,7 +122,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene } } - public needsRequestParameter({ request }: { request: DynamicSnippets.InlinedRequest }): boolean { + public needsRequestParameter({ request }: { request: dynamic.InlinedRequest }): boolean { if (this.includePathParametersInWrappedRequest({ request })) { return true; } @@ -142,11 +141,11 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene return true; } - public includePathParametersInWrappedRequest({ request }: { request: DynamicSnippets.InlinedRequest }): boolean { + public includePathParametersInWrappedRequest({ request }: { request: dynamic.InlinedRequest }): boolean { return (this.customConfig?.inlinePathParameters ?? false) && (request.metadata?.includePathParameters ?? false); } - private includeRequestBodyInWrappedRequest({ body }: { body: DynamicSnippets.InlinedRequestBody }): boolean { + private includeRequestBodyInWrappedRequest({ body }: { body: dynamic.InlinedRequestBody }): boolean { switch (body.type) { case "properties": case "referenced": @@ -161,7 +160,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene private includeFileUploadBodyInWrappedRequest({ fileUpload }: { - fileUpload: DynamicSnippets.FileUploadRequestBody; + fileUpload: dynamic.FileUploadRequestBody; }): boolean { return ( this.fileUploadHasBodyProperties({ fileUpload }) || @@ -169,11 +168,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene ); } - private fileUploadHasBodyProperties({ - fileUpload - }: { - fileUpload: DynamicSnippets.FileUploadRequestBody; - }): boolean { + private fileUploadHasBodyProperties({ fileUpload }: { fileUpload: dynamic.FileUploadRequestBody }): boolean { return fileUpload.properties.some((property) => { switch (property.type) { case "file": @@ -187,11 +182,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene }); } - private fileUploadHasFileProperties({ - fileUpload - }: { - fileUpload: DynamicSnippets.FileUploadRequestBody; - }): boolean { + private fileUploadHasFileProperties({ fileUpload }: { fileUpload: dynamic.FileUploadRequestBody }): boolean { return fileUpload.properties.some((property) => { switch (property.type) { case "file": @@ -221,7 +212,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene return value as Record; } - public resolveNamedType({ typeId }: { typeId: TypeId }): DynamicSnippets.NamedType | undefined { + public resolveNamedType({ typeId }: { typeId: TypeId }): dynamic.NamedType | undefined { const namedType = this.ir.types[typeId]; if (namedType == null) { this.errors.add({ @@ -237,7 +228,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene discriminatedUnion, value }: { - discriminatedUnion: DynamicSnippets.DiscriminatedUnionType; + discriminatedUnion: dynamic.DiscriminatedUnionType; value: unknown; }): DiscriminatedUnionTypeInstance | undefined { const record = this.getRecord(value); @@ -329,14 +320,14 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene } public getClientImportPath(): string { - return path.join(this.rootImportPath, "client"); + return `${this.rootImportPath}/client`; } public getOptionImportPath(): string { - return path.join(this.rootImportPath, "option"); + return `${this.rootImportPath}/option`; } - public resolveEndpointOrThrow(rawEndpoint: string): DynamicSnippets.Endpoint[] { + public resolveEndpointOrThrow(rawEndpoint: string): dynamic.Endpoint[] { const parsedEndpoint = this.httpEndpointReferenceParser.tryParse(rawEndpoint); if (parsedEndpoint == null) { throw new Error(`Failed to parse endpoint reference "${rawEndpoint}"`); @@ -344,8 +335,8 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene return this.resolveEndpointLocationOrThrow(parsedEndpoint); } - public resolveEndpointLocationOrThrow(location: DynamicSnippets.EndpointLocation): DynamicSnippets.Endpoint[] { - const endpoints: DynamicSnippets.Endpoint[] = []; + public resolveEndpointLocationOrThrow(location: dynamic.EndpointLocation): dynamic.Endpoint[] { + const endpoints: dynamic.Endpoint[] = []; for (const endpoint of Object.values(this.ir.endpoints)) { if (this.parsedEndpointMatches({ endpoint, parsedEndpoint: location })) { endpoints.push(endpoint); @@ -357,11 +348,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene return endpoints; } - public getGoTypeReferenceFromDeclaration({ - declaration - }: { - declaration: DynamicSnippets.Declaration; - }): go.TypeReference { + public getGoTypeReferenceFromDeclaration({ declaration }: { declaration: dynamic.Declaration }): go.TypeReference { return go.typeReference({ name: declaration.name.pascalCase.unsafeName, importPath: this.getImportPath(declaration.fernFilepath) @@ -372,7 +359,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene return new Error(`"${parameterName}" is not a recognized parameter for this endpoint`); } - private isListTypeReference(typeReference: DynamicSnippets.TypeReference): boolean { + private isListTypeReference(typeReference: dynamic.TypeReference): boolean { if (typeReference.type === "optional") { return this.isListTypeReference(typeReference.value); } @@ -383,7 +370,7 @@ export class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGene endpoint, parsedEndpoint }: { - endpoint: DynamicSnippets.Endpoint; + endpoint: dynamic.Endpoint; parsedEndpoint: HttpEndpointReferenceParser.Parsed; }): boolean { return endpoint.location.method === parsedEndpoint.method && endpoint.location.path === parsedEndpoint.path; diff --git a/generators/go-v2/dynamic-snippets/src/context/DynamicTypeInstantiationMapper.ts b/generators/go-v2/dynamic-snippets/src/context/DynamicTypeInstantiationMapper.ts index c136c0cd1d1..94c86c9d8b3 100644 --- a/generators/go-v2/dynamic-snippets/src/context/DynamicTypeInstantiationMapper.ts +++ b/generators/go-v2/dynamic-snippets/src/context/DynamicTypeInstantiationMapper.ts @@ -1,13 +1,13 @@ import { assertNever } from "@fern-api/core-utils"; import { go } from "@fern-api/go-ast"; import { DynamicSnippetsGeneratorContext } from "./DynamicSnippetsGeneratorContext"; -import { dynamic as DynamicSnippets, PrimitiveTypeV1 } from "@fern-fern/ir-sdk/api"; +import { dynamic, PrimitiveTypeV1 } from "@fern-fern/ir-sdk/api"; import { DiscriminatedUnionTypeInstance } from "../DiscriminatedUnionTypeInstance"; import { Severity } from "./ErrorReporter"; export declare namespace DynamicTypeInstantiationMapper { interface Args { - typeReference: DynamicSnippets.TypeReference; + typeReference: dynamic.TypeReference; value: unknown; as?: ConvertedAs; } @@ -57,13 +57,7 @@ export class DynamicTypeInstantiationMapper { } } - private convertList({ - list, - value - }: { - list: DynamicSnippets.TypeReference; - value: unknown; - }): go.TypeInstantiation { + private convertList({ list, value }: { list: dynamic.TypeReference; value: unknown }): go.TypeInstantiation { if (!Array.isArray(value)) { this.context.errors.add({ severity: Severity.Critical, @@ -84,7 +78,7 @@ export class DynamicTypeInstantiationMapper { }); } - private convertMap({ map, value }: { map: DynamicSnippets.MapType; value: unknown }): go.TypeInstantiation { + private convertMap({ map, value }: { map: dynamic.MapType; value: unknown }): go.TypeInstantiation { if (typeof value !== "object" || value == null) { this.context.errors.add({ severity: Severity.Critical, @@ -114,7 +108,7 @@ export class DynamicTypeInstantiationMapper { value, as }: { - named: DynamicSnippets.NamedType; + named: dynamic.NamedType; value: unknown; as?: DynamicTypeInstantiationMapper.ConvertedAs; }): go.TypeInstantiation { @@ -141,7 +135,7 @@ export class DynamicTypeInstantiationMapper { discriminatedUnion, value }: { - discriminatedUnion: DynamicSnippets.DiscriminatedUnionType; + discriminatedUnion: dynamic.DiscriminatedUnionType; value: unknown; }): go.TypeInstantiation { const structTypeReference = this.context.getGoTypeReferenceFromDeclaration({ @@ -224,7 +218,7 @@ export class DynamicTypeInstantiationMapper { singleDiscriminatedUnionType }: { discriminatedUnionTypeInstance: DiscriminatedUnionTypeInstance; - singleDiscriminatedUnionType: DynamicSnippets.SingleDiscriminatedUnionType; + singleDiscriminatedUnionType: dynamic.SingleDiscriminatedUnionType; }): go.StructField[] { const properties = this.context.associateByWireValue({ parameters: singleDiscriminatedUnionType.properties ?? [], @@ -247,13 +241,7 @@ export class DynamicTypeInstantiationMapper { }); } - private convertObject({ - object_, - value - }: { - object_: DynamicSnippets.ObjectType; - value: unknown; - }): go.TypeInstantiation { + private convertObject({ object_, value }: { object_: dynamic.ObjectType; value: unknown }): go.TypeInstantiation { const properties = this.context.associateByWireValue({ parameters: object_.properties, values: this.context.getRecord(value) ?? {} @@ -277,7 +265,7 @@ export class DynamicTypeInstantiationMapper { }); } - private convertEnum({ enum_, value }: { enum_: DynamicSnippets.EnumType; value: unknown }): go.TypeInstantiation { + private convertEnum({ enum_, value }: { enum_: dynamic.EnumType; value: unknown }): go.TypeInstantiation { const name = this.getEnumValueName({ enum_, value }); if (name == null) { return go.TypeInstantiation.nop(); @@ -290,13 +278,7 @@ export class DynamicTypeInstantiationMapper { ); } - private getEnumValueName({ - enum_, - value - }: { - enum_: DynamicSnippets.EnumType; - value: unknown; - }): string | undefined { + private getEnumValueName({ enum_, value }: { enum_: dynamic.EnumType; value: unknown }): string | undefined { if (typeof value !== "string") { this.context.errors.add({ severity: Severity.Critical, @@ -319,7 +301,7 @@ export class DynamicTypeInstantiationMapper { undicriminatedUnion, value }: { - undicriminatedUnion: DynamicSnippets.UndiscriminatedUnionType; + undicriminatedUnion: dynamic.UndiscriminatedUnionType; value: unknown; }): go.TypeInstantiation { const result = this.findMatchingUndiscriminatedUnionType({ @@ -350,9 +332,9 @@ export class DynamicTypeInstantiationMapper { undicriminatedUnion, value }: { - undicriminatedUnion: DynamicSnippets.UndiscriminatedUnionType; + undicriminatedUnion: dynamic.UndiscriminatedUnionType; value: unknown; - }): { valueTypeReference: DynamicSnippets.TypeReference; typeInstantiation: go.TypeInstantiation } | undefined { + }): { valueTypeReference: dynamic.TypeReference; typeInstantiation: go.TypeInstantiation } | undefined { for (const typeReference of undicriminatedUnion.types) { try { const typeInstantiation = this.convert({ typeReference, value }); @@ -371,7 +353,7 @@ export class DynamicTypeInstantiationMapper { private getUndiscriminatedUnionFieldName({ typeReference }: { - typeReference: DynamicSnippets.TypeReference; + typeReference: dynamic.TypeReference; }): string | undefined { switch (typeReference.type) { case "list": @@ -401,7 +383,7 @@ export class DynamicTypeInstantiationMapper { private getUndiscriminatedUnionFieldNameForList({ list }: { - list: DynamicSnippets.TypeReference.List; + list: dynamic.TypeReference.List; }): string | undefined { const fieldName = this.getUndiscriminatedUnionFieldName({ typeReference: list }); if (fieldName == null) { @@ -410,7 +392,7 @@ export class DynamicTypeInstantiationMapper { return `${fieldName}List`; } - private getUndiscriminatedUnionFieldNameForMap({ map }: { map: DynamicSnippets.MapType }): string | undefined { + private getUndiscriminatedUnionFieldNameForMap({ map }: { map: dynamic.MapType }): string | undefined { const keyFieldName = this.getUndiscriminatedUnionFieldName({ typeReference: map.key }); if (keyFieldName == null) { return undefined; @@ -425,7 +407,7 @@ export class DynamicTypeInstantiationMapper { private getUndiscriminatedUnionFieldNameForOptional({ optional }: { - optional: DynamicSnippets.TypeReference.Optional; + optional: dynamic.TypeReference.Optional; }): string | undefined { const fieldName = this.getUndiscriminatedUnionFieldName({ typeReference: optional }); if (fieldName == null) { @@ -434,11 +416,7 @@ export class DynamicTypeInstantiationMapper { return `${fieldName}Optional`; } - private getUndiscriminatedUnionFieldNameForSet({ - set - }: { - set: DynamicSnippets.TypeReference.Set; - }): string | undefined { + private getUndiscriminatedUnionFieldNameForSet({ set }: { set: dynamic.TypeReference.Set }): string | undefined { const fieldName = this.getUndiscriminatedUnionFieldName({ typeReference: set }); if (fieldName == null) { return undefined; @@ -449,7 +427,7 @@ export class DynamicTypeInstantiationMapper { private getUndiscriminatedUnionFieldNameForLiteral({ literal }: { - literal: DynamicSnippets.LiteralType; + literal: dynamic.LiteralType; }): string | undefined { switch (literal.type) { case "boolean": diff --git a/generators/go-v2/dynamic-snippets/src/context/DynamicTypeMapper.ts b/generators/go-v2/dynamic-snippets/src/context/DynamicTypeMapper.ts index 30917f5460a..8b76c9ba34f 100644 --- a/generators/go-v2/dynamic-snippets/src/context/DynamicTypeMapper.ts +++ b/generators/go-v2/dynamic-snippets/src/context/DynamicTypeMapper.ts @@ -1,11 +1,11 @@ import { assertNever } from "@fern-api/core-utils"; import { go } from "@fern-api/go-ast"; import { DynamicSnippetsGeneratorContext } from "./DynamicSnippetsGeneratorContext"; -import { dynamic as DynamicSnippets, PrimitiveTypeV1 } from "@fern-fern/ir-sdk/api"; +import { dynamic, PrimitiveTypeV1 } from "@fern-fern/ir-sdk/api"; export declare namespace DynamicTypeMapper { interface Args { - typeReference: DynamicSnippets.TypeReference; + typeReference: dynamic.TypeReference; } } @@ -47,7 +47,7 @@ export class DynamicTypeMapper { } } - private convertLiteral({ literal }: { literal: DynamicSnippets.LiteralType }): go.Type { + private convertLiteral({ literal }: { literal: dynamic.LiteralType }): go.Type { switch (literal.type) { case "boolean": return go.Type.bool(); @@ -56,7 +56,7 @@ export class DynamicTypeMapper { } } - private convertNamed({ named }: { named: DynamicSnippets.NamedType }): go.Type { + private convertNamed({ named }: { named: dynamic.NamedType }): go.Type { const goTypeReference = go.Type.reference( go.typeReference({ name: this.context.getTypeName(named.declaration.name), diff --git a/generators/go-v2/dynamic-snippets/src/context/FilePropertyMapper.ts b/generators/go-v2/dynamic-snippets/src/context/FilePropertyMapper.ts index 19c9a6778ec..493a4f311d8 100644 --- a/generators/go-v2/dynamic-snippets/src/context/FilePropertyMapper.ts +++ b/generators/go-v2/dynamic-snippets/src/context/FilePropertyMapper.ts @@ -1,6 +1,6 @@ import { go } from "@fern-api/go-ast"; import { DynamicSnippetsGeneratorContext } from "./DynamicSnippetsGeneratorContext"; -import { dynamic as DynamicSnippets } from "@fern-fern/ir-sdk/api"; +import { dynamic } from "@fern-fern/ir-sdk/api"; import { assertNever } from "@fern-api/core-utils"; import { Severity } from "./ErrorReporter"; @@ -20,7 +20,7 @@ export class FilePropertyMapper { body, value }: { - body: DynamicSnippets.FileUploadRequestBody; + body: dynamic.FileUploadRequestBody; value: unknown; }): FilePropertyInfo { const result: FilePropertyInfo = { @@ -59,7 +59,7 @@ export class FilePropertyMapper { property, record }: { - property: DynamicSnippets.FileUploadRequestBodyProperty.File_; + property: dynamic.FileUploadRequestBodyProperty.File_; record: Record; }): go.TypeInstantiation { const fileValue = record[property.wireValue]; @@ -80,7 +80,7 @@ export class FilePropertyMapper { property, record }: { - property: DynamicSnippets.FileUploadRequestBodyProperty.FileArray; + property: dynamic.FileUploadRequestBodyProperty.FileArray; record: Record; }): go.TypeInstantiation { const fileArrayValue = record[property.wireValue]; @@ -116,7 +116,7 @@ export class FilePropertyMapper { property, record }: { - property: DynamicSnippets.NamedParameter; + property: dynamic.NamedParameter; record: Record; }): go.TypeInstantiation { const bodyPropertyValue = record[property.name.wireValue]; diff --git a/generators/go-v2/dynamic-snippets/tsconfig.json b/generators/go-v2/dynamic-snippets/tsconfig.json index b4b10688fee..580ead97300 100644 --- a/generators/go-v2/dynamic-snippets/tsconfig.json +++ b/generators/go-v2/dynamic-snippets/tsconfig.json @@ -1,14 +1,34 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../../packages/commons/core-utils" }, - { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../../packages/cli/fern-definition/schema" }, - { "path": "../../../packages/ir-sdk" }, - { "path": "../../commons" }, - { "path": "../ast" }, - { "path": "../formatter" } + { + "path": "../../../packages/commons/core-utils" + }, + { + "path": "../../../packages/commons/path-utils" + }, + { + "path": "../../../packages/cli/fern-definition/schema" + }, + { + "path": "../../../packages/ir-sdk" + }, + { + "path": "../../browser-compatible-base" + }, + { + "path": "../ast" + }, + { + "path": "../formatter" + } ] -} +} \ No newline at end of file diff --git a/generators/go-v2/formatter/package.json b/generators/go-v2/formatter/package.json index 3867bbb0f28..ac765ffb553 100644 --- a/generators/go-v2/formatter/package.json +++ b/generators/go-v2/formatter/package.json @@ -27,11 +27,11 @@ "depcheck": "depcheck" }, "dependencies": { - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@wasm-fmt/gofmt": "^0.4.9" }, "devDependencies": { - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@types/jest": "^29.5.12", "@types/node": "^18.7.18", "depcheck": "^1.4.6", diff --git a/generators/go-v2/formatter/src/GoFormatter.ts b/generators/go-v2/formatter/src/GoFormatter.ts index 9a40a9d66db..926609524de 100644 --- a/generators/go-v2/formatter/src/GoFormatter.ts +++ b/generators/go-v2/formatter/src/GoFormatter.ts @@ -1,4 +1,4 @@ -import { AbstractFormatter } from "@fern-api/generator-commons"; +import { AbstractFormatter } from "@fern-api/base-generator"; import init, { format } from "@wasm-fmt/gofmt"; export class GoFormatter extends AbstractFormatter { diff --git a/generators/go-v2/formatter/tsconfig.json b/generators/go-v2/formatter/tsconfig.json index 7a4b9b26b02..f8722af6a14 100644 --- a/generators/go-v2/formatter/tsconfig.json +++ b/generators/go-v2/formatter/tsconfig.json @@ -6,7 +6,7 @@ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/cli/fern-definition/schema" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" } ] } diff --git a/generators/go-v2/model/tsconfig.json b/generators/go-v2/model/tsconfig.json index ae5d385f7a1..bf5606fd22c 100644 --- a/generators/go-v2/model/tsconfig.json +++ b/generators/go-v2/model/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" } ] } diff --git a/generators/go-v2/sdk/tsconfig.json b/generators/go-v2/sdk/tsconfig.json index ae5d385f7a1..bf5606fd22c 100644 --- a/generators/go-v2/sdk/tsconfig.json +++ b/generators/go-v2/sdk/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" } ] } diff --git a/generators/openapi/package.json b/generators/openapi/package.json index 42c18403007..dd3ef6d8f82 100644 --- a/generators/openapi/package.json +++ b/generators/openapi/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-fern/ir-sdk": "53.9.0", "js-yaml": "^4.1.0", "lodash-es": "^4.17.21", diff --git a/generators/openapi/src/converters/servicesConverter.ts b/generators/openapi/src/converters/servicesConverter.ts index 1ea7294ad89..9fd5ad44c50 100644 --- a/generators/openapi/src/converters/servicesConverter.ts +++ b/generators/openapi/src/converters/servicesConverter.ts @@ -26,7 +26,7 @@ import { import { isEqual, size } from "lodash-es"; import { OpenAPIV3 } from "openapi-types"; import urlJoin from "url-join"; -import { isNonNullish } from "../../../commons/node_modules/@fern-api/core-utils/src"; +import { isNonNullish } from "@fern-api/core-utils"; import { getDeclaredTypeNameKey, getErrorTypeNameKey } from "../convertToOpenApi"; import { Mode } from "../writeOpenApi"; import { convertObject } from "./convertObject"; diff --git a/generators/openapi/src/customConfig.ts b/generators/openapi/src/customConfig.ts index 83aa77177d8..240148e1d79 100644 --- a/generators/openapi/src/customConfig.ts +++ b/generators/openapi/src/customConfig.ts @@ -1,4 +1,4 @@ -import { GeneratorConfig } from "@fern-api/generator-commons"; +import { GeneratorConfig } from "@fern-api/base-generator"; export interface FernOpenapiCustomConfig { format: "yaml" | "json"; diff --git a/generators/openapi/src/writeOpenApi.ts b/generators/openapi/src/writeOpenApi.ts index ab4b9076079..a83941912ae 100644 --- a/generators/openapi/src/writeOpenApi.ts +++ b/generators/openapi/src/writeOpenApi.ts @@ -11,7 +11,7 @@ import { ExitStatusUpdate, parseGeneratorConfig, parseIR -} from "@fern-api/generator-commons"; +} from "@fern-api/base-generator"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; import { mergeWithOverrides } from "@fern-api/core-utils"; diff --git a/generators/openapi/tsconfig.json b/generators/openapi/tsconfig.json index 8f8475dcc90..2a2709cdde1 100644 --- a/generators/openapi/tsconfig.json +++ b/generators/openapi/tsconfig.json @@ -2,5 +2,5 @@ "extends": "../../shared/tsconfig.shared.json", "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, "include": ["./src/**/*"], - "references": [{ "path": "../commons" }, { "path": "../../packages/commons/fs-utils" }, { "path": "../../packages/commons/core-utils" }] + "references": [{ "path": "../base" }, { "path": "../../packages/commons/fs-utils" }, { "path": "../../packages/commons/core-utils" }] } diff --git a/generators/php/codegen/package.json b/generators/php/codegen/package.json index 059c68d47aa..bbdef5c641c 100644 --- a/generators/php/codegen/package.json +++ b/generators/php/codegen/package.json @@ -29,7 +29,7 @@ "dependencies": { "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-fern/ir-sdk": "^53.15.0", "lodash-es": "^4.17.21", @@ -37,7 +37,7 @@ }, "devDependencies": { "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@types/lodash-es": "^4.17.12", "@fern-fern/ir-sdk": "^53.15.0", diff --git a/generators/php/codegen/src/FileGenerator.ts b/generators/php/codegen/src/FileGenerator.ts index 50c5446ce7f..476e86c8239 100644 --- a/generators/php/codegen/src/FileGenerator.ts +++ b/generators/php/codegen/src/FileGenerator.ts @@ -1,7 +1,7 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { AbstractPhpGeneratorContext } from "./context/AbstractPhpGeneratorContext"; import { BasePhpCustomConfigSchema } from "./custom-config/BasePhpCustomConfigSchema"; -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; export abstract class FileGenerator< GeneratedFile extends File, diff --git a/generators/php/codegen/src/ast/ClassInstantiation.ts b/generators/php/codegen/src/ast/ClassInstantiation.ts index 695d30bb8c9..22126ee9af3 100644 --- a/generators/php/codegen/src/ast/ClassInstantiation.ts +++ b/generators/php/codegen/src/ast/ClassInstantiation.ts @@ -1,4 +1,4 @@ -import { Arguments } from "@fern-api/generator-commons"; +import { Arguments } from "@fern-api/base-generator"; import { ClassReference } from "./ClassReference"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/php/codegen/src/ast/CodeBlock.ts b/generators/php/codegen/src/ast/CodeBlock.ts index cbd4d7fbb7d..17ffd153f0c 100644 --- a/generators/php/codegen/src/ast/CodeBlock.ts +++ b/generators/php/codegen/src/ast/CodeBlock.ts @@ -1,4 +1,4 @@ -import { CodeBlock as CommonCodeBlock } from "@fern-api/generator-commons"; +import { CodeBlock as CommonCodeBlock } from "@fern-api/base-generator"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/php/codegen/src/ast/MethodInvocation.ts b/generators/php/codegen/src/ast/MethodInvocation.ts index 6ad94cbf78c..3e922b786ad 100644 --- a/generators/php/codegen/src/ast/MethodInvocation.ts +++ b/generators/php/codegen/src/ast/MethodInvocation.ts @@ -1,5 +1,5 @@ import { AstNode } from "./core/AstNode"; -import { Arguments } from "@fern-api/generator-commons"; +import { Arguments } from "@fern-api/base-generator"; import { Writer } from "./core/Writer"; import { writeArguments } from "./utils/writeArguments"; diff --git a/generators/php/codegen/src/ast/core/AstNode.ts b/generators/php/codegen/src/ast/core/AstNode.ts index b5b207b2998..6db5e4b343a 100644 --- a/generators/php/codegen/src/ast/core/AstNode.ts +++ b/generators/php/codegen/src/ast/core/AstNode.ts @@ -1,4 +1,4 @@ -import { AbstractAstNode } from "@fern-api/generator-commons"; +import { AbstractAstNode } from "@fern-api/base-generator"; import { BasePhpCustomConfigSchema } from "../../custom-config/BasePhpCustomConfigSchema"; import { Writer } from "./Writer"; diff --git a/generators/php/codegen/src/ast/core/Writer.ts b/generators/php/codegen/src/ast/core/Writer.ts index 72e3c092815..d81c548bc94 100644 --- a/generators/php/codegen/src/ast/core/Writer.ts +++ b/generators/php/codegen/src/ast/core/Writer.ts @@ -1,4 +1,4 @@ -import { AbstractWriter } from "@fern-api/generator-commons"; +import { AbstractWriter } from "@fern-api/base-generator"; import { BasePhpCustomConfigSchema } from "../../custom-config/BasePhpCustomConfigSchema"; import { ClassReference } from "../ClassReference"; import { GLOBAL_NAMESPACE } from "./Constant"; diff --git a/generators/php/codegen/src/ast/utils/writeArguments.ts b/generators/php/codegen/src/ast/utils/writeArguments.ts index e4e9424ba8d..d404a41cec4 100644 --- a/generators/php/codegen/src/ast/utils/writeArguments.ts +++ b/generators/php/codegen/src/ast/utils/writeArguments.ts @@ -1,4 +1,4 @@ -import { Argument, Arguments, isNamedArgument } from "@fern-api/generator-commons"; +import { Argument, Arguments, isNamedArgument } from "@fern-api/base-generator"; import { Writer } from "../core/Writer"; export function writeArguments({ diff --git a/generators/php/codegen/src/cli/AbstractPhpGeneratorCli.ts b/generators/php/codegen/src/cli/AbstractPhpGeneratorCli.ts index ab87bb1ecc6..a3fbe15eeb6 100644 --- a/generators/php/codegen/src/cli/AbstractPhpGeneratorCli.ts +++ b/generators/php/codegen/src/cli/AbstractPhpGeneratorCli.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { AbstractGeneratorCli, parseIR } from "@fern-api/generator-commons"; +import { AbstractGeneratorCli, parseIR } from "@fern-api/base-generator"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import * as IrSerialization from "@fern-fern/ir-sdk/serialization"; import { readFile } from "fs/promises"; diff --git a/generators/php/codegen/src/context/AbstractPhpGeneratorContext.ts b/generators/php/codegen/src/context/AbstractPhpGeneratorContext.ts index 8b802e59bc1..37484cb6975 100644 --- a/generators/php/codegen/src/context/AbstractPhpGeneratorContext.ts +++ b/generators/php/codegen/src/context/AbstractPhpGeneratorContext.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/base-generator"; import { IntermediateRepresentation, Literal, diff --git a/generators/php/codegen/src/context/PhpAttributeMapper.ts b/generators/php/codegen/src/context/PhpAttributeMapper.ts index 8f005ce02c7..e2ff7d2b83a 100644 --- a/generators/php/codegen/src/context/PhpAttributeMapper.ts +++ b/generators/php/codegen/src/context/PhpAttributeMapper.ts @@ -1,5 +1,5 @@ import { assertNever } from "@fern-api/core-utils"; -import { Arguments, UnnamedArgument } from "@fern-api/generator-commons"; +import { Arguments, UnnamedArgument } from "@fern-api/base-generator"; import { ObjectProperty } from "@fern-fern/ir-sdk/api"; import { isEqual, uniq, uniqWith } from "lodash-es"; import { php } from ".."; diff --git a/generators/php/codegen/src/php.ts b/generators/php/codegen/src/php.ts index 3536da4f6f8..2ae639450e2 100644 --- a/generators/php/codegen/src/php.ts +++ b/generators/php/codegen/src/php.ts @@ -1,4 +1,4 @@ -import { Ternary } from "@fern-api/generator-commons"; +import { Ternary } from "@fern-api/base-generator"; import { Array as Array_, Attribute, diff --git a/generators/php/codegen/src/project/PhpFile.ts b/generators/php/codegen/src/project/PhpFile.ts index bd584e4d1f2..cf5b8ff57bb 100644 --- a/generators/php/codegen/src/project/PhpFile.ts +++ b/generators/php/codegen/src/project/PhpFile.ts @@ -2,7 +2,7 @@ import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; import { FernFilepath } from "@fern-fern/ir-sdk/api"; import path from "path"; import { BasePhpCustomConfigSchema } from "../custom-config/BasePhpCustomConfigSchema"; -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; import { Class } from "../ast/Class"; import { Enum, Trait } from "../ast"; import { DataClass } from "../ast/DataClass"; diff --git a/generators/php/codegen/src/project/PhpProject.ts b/generators/php/codegen/src/project/PhpProject.ts index b8d2d218538..6bf632bca3f 100644 --- a/generators/php/codegen/src/project/PhpProject.ts +++ b/generators/php/codegen/src/project/PhpProject.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; -import { AbstractProject, File } from "@fern-api/generator-commons"; +import { AbstractProject, File } from "@fern-api/base-generator"; import { loggingExeca } from "@fern-api/logging-execa"; import { mkdir, readFile, writeFile } from "fs/promises"; import { template } from "lodash-es"; diff --git a/generators/php/codegen/tsconfig.json b/generators/php/codegen/tsconfig.json index 816c55164d8..d88e84c5ae9 100644 --- a/generators/php/codegen/tsconfig.json +++ b/generators/php/codegen/tsconfig.json @@ -6,6 +6,6 @@ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" } + { "path": "../../base" } ] } diff --git a/generators/php/model/package.json b/generators/php/model/package.json index 16197a49ea7..db9e06c8158 100644 --- a/generators/php/model/package.json +++ b/generators/php/model/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/php-codegen": "workspace:*", "@fern-fern/ir-sdk": "^53.15.0", "@types/jest": "^29.5.12", diff --git a/generators/php/model/src/ModelGeneratorCli.ts b/generators/php/model/src/ModelGeneratorCli.ts index 1307d0bca5b..58f87a49e9d 100644 --- a/generators/php/model/src/ModelGeneratorCli.ts +++ b/generators/php/model/src/ModelGeneratorCli.ts @@ -1,4 +1,4 @@ -import { GeneratorConfig, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorConfig, GeneratorNotificationService } from "@fern-api/base-generator"; import { AbstractPhpGeneratorCli } from "@fern-api/php-codegen"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { ModelCustomConfigSchema } from "./ModelCustomConfig"; diff --git a/generators/php/model/tsconfig.json b/generators/php/model/tsconfig.json index 6d607d88e95..eb309edcc38 100644 --- a/generators/php/model/tsconfig.json +++ b/generators/php/model/tsconfig.json @@ -4,7 +4,7 @@ "include": ["./src/**/*"], "references": [ { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../codegen" } ] } diff --git a/generators/php/sdk/package.json b/generators/php/sdk/package.json index c00ac0b157b..45b1d1194b5 100644 --- a/generators/php/sdk/package.json +++ b/generators/php/sdk/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "lodash-es": "^4.17.21", "@fern-api/php-codegen": "workspace:*", "@fern-api/php-model": "workspace:*", diff --git a/generators/php/sdk/src/SdkGeneratorCli.ts b/generators/php/sdk/src/SdkGeneratorCli.ts index 5c77b1f7dfe..da1fa3ea184 100644 --- a/generators/php/sdk/src/SdkGeneratorCli.ts +++ b/generators/php/sdk/src/SdkGeneratorCli.ts @@ -1,5 +1,5 @@ import { AbstractPhpGeneratorCli } from "@fern-api/php-codegen"; -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { HttpService, IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { SdkCustomConfigSchema } from "./SdkCustomConfig"; diff --git a/generators/php/sdk/src/SdkGeneratorContext.ts b/generators/php/sdk/src/SdkGeneratorContext.ts index 2ba9198580f..5cfe26fa8c0 100644 --- a/generators/php/sdk/src/SdkGeneratorContext.ts +++ b/generators/php/sdk/src/SdkGeneratorContext.ts @@ -9,7 +9,7 @@ import { HttpMethod } from "@fern-fern/ir-sdk/api"; import { AbstractPhpGeneratorContext, FileLocation } from "@fern-api/php-codegen"; -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { SdkCustomConfigSchema } from "./SdkCustomConfig"; diff --git a/generators/php/sdk/src/core/RawClient.ts b/generators/php/sdk/src/core/RawClient.ts index f818a1e1e40..c5943b62724 100644 --- a/generators/php/sdk/src/core/RawClient.ts +++ b/generators/php/sdk/src/core/RawClient.ts @@ -1,6 +1,6 @@ import { SdkGeneratorContext } from "../SdkGeneratorContext"; import { php } from "@fern-api/php-codegen"; -import { Arguments, NamedArgument } from "@fern-api/generator-commons"; +import { Arguments, NamedArgument } from "@fern-api/base-generator"; import { HttpEndpoint } from "@fern-fern/ir-sdk/api"; export declare namespace RawClient { diff --git a/generators/php/sdk/src/endpoint/http/HttpEndpointGenerator.ts b/generators/php/sdk/src/endpoint/http/HttpEndpointGenerator.ts index f8a31f7e407..265677be684 100644 --- a/generators/php/sdk/src/endpoint/http/HttpEndpointGenerator.ts +++ b/generators/php/sdk/src/endpoint/http/HttpEndpointGenerator.ts @@ -11,7 +11,7 @@ import { import { SdkGeneratorContext } from "../../SdkGeneratorContext"; import { getEndpointReturnType } from "../utils/getEndpointReturnType"; import { AbstractEndpointGenerator } from "../AbstractEndpointGenerator"; -import { Arguments, UnnamedArgument } from "@fern-api/generator-commons"; +import { Arguments, UnnamedArgument } from "@fern-api/base-generator"; import { upperFirst } from "lodash-es"; export declare namespace EndpointGenerator { diff --git a/generators/php/sdk/src/endpoint/request/EndpointRequest.ts b/generators/php/sdk/src/endpoint/request/EndpointRequest.ts index 4176b0936a7..3bd9d09d521 100644 --- a/generators/php/sdk/src/endpoint/request/EndpointRequest.ts +++ b/generators/php/sdk/src/endpoint/request/EndpointRequest.ts @@ -1,4 +1,4 @@ -import { UnnamedArgument } from "@fern-api/generator-commons"; +import { UnnamedArgument } from "@fern-api/base-generator"; import { php } from "@fern-api/php-codegen"; import { HttpEndpoint, SdkRequest } from "@fern-fern/ir-sdk/api"; import { SdkGeneratorContext } from "../../SdkGeneratorContext"; diff --git a/generators/php/sdk/src/endpoint/request/WrappedEndpointRequest.ts b/generators/php/sdk/src/endpoint/request/WrappedEndpointRequest.ts index 79be0d8a794..4fb5027bb29 100644 --- a/generators/php/sdk/src/endpoint/request/WrappedEndpointRequest.ts +++ b/generators/php/sdk/src/endpoint/request/WrappedEndpointRequest.ts @@ -31,7 +31,7 @@ import { QueryParameterCodeBlock, RequestBodyCodeBlock } from "./EndpointRequest"; -import { CodeBlock } from "@fern-api/generator-commons"; +import { CodeBlock } from "@fern-api/base-generator"; import { assertNever } from "@fern-api/core-utils"; import { FileUploadBodyProperty } from "@fern-fern/ir-sdk/serialization"; diff --git a/generators/php/sdk/tsconfig.json b/generators/php/sdk/tsconfig.json index 8d71586d0de..3144b142812 100644 --- a/generators/php/sdk/tsconfig.json +++ b/generators/php/sdk/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../codegen" }, { "path": "../model" } ] diff --git a/generators/postman/package.json b/generators/postman/package.json index 59cacf4072e..adb1a755457 100644 --- a/generators/postman/package.json +++ b/generators/postman/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-fern/ir-sdk": "53.9.0", "@fern-fern/postman-sdk": "0.1.1", "@types/jest": "^29.5.12", diff --git a/generators/postman/src/writePostmanCollection.ts b/generators/postman/src/writePostmanCollection.ts index a2e9570796e..cc760b806ec 100644 --- a/generators/postman/src/writePostmanCollection.ts +++ b/generators/postman/src/writePostmanCollection.ts @@ -14,7 +14,7 @@ import { LogLevel, parseGeneratorConfig, parseIR -} from "@fern-api/generator-commons"; +} from "@fern-api/base-generator"; import { writePostmanGithubWorkflows } from "./writePostmanGithubWorkflows"; import { startCase } from "lodash"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; diff --git a/generators/postman/src/writePostmanGithubWorkflows.ts b/generators/postman/src/writePostmanGithubWorkflows.ts index 64671d2a14c..1d3c5b73566 100644 --- a/generators/postman/src/writePostmanGithubWorkflows.ts +++ b/generators/postman/src/writePostmanGithubWorkflows.ts @@ -1,4 +1,4 @@ -import { GeneratorConfig, GithubOutputMode } from "@fern-api/generator-commons"; +import { GeneratorConfig, GithubOutputMode } from "@fern-api/base-generator"; import endent from "endent"; import { mkdir, writeFile } from "fs/promises"; import path from "path"; diff --git a/generators/postman/tsconfig.json b/generators/postman/tsconfig.json index af08ccba7db..d0dca4bdb6a 100644 --- a/generators/postman/tsconfig.json +++ b/generators/postman/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, "include": ["./src/**/*"], "references": [ - { "path": "../commons" }, + { "path": "../base" }, { "path": "../../packages/core" }, { "path": "../../packages/commons/fs-utils" } ] diff --git a/generators/python-v2/ast/package.json b/generators/python-v2/ast/package.json index 3b134f3b192..eafdbbd106b 100644 --- a/generators/python-v2/ast/package.json +++ b/generators/python-v2/ast/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@fern-api/core-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@wasm-fmt/ruff_fmt": "^0.6.1" }, "devDependencies": { diff --git a/generators/python-v2/ast/src/CodeBlock.ts b/generators/python-v2/ast/src/CodeBlock.ts index cbd4d7fbb7d..17ffd153f0c 100644 --- a/generators/python-v2/ast/src/CodeBlock.ts +++ b/generators/python-v2/ast/src/CodeBlock.ts @@ -1,4 +1,4 @@ -import { CodeBlock as CommonCodeBlock } from "@fern-api/generator-commons"; +import { CodeBlock as CommonCodeBlock } from "@fern-api/base-generator"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/python-v2/ast/src/core/AstNode.ts b/generators/python-v2/ast/src/core/AstNode.ts index 07fb2b6bc7a..a0578c4205c 100644 --- a/generators/python-v2/ast/src/core/AstNode.ts +++ b/generators/python-v2/ast/src/core/AstNode.ts @@ -1,4 +1,4 @@ -import { AbstractAstNode } from "@fern-api/generator-commons"; +import { AbstractAstNode } from "@fern-api/base-generator"; import { Writer } from "./Writer"; import { Reference } from "../Reference"; import { Config } from "@wasm-fmt/ruff_fmt"; diff --git a/generators/python-v2/ast/src/core/Writer.ts b/generators/python-v2/ast/src/core/Writer.ts index 59ffcfc4d81..3a937e958b5 100644 --- a/generators/python-v2/ast/src/core/Writer.ts +++ b/generators/python-v2/ast/src/core/Writer.ts @@ -1,4 +1,4 @@ -import { AbstractWriter } from "@fern-api/generator-commons"; +import { AbstractWriter } from "@fern-api/base-generator"; import { Config } from "@wasm-fmt/ruff_fmt"; export declare namespace Writer {} diff --git a/generators/python-v2/ast/tsconfig.json b/generators/python-v2/ast/tsconfig.json index 816c55164d8..d88e84c5ae9 100644 --- a/generators/python-v2/ast/tsconfig.json +++ b/generators/python-v2/ast/tsconfig.json @@ -6,6 +6,6 @@ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" } + { "path": "../../base" } ] } diff --git a/generators/python-v2/base/package.json b/generators/python-v2/base/package.json index 748e935dd8b..4558345b8a1 100644 --- a/generators/python-v2/base/package.json +++ b/generators/python-v2/base/package.json @@ -29,7 +29,7 @@ "dependencies": { "@fern-api/fs-utils": "workspace:*", "@fern-api/core-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/python-ast": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-fern/ir-sdk": "53.7.0", diff --git a/generators/python-v2/base/src/cli/AbstractPythonGeneratorCli.ts b/generators/python-v2/base/src/cli/AbstractPythonGeneratorCli.ts index 00f5fffb0e3..219ff05642f 100644 --- a/generators/python-v2/base/src/cli/AbstractPythonGeneratorCli.ts +++ b/generators/python-v2/base/src/cli/AbstractPythonGeneratorCli.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { AbstractGeneratorCli, parseIR } from "@fern-api/generator-commons"; +import { AbstractGeneratorCli, parseIR } from "@fern-api/base-generator"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import * as IrSerialization from "@fern-fern/ir-sdk/serialization"; import { AbstractPythonGeneratorContext } from "../context/AbstractPythonGeneratorContext"; diff --git a/generators/python-v2/base/src/context/AbstractPythonGeneratorContext.ts b/generators/python-v2/base/src/context/AbstractPythonGeneratorContext.ts index e8550567007..cc521da2d91 100644 --- a/generators/python-v2/base/src/context/AbstractPythonGeneratorContext.ts +++ b/generators/python-v2/base/src/context/AbstractPythonGeneratorContext.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext, FernGeneratorExec, GeneratorNotificationService } from "@fern-api/base-generator"; import { IntermediateRepresentation, Name, TypeDeclaration, TypeId, TypeReference } from "@fern-fern/ir-sdk/api"; import { snakeCase } from "lodash-es"; import { BasePythonCustomConfigSchema } from "../custom-config/BasePythonCustomConfigSchema"; diff --git a/generators/python-v2/base/src/project/PythonProject.ts b/generators/python-v2/base/src/project/PythonProject.ts index 86f2fde9c36..1cbcca7001c 100644 --- a/generators/python-v2/base/src/project/PythonProject.ts +++ b/generators/python-v2/base/src/project/PythonProject.ts @@ -1,4 +1,4 @@ -import { AbstractProject } from "@fern-api/generator-commons"; +import { AbstractProject } from "@fern-api/base-generator"; import { AbstractPythonGeneratorContext } from "../cli"; import { BasePythonCustomConfigSchema } from "../custom-config"; import { WriteablePythonFile } from "./WriteablePythonFile"; diff --git a/generators/python-v2/base/src/project/WriteablePythonFile.ts b/generators/python-v2/base/src/project/WriteablePythonFile.ts index 2bd99a70c2b..61663cad1eb 100644 --- a/generators/python-v2/base/src/project/WriteablePythonFile.ts +++ b/generators/python-v2/base/src/project/WriteablePythonFile.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; import { python } from "@fern-api/python-ast"; export declare namespace WriteablePythonFile { diff --git a/generators/python-v2/base/tsconfig.json b/generators/python-v2/base/tsconfig.json index 71c717c3d69..633941bff53 100644 --- a/generators/python-v2/base/tsconfig.json +++ b/generators/python-v2/base/tsconfig.json @@ -6,7 +6,7 @@ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" }, { "path": "../../../packages/commons/logging-execa" } ] diff --git a/generators/python-v2/fastapi/tsconfig.json b/generators/python-v2/fastapi/tsconfig.json index 5c1e319cac3..5a906d420b5 100644 --- a/generators/python-v2/fastapi/tsconfig.json +++ b/generators/python-v2/fastapi/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" }, { "path": "../base" } ] diff --git a/generators/python-v2/pydantic-model/package.json b/generators/python-v2/pydantic-model/package.json index a35562fa59d..db99dda8694 100644 --- a/generators/python-v2/pydantic-model/package.json +++ b/generators/python-v2/pydantic-model/package.json @@ -37,7 +37,7 @@ "zod": "^3.22.4", "@fern-fern/ir-sdk": "53.7.0", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@types/node": "18.7.18", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14", "depcheck": "^1.4.6", diff --git a/generators/python-v2/pydantic-model/src/ModelGeneratorCli.ts b/generators/python-v2/pydantic-model/src/ModelGeneratorCli.ts index 1abb5f9b548..3b190ef9f50 100644 --- a/generators/python-v2/pydantic-model/src/ModelGeneratorCli.ts +++ b/generators/python-v2/pydantic-model/src/ModelGeneratorCli.ts @@ -4,7 +4,7 @@ import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { PydanticModelCustomConfigSchema } from "./ModelCustomConfig"; import { PydanticModelGeneratorContext } from "./ModelGeneratorContext"; import { generateV2Models } from "./v2/generateV2Models"; -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; export class ModelGeneratorCLI extends AbstractPythonGeneratorCli< PydanticModelCustomConfigSchema, diff --git a/generators/python-v2/pydantic-model/tsconfig.json b/generators/python-v2/pydantic-model/tsconfig.json index 5c1e319cac3..5a906d420b5 100644 --- a/generators/python-v2/pydantic-model/tsconfig.json +++ b/generators/python-v2/pydantic-model/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../ast" }, { "path": "../base" } ] diff --git a/generators/ruby/cli/package.json b/generators/ruby/cli/package.json index 35f35e7b930..c7b69cca74b 100644 --- a/generators/ruby/cli/package.json +++ b/generators/ruby/cli/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logger": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-fern/ir-sdk": "^39", diff --git a/generators/ruby/cli/src/AbstractGeneratorCli.ts b/generators/ruby/cli/src/AbstractGeneratorCli.ts index 55c238d6138..1ba49b1b70f 100644 --- a/generators/ruby/cli/src/AbstractGeneratorCli.ts +++ b/generators/ruby/cli/src/AbstractGeneratorCli.ts @@ -4,7 +4,7 @@ import { FernGeneratorExec, GeneratorNotificationService, parseGeneratorConfig -} from "@fern-api/generator-commons"; +} from "@fern-api/base-generator"; import { Logger } from "@fern-api/logger"; import { createLoggingExecutable } from "@fern-api/logging-execa"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; diff --git a/generators/ruby/cli/src/loadIntermediateRepresentation.ts b/generators/ruby/cli/src/loadIntermediateRepresentation.ts index a04b67afdaf..cbca0512add 100644 --- a/generators/ruby/cli/src/loadIntermediateRepresentation.ts +++ b/generators/ruby/cli/src/loadIntermediateRepresentation.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { parseIR } from "@fern-api/generator-commons"; +import { parseIR } from "@fern-api/base-generator"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import * as IrSerialization from "@fern-fern/ir-sdk/serialization"; diff --git a/generators/ruby/cli/tsconfig.json b/generators/ruby/cli/tsconfig.json index 69dfc038d62..58a4ddad1b8 100644 --- a/generators/ruby/cli/tsconfig.json +++ b/generators/ruby/cli/tsconfig.json @@ -6,6 +6,6 @@ { "path": "../../../packages/cli/logger" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" } + { "path": "../../base" } ] } diff --git a/generators/ruby/codegen/tsconfig.json b/generators/ruby/codegen/tsconfig.json index 7251ae3d3cf..cf51d7b6c98 100644 --- a/generators/ruby/codegen/tsconfig.json +++ b/generators/ruby/codegen/tsconfig.json @@ -2,5 +2,5 @@ "extends": "../../../shared/tsconfig.shared.json", "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, "include": ["./src/**/*"], - "references": [{ "path": "../../../packages/commons/fs-utils" }, { "path": "../../commons" }] + "references": [{ "path": "../../../packages/commons/fs-utils" }, { "path": "../../base" }] } diff --git a/generators/ruby/model/package.json b/generators/ruby/model/package.json index 7f1fb3bf993..6f5bd5f9d78 100644 --- a/generators/ruby/model/package.json +++ b/generators/ruby/model/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-api/ruby-codegen": "workspace:*", "@fern-api/ruby-generator-cli": "workspace:*", diff --git a/generators/ruby/model/src/GeneratorCli.ts b/generators/ruby/model/src/GeneratorCli.ts index eb856eb4bac..9e9660f0dce 100644 --- a/generators/ruby/model/src/GeneratorCli.ts +++ b/generators/ruby/model/src/GeneratorCli.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { AbstractGeneratorContext, getPackageName, getSdkVersion } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext, getPackageName, getSdkVersion } from "@fern-api/base-generator"; import { loggingExeca } from "@fern-api/logging-execa"; import { generateBasicRakefile, diff --git a/generators/ruby/model/src/TypesGenerator.ts b/generators/ruby/model/src/TypesGenerator.ts index efdf2bc8add..0baf6f7ddd6 100644 --- a/generators/ruby/model/src/TypesGenerator.ts +++ b/generators/ruby/model/src/TypesGenerator.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorContext } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext } from "@fern-api/base-generator"; import { ClassReferenceFactory, Class_, GeneratedRubyFile, LocationGenerator, Module_ } from "@fern-api/ruby-codegen"; import { AliasTypeDeclaration, diff --git a/generators/ruby/model/tsconfig.json b/generators/ruby/model/tsconfig.json index 9ffe4867405..5f417d76805 100644 --- a/generators/ruby/model/tsconfig.json +++ b/generators/ruby/model/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../cli" }, { "path": "../codegen" } ] diff --git a/generators/ruby/sdk/package.json b/generators/ruby/sdk/package.json index 1d5f6f5a4e3..6b756b3f9c0 100644 --- a/generators/ruby/sdk/package.json +++ b/generators/ruby/sdk/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@fern-api/fern-ruby-model": "workspace:*", "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-api/ruby-codegen": "workspace:*", "@fern-api/ruby-generator-cli": "workspace:*", diff --git a/generators/ruby/sdk/src/ClientsGenerator.ts b/generators/ruby/sdk/src/ClientsGenerator.ts index 087571cd330..4e248eb1bf5 100644 --- a/generators/ruby/sdk/src/ClientsGenerator.ts +++ b/generators/ruby/sdk/src/ClientsGenerator.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorContext } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext } from "@fern-api/base-generator"; import { ClassReferenceFactory, Class_, diff --git a/generators/ruby/sdk/src/GeneratorCli.ts b/generators/ruby/sdk/src/GeneratorCli.ts index d18dbd40e99..586fcdaa9e2 100644 --- a/generators/ruby/sdk/src/GeneratorCli.ts +++ b/generators/ruby/sdk/src/GeneratorCli.ts @@ -1,6 +1,6 @@ import { TypesGenerator } from "@fern-api/fern-ruby-model"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { AbstractGeneratorContext, getPackageName, getSdkVersion } from "@fern-api/generator-commons"; +import { AbstractGeneratorContext, getPackageName, getSdkVersion } from "@fern-api/base-generator"; import { loggingExeca } from "@fern-api/logging-execa"; import { ClassReferenceFactory, diff --git a/generators/ruby/sdk/tsconfig.json b/generators/ruby/sdk/tsconfig.json index 69f77909b39..3151c489830 100644 --- a/generators/ruby/sdk/tsconfig.json +++ b/generators/ruby/sdk/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" }, + { "path": "../../base" }, { "path": "../cli" }, { "path": "../codegen" }, { "path": "../model" } diff --git a/generators/swift/codegen/package.json b/generators/swift/codegen/package.json index 48ebd66e77f..5232231e5a7 100644 --- a/generators/swift/codegen/package.json +++ b/generators/swift/codegen/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@fern-api/core-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/fs-utils": "workspace:*" }, "devDependencies": { diff --git a/generators/swift/codegen/src/ast/core/AstNode.ts b/generators/swift/codegen/src/ast/core/AstNode.ts index a52d667b510..c7cb2ff69ef 100644 --- a/generators/swift/codegen/src/ast/core/AstNode.ts +++ b/generators/swift/codegen/src/ast/core/AstNode.ts @@ -1,4 +1,4 @@ -import { AbstractAstNode } from "@fern-api/generator-commons"; +import { AbstractAstNode } from "@fern-api/base-generator"; import { Writer } from "./Writer"; export abstract class AstNode extends AbstractAstNode { diff --git a/generators/swift/codegen/src/ast/core/Writer.ts b/generators/swift/codegen/src/ast/core/Writer.ts index cf02fa714fc..45de07c0810 100644 --- a/generators/swift/codegen/src/ast/core/Writer.ts +++ b/generators/swift/codegen/src/ast/core/Writer.ts @@ -1,4 +1,4 @@ -import { AbstractWriter } from "@fern-api/generator-commons"; +import { AbstractWriter } from "@fern-api/base-generator"; export class Writer extends AbstractWriter { public toString(): string { diff --git a/generators/swift/codegen/src/project/SwiftFile.ts b/generators/swift/codegen/src/project/SwiftFile.ts index 39f8e598cec..198f11014d4 100644 --- a/generators/swift/codegen/src/project/SwiftFile.ts +++ b/generators/swift/codegen/src/project/SwiftFile.ts @@ -1,4 +1,4 @@ -import { File } from "@fern-api/generator-commons"; +import { File } from "@fern-api/base-generator"; import { RelativeFilePath } from "@fern-api/fs-utils"; import { Enum } from "../ast/Enum"; import { Struct } from "../ast/Struct"; diff --git a/generators/swift/codegen/tsconfig.json b/generators/swift/codegen/tsconfig.json index 94501b36058..adad9e6f162 100644 --- a/generators/swift/codegen/tsconfig.json +++ b/generators/swift/codegen/tsconfig.json @@ -2,5 +2,5 @@ "extends": "../../../shared/tsconfig.shared.json", "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, "include": ["./src/**/*"], - "references": [{ "path": "../../../packages/commons/core-utils" }, { "path": "../../commons" }, { "path": "../../../packages/commons/fs-utils" }] + "references": [{ "path": "../../../packages/commons/core-utils" }, { "path": "../../base" }, { "path": "../../../packages/commons/fs-utils" }] } diff --git a/generators/typescript/codegen/package.json b/generators/typescript/codegen/package.json index f45fe2b133b..15b70ad5af8 100644 --- a/generators/typescript/codegen/package.json +++ b/generators/typescript/codegen/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@fern-api/core-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-fern/ir-sdk": "53.8.0", "@types/jest": "^29.5.12", "@types/node": "18.7.18", diff --git a/generators/typescript/codegen/src/ast/CodeBlock.ts b/generators/typescript/codegen/src/ast/CodeBlock.ts index 5188dacb210..b49e1bad82e 100644 --- a/generators/typescript/codegen/src/ast/CodeBlock.ts +++ b/generators/typescript/codegen/src/ast/CodeBlock.ts @@ -1,4 +1,4 @@ -import { CodeBlock as CommonCodeBlock } from "@fern-api/generator-commons"; +import { CodeBlock as CommonCodeBlock } from "@fern-api/base-generator"; import { AstNode } from "./core/AstNode"; import { Writer } from "./core/Writer"; diff --git a/generators/typescript/codegen/src/ast/core/AstNode.ts b/generators/typescript/codegen/src/ast/core/AstNode.ts index f1bf5a3886f..149f8d7bbbf 100644 --- a/generators/typescript/codegen/src/ast/core/AstNode.ts +++ b/generators/typescript/codegen/src/ast/core/AstNode.ts @@ -1,4 +1,4 @@ -import { AbstractAstNode } from "@fern-api/generator-commons"; +import { AbstractAstNode } from "@fern-api/base-generator"; import { Writer } from "./Writer"; import * as prettier from "prettier"; diff --git a/generators/typescript/codegen/src/ast/core/Writer.ts b/generators/typescript/codegen/src/ast/core/Writer.ts index 46e2b64fdab..b1baf759cf9 100644 --- a/generators/typescript/codegen/src/ast/core/Writer.ts +++ b/generators/typescript/codegen/src/ast/core/Writer.ts @@ -1,4 +1,4 @@ -import { AbstractWriter } from "@fern-api/generator-commons"; +import { AbstractWriter } from "@fern-api/base-generator"; import { Reference } from "../Reference"; type ModuleName = string; diff --git a/generators/typescript/codegen/tsconfig.json b/generators/typescript/codegen/tsconfig.json index 816c55164d8..d88e84c5ae9 100644 --- a/generators/typescript/codegen/tsconfig.json +++ b/generators/typescript/codegen/tsconfig.json @@ -6,6 +6,6 @@ { "path": "../../../packages/commons/core-utils" }, { "path": "../../../packages/commons/fs-utils" }, { "path": "../../../packages/commons/logging-execa" }, - { "path": "../../commons" } + { "path": "../../base" } ] } diff --git a/generators/typescript/express/sdk-error-schema-generator/tsconfig.json b/generators/typescript/express/sdk-error-schema-generator/tsconfig.json index 996a1884da8..68a8a70c332 100644 --- a/generators/typescript/express/sdk-error-schema-generator/tsconfig.json +++ b/generators/typescript/express/sdk-error-schema-generator/tsconfig.json @@ -8,7 +8,7 @@ "include": ["../express-error-schema-generator/src"], "references": [ { "path": "../../../abstract-schema-generator" }, - { "path": "../../../commons" }, + { "path": "../../../base" }, { "path": "../../../contexts" } ] } diff --git a/generators/typescript/sdk/cli/package.json b/generators/typescript/sdk/cli/package.json index e2957b9d5ee..22ae8a4290b 100644 --- a/generators/typescript/sdk/cli/package.json +++ b/generators/typescript/sdk/cli/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-fern/ir-sdk": "53.8.0", "@fern-typescript/abstract-generator-cli": "workspace:*", "@fern-typescript/commons": "workspace:*", diff --git a/generators/typescript/sdk/cli/src/SdkGeneratorCli.ts b/generators/typescript/sdk/cli/src/SdkGeneratorCli.ts index 9c8018a3a84..6d9c4510e45 100644 --- a/generators/typescript/sdk/cli/src/SdkGeneratorCli.ts +++ b/generators/typescript/sdk/cli/src/SdkGeneratorCli.ts @@ -1,5 +1,5 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; -import { FernGeneratorExec } from "@fern-api/generator-commons"; +import { FernGeneratorExec } from "@fern-api/base-generator"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { AbstractGeneratorCli } from "@fern-typescript/abstract-generator-cli"; import { JavaScriptRuntime, NpmPackage, PersistedTypescriptProject } from "@fern-typescript/commons"; diff --git a/generators/typescript/sdk/cli/tsconfig.json b/generators/typescript/sdk/cli/tsconfig.json index 71a1135c39c..c07c6a03fba 100644 --- a/generators/typescript/sdk/cli/tsconfig.json +++ b/generators/typescript/sdk/cli/tsconfig.json @@ -5,7 +5,7 @@ "exclude": ["./src/**/__test__/**/generated"], "references": [ { "path": "../../../../packages/commons/fs-utils" }, - { "path": "../../../commons" }, + { "path": "../../../base" }, { "path": "../../utils/abstract-generator-cli" }, { "path": "../../utils/commons" }, { "path": "../../utils/contexts" }, diff --git a/generators/typescript/sdk/generator/package.json b/generators/typescript/sdk/generator/package.json index e48f24c9942..9fa358cc545 100644 --- a/generators/typescript/sdk/generator/package.json +++ b/generators/typescript/sdk/generator/package.json @@ -30,7 +30,7 @@ "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", "@fern-api/typescript-codegen": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logger": "workspace:*", "@fern-fern/generator-cli-sdk": "0.0.17", "@fern-fern/generator-exec-sdk": "^0.0.898", diff --git a/generators/typescript/sdk/generator/src/SdkGenerator.ts b/generators/typescript/sdk/generator/src/SdkGenerator.ts index fa3bbe06286..bed1ab1ff30 100644 --- a/generators/typescript/sdk/generator/src/SdkGenerator.ts +++ b/generators/typescript/sdk/generator/src/SdkGenerator.ts @@ -57,7 +57,7 @@ import { TimeoutSdkErrorDeclarationReferencer } from "./declaration-referencers/ import { TypeDeclarationReferencer } from "./declaration-referencers/TypeDeclarationReferencer"; import { VersionDeclarationReferencer } from "./declaration-referencers/VersionDeclarationReferencer"; import { ReadmeConfigBuilder } from "./readme/ReadmeConfigBuilder"; -import { ReferenceConfigBuilder } from "@fern-api/generator-commons"; +import { ReferenceConfigBuilder } from "@fern-api/base-generator"; import { TypeScriptGeneratorAgent } from "./TypeScriptGeneratorAgent"; import { TemplateGenerator } from "./TemplateGenerator"; import { JestTestGenerator } from "./test-generator/JestTestGenerator"; diff --git a/generators/typescript/sdk/generator/src/TypeScriptGeneratorAgent.ts b/generators/typescript/sdk/generator/src/TypeScriptGeneratorAgent.ts index 97e0236ccb5..075d2c3d9c1 100644 --- a/generators/typescript/sdk/generator/src/TypeScriptGeneratorAgent.ts +++ b/generators/typescript/sdk/generator/src/TypeScriptGeneratorAgent.ts @@ -1,4 +1,4 @@ -import { AbstractGeneratorAgent } from "@fern-api/generator-commons"; +import { AbstractGeneratorAgent } from "@fern-api/base-generator"; import { Logger } from "@fern-api/logger"; import { FernGeneratorCli } from "@fern-fern/generator-cli-sdk"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; diff --git a/generators/typescript/sdk/generator/src/contexts/SdkContextImpl.ts b/generators/typescript/sdk/generator/src/contexts/SdkContextImpl.ts index cc9bdb03014..023d2072cc1 100644 --- a/generators/typescript/sdk/generator/src/contexts/SdkContextImpl.ts +++ b/generators/typescript/sdk/generator/src/contexts/SdkContextImpl.ts @@ -1,4 +1,4 @@ -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; import { Logger } from "@fern-api/logger"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { Constants, IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; diff --git a/generators/typescript/sdk/generator/src/readme/ReadmeSnippetBuilder.ts b/generators/typescript/sdk/generator/src/readme/ReadmeSnippetBuilder.ts index d45aa25532d..87dffb4715f 100644 --- a/generators/typescript/sdk/generator/src/readme/ReadmeSnippetBuilder.ts +++ b/generators/typescript/sdk/generator/src/readme/ReadmeSnippetBuilder.ts @@ -4,7 +4,7 @@ import { EndpointId, FeatureId, FernFilepath, HttpEndpoint, SdkRequestWrapper } import { getTextOfTsNode } from "@fern-typescript/commons"; import { SdkContext } from "@fern-typescript/contexts"; import { code, Code } from "ts-poet"; -import { AbstractReadmeSnippetBuilder } from "@fern-api/generator-commons"; +import { AbstractReadmeSnippetBuilder } from "@fern-api/base-generator"; import { isNonNullish } from "@fern-api/core-utils"; interface EndpointWithFilepath { diff --git a/generators/typescript/utils/abstract-generator-cli/package.json b/generators/typescript/utils/abstract-generator-cli/package.json index 6afa1c5631c..7fbec6d57f6 100644 --- a/generators/typescript/utils/abstract-generator-cli/package.json +++ b/generators/typescript/utils/abstract-generator-cli/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@fern-api/fs-utils": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-api/logger": "workspace:*", "@fern-fern/generator-exec-sdk": "^0.0.898", "@fern-fern/ir-sdk": "53.8.0", diff --git a/generators/typescript/utils/abstract-generator-cli/src/AbstractGeneratorCli.ts b/generators/typescript/utils/abstract-generator-cli/src/AbstractGeneratorCli.ts index d5e5377cdba..848f3932340 100644 --- a/generators/typescript/utils/abstract-generator-cli/src/AbstractGeneratorCli.ts +++ b/generators/typescript/utils/abstract-generator-cli/src/AbstractGeneratorCli.ts @@ -4,7 +4,7 @@ import { GeneratorNotificationService, parseGeneratorConfig, parseIR -} from "@fern-api/generator-commons"; +} from "@fern-api/base-generator"; import { CONSOLE_LOGGER, createLogger, Logger, LogLevel } from "@fern-api/logger"; import { IntermediateRepresentation } from "@fern-fern/ir-sdk/api"; import { NpmPackage, PersistedTypescriptProject } from "@fern-typescript/commons"; diff --git a/generators/typescript/utils/abstract-generator-cli/src/publishPackage.ts b/generators/typescript/utils/abstract-generator-cli/src/publishPackage.ts index 77c2ca8a8e1..2b42ebe382e 100644 --- a/generators/typescript/utils/abstract-generator-cli/src/publishPackage.ts +++ b/generators/typescript/utils/abstract-generator-cli/src/publishPackage.ts @@ -1,4 +1,4 @@ -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; import { Logger } from "@fern-api/logger"; import { FernGeneratorExec } from "@fern-fern/generator-exec-sdk"; import { NpmPackage, PersistedTypescriptProject } from "@fern-typescript/commons"; diff --git a/generators/typescript/utils/abstract-generator-cli/tsconfig.json b/generators/typescript/utils/abstract-generator-cli/tsconfig.json index 60c7cab93a0..2a39ae96076 100644 --- a/generators/typescript/utils/abstract-generator-cli/tsconfig.json +++ b/generators/typescript/utils/abstract-generator-cli/tsconfig.json @@ -5,7 +5,7 @@ "references": [ { "path": "../../../../packages/cli/logger" }, { "path": "../../../../packages/commons/fs-utils" }, - { "path": "../../../commons" }, + { "path": "../../../base" }, { "path": "../commons" }, { "path": "../contexts" } ] diff --git a/generators/typescript/utils/contexts/package.json b/generators/typescript/utils/contexts/package.json index ffd4b6a75ed..34f95fc84f8 100644 --- a/generators/typescript/utils/contexts/package.json +++ b/generators/typescript/utils/contexts/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@fern-api/logger": "workspace:*", - "@fern-api/generator-commons": "workspace:*", + "@fern-api/base-generator": "workspace:*", "@fern-fern/generator-exec-sdk": "^0.0.898", "@fern-fern/ir-sdk": "53.8.0", "@fern-typescript/commons": "workspace:*", diff --git a/generators/typescript/utils/contexts/src/sdk-context/SdkContext.ts b/generators/typescript/utils/contexts/src/sdk-context/SdkContext.ts index 5aa51d40217..c05084ab1ef 100644 --- a/generators/typescript/utils/contexts/src/sdk-context/SdkContext.ts +++ b/generators/typescript/utils/contexts/src/sdk-context/SdkContext.ts @@ -14,7 +14,7 @@ import { SdkErrorSchemaContext } from "./sdk-error-schema"; import { SdkInlinedRequestBodySchemaContext } from "./sdk-inlined-request-body-schema"; import { TimeoutSdkErrorContext } from "./timeout-sdk-error"; import { VersionContext } from "./version"; -import { GeneratorNotificationService } from "@fern-api/generator-commons"; +import { GeneratorNotificationService } from "@fern-api/base-generator"; import { Logger } from "@fern-api/logger"; export interface SdkContext extends ModelContext { diff --git a/package-yml.schema.json b/package-yml.schema.json index ea25e26f1c9..066469c46ac 100644 --- a/package-yml.schema.json +++ b/package-yml.schema.json @@ -517,6 +517,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -720,6 +730,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1053,6 +1073,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1209,6 +1239,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1294,6 +1334,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { 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/examples/ExampleTypeFactory.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts index 9c22aba86c0..5f84f90b58d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts @@ -125,6 +125,9 @@ export class ExampleTypeFactory { ) { return undefined; } + if (Object.is(example, null)) { + return undefined; + } const result = this.buildExampleHelper({ schema: schema.value, visitedSchemaIds, 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 813246030a3..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.", @@ -5897,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", @@ -5904,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.", @@ -6010,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.", @@ -6037,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", @@ -6044,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.", @@ -6074,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`.", @@ -6170,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.", @@ -6192,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.", @@ -6311,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.", @@ -6348,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.", @@ -6408,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`.", @@ -6493,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`.", @@ -6524,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.", @@ -6643,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.", @@ -6669,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 a2ba8aa0d7c..931c7890e17 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,6 +124,7 @@ "ActionMenuModulesResult": "map", "AdminConfig": { "docs": undefined, + "inline": undefined, "properties": { "config": { "docs": "Configuration settings", @@ -134,6 +137,7 @@ }, "AdminConfigConfig": { "docs": "Configuration settings", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -141,6 +145,7 @@ }, "AdminModules": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "List of admin modules", @@ -155,6 +160,7 @@ "AdminShutdown": "map", "AdminStatus": { "docs": undefined, + "inline": undefined, "properties": { "conductor": { "docs": "Conductor statistics", @@ -179,6 +185,7 @@ }, "AdminStatusConductor": { "docs": "Conductor statistics", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -186,6 +193,7 @@ }, "AdminStatusLiveliness": { "docs": undefined, + "inline": undefined, "properties": { "alive": { "docs": "Liveliness status", @@ -198,6 +206,7 @@ }, "AdminStatusReadiness": { "docs": undefined, + "inline": undefined, "properties": { "ready": { "docs": "Readiness status", @@ -210,6 +219,7 @@ }, "AdminStatusTiming": { "docs": "Timing results", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -217,6 +227,7 @@ }, "AttachDecorator": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Attachment identifier", @@ -258,6 +269,7 @@ }, "AttachDecoratorData": { "docs": undefined, + "inline": undefined, "properties": { "base64": { "docs": "Base64-encoded data", @@ -297,6 +309,7 @@ }, "AttachDecoratorData1Jws": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "AttachDecoratorDataJWSHeader", @@ -328,6 +341,7 @@ }, "AttachDecoratorDataJWS": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "optional", @@ -363,6 +377,7 @@ }, "AttachDecoratorDataJWSHeader": { "docs": undefined, + "inline": undefined, "properties": { "kid": { "docs": "Key identifier, in W3C did:key or DID URL format", @@ -385,6 +400,7 @@ }, "AttachmentDef": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Attachment identifier", @@ -417,6 +433,7 @@ }, "AttributeMimeTypesResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>>", @@ -429,6 +446,7 @@ "BasicMessageModuleResponse": "map", "ClaimFormat": { "docs": undefined, + "inline": undefined, "properties": { "jwt": { "type": "optional", @@ -455,6 +473,7 @@ }, "ClaimFormatJwtVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -462,6 +481,7 @@ }, "ClaimFormatJwtVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -469,6 +489,7 @@ }, "ClaimFormatLdpVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -476,6 +497,7 @@ }, "ClaimFormatLdpVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -483,6 +505,7 @@ }, "ConnRecord": { "docs": undefined, + "inline": undefined, "properties": { "accept": { "docs": "Connection acceptance: manual or auto", @@ -662,6 +685,7 @@ }, "ConnectionInvitation": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -708,6 +732,7 @@ }, "ConnectionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of connection records", @@ -720,6 +745,7 @@ }, "ConnectionMetadata": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Dictionary of metadata associated with connection.", @@ -732,6 +758,7 @@ }, "ConnectionMetadataResults": { "docs": "Dictionary of metadata associated with connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -740,6 +767,7 @@ "ConnectionModuleResponse": "map", "ConnectionStaticResult": { "docs": undefined, + "inline": undefined, "properties": { "my_did": { "docs": "Local DID", @@ -801,6 +829,7 @@ }, "Constraints": { "docs": undefined, + "inline": undefined, "properties": { "fields": { "type": "optional>", @@ -872,6 +901,7 @@ }, "CreateWalletResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -930,6 +960,7 @@ }, "CreateWalletResponseSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -937,6 +968,7 @@ }, "CreateWalletTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "Authorization token to authenticate wallet requests", @@ -949,6 +981,7 @@ }, "CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -969,6 +1002,7 @@ }, "CredDefValue": { "docs": undefined, + "inline": undefined, "properties": { "primary": { "type": "optional", @@ -983,6 +1017,7 @@ }, "CredDefValuePrimary": { "docs": undefined, + "inline": undefined, "properties": { "n": { "type": "optional", @@ -1030,6 +1065,7 @@ }, "CredDefValueRevocation": { "docs": undefined, + "inline": undefined, "properties": { "g": { "type": "optional", @@ -1071,6 +1107,7 @@ }, "CredInfoList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1082,6 +1119,7 @@ }, "CredRevIndyRecordsResult": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_delta": { "docs": "Indy revocation registry delta", @@ -1094,6 +1132,7 @@ }, "CredRevIndyRecordsResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1101,6 +1140,7 @@ }, "CredRevRecordDetailsResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1112,6 +1152,7 @@ }, "CredRevRecordResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1123,6 +1164,7 @@ }, "CredRevokedResult": { "docs": undefined, + "inline": undefined, "properties": { "revoked": { "docs": "Whether credential is revoked on the ledger", @@ -1135,6 +1177,7 @@ }, "Credential": { "docs": undefined, + "inline": undefined, "properties": { "@context": { "docs": "The JSON-LD context of the credential", @@ -1190,6 +1233,7 @@ }, "CredentialDefinition": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Credential definition identifier", @@ -1233,6 +1277,7 @@ }, "CredentialDefinitionGetResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition": { "type": "optional", @@ -1244,6 +1289,7 @@ }, "CredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_id": { "docs": "Credential definition identifier", @@ -1266,6 +1312,7 @@ }, "CredentialDefinitionsCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_ids": { "type": "optional>", @@ -1277,6 +1324,7 @@ }, "CredentialOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1303,6 +1351,7 @@ }, "CredentialPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -1320,6 +1369,7 @@ }, "CredentialProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1391,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", @@ -1403,6 +1454,7 @@ }, "DID": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1443,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.", @@ -1465,6 +1518,7 @@ }, "DIDEndpoint": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1493,6 +1547,7 @@ }, "DIDList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "DID list", @@ -1505,6 +1560,7 @@ }, "DIDResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1516,6 +1572,7 @@ }, "DIFField": { "docs": undefined, + "inline": undefined, "properties": { "filter": { "type": "optional", @@ -1542,6 +1599,7 @@ }, "DIFHolder": { "docs": undefined, + "inline": undefined, "properties": { "directive": { "docs": "Preference", @@ -1557,6 +1615,7 @@ }, "DIFOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "Challenge protect against replay attack", @@ -1579,6 +1638,7 @@ }, "DIFPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "issuer_id": { "docs": "Issuer identifier to sign the presentation, if different from current public DID", @@ -1602,6 +1662,7 @@ }, "DIFProofProposal": { "docs": undefined, + "inline": undefined, "properties": { "input_descriptors": { "type": "optional>", @@ -1616,6 +1677,7 @@ }, "DIFProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "options": { "type": "optional", @@ -1669,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", @@ -1676,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", @@ -1683,6 +1747,7 @@ }, "Disclose": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1703,6 +1768,7 @@ }, "Disclosures": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1723,6 +1789,7 @@ }, "Doc": { "docs": undefined, + "inline": undefined, "properties": { "credential": { "docs": "Credential to sign", @@ -1736,6 +1803,7 @@ }, "DocCredential": { "docs": "Credential to sign", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1747,6 +1815,7 @@ }, "EndorserInfo": { "docs": undefined, + "inline": undefined, "properties": { "endorser_did": { "docs": "Endorser DID", @@ -1763,6 +1832,7 @@ }, "EndpointsResult": { "docs": undefined, + "inline": undefined, "properties": { "my_endpoint": { "docs": "My endpoint", @@ -1791,6 +1861,7 @@ }, "Filter": { "docs": undefined, + "inline": undefined, "properties": { "const": { "docs": "Const", @@ -1846,6 +1917,7 @@ }, "Generated": { "docs": undefined, + "inline": undefined, "properties": { "master_secret": { "type": "optional", @@ -1881,6 +1953,7 @@ }, "GetDIDEndpointResponse": { "docs": undefined, + "inline": undefined, "properties": { "endpoint": { "docs": "Full verification key", @@ -1899,6 +1972,7 @@ }, "GetDIDVerkeyResponse": { "docs": undefined, + "inline": undefined, "properties": { "verkey": { "docs": "Full verification key", @@ -1917,6 +1991,7 @@ }, "GetNymRoleResponse": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "Ledger role", @@ -1944,6 +2019,7 @@ "HolderModuleResponse": "map", "IndyAttrValue": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Attribute encoded value", @@ -1966,6 +2042,7 @@ }, "IndyCredAbstract": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2009,6 +2086,7 @@ }, "IndyCredInfo": { "docs": undefined, + "inline": undefined, "properties": { "attrs": { "docs": "Attribute names and value", @@ -2065,6 +2143,7 @@ }, "IndyCredPrecis": { "docs": undefined, + "inline": undefined, "properties": { "cred_info": { "type": "optional", @@ -2090,6 +2169,7 @@ }, "IndyCredRequest": { "docs": undefined, + "inline": undefined, "properties": { "blinded_ms": { "docs": "Blinded master secret", @@ -2136,6 +2216,7 @@ }, "IndyCredRequestBlindedMs": { "docs": "Blinded master secret", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2143,6 +2224,7 @@ }, "IndyCredRequestBlindedMsCorrectnessProof": { "docs": "Blinded master secret correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2150,6 +2232,7 @@ }, "IndyCredential": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2208,6 +2291,7 @@ }, "IndyCredentialRevReg": { "docs": "Revocation registry state", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2215,6 +2299,7 @@ }, "IndyCredentialSignatureCorrectnessProof": { "docs": "Credential signature correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2226,6 +2311,7 @@ }, "IndyEQProof": { "docs": undefined, + "inline": undefined, "properties": { "a_prime": { "type": "optional", @@ -2276,6 +2362,7 @@ }, "IndyGEProof": { "docs": undefined, + "inline": undefined, "properties": { "alpha": { "type": "optional", @@ -2314,6 +2401,7 @@ }, "IndyGEProofPred": { "docs": undefined, + "inline": undefined, "properties": { "attr_name": { "docs": "Attribute name, indy-canonicalized", @@ -2346,6 +2434,7 @@ }, "IndyKeyCorrectnessProof": { "docs": undefined, + "inline": undefined, "properties": { "c": { "docs": "c in key correctness proof", @@ -2378,6 +2467,7 @@ }, "IndyNonRevocProof": { "docs": undefined, + "inline": undefined, "properties": { "c_list": { "type": "optional>", @@ -2392,6 +2482,7 @@ }, "IndyNonRevocationInterval": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2422,6 +2513,7 @@ }, "IndyPresAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "type": "optional", @@ -2455,6 +2547,7 @@ }, "IndyPresPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2509,6 +2602,7 @@ }, "IndyPresPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -2523,6 +2617,7 @@ }, "IndyPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "requested_attributes": { "docs": "Nested object mapping proof request attribute referents to requested-attribute specifiers", @@ -2547,6 +2642,7 @@ }, "IndyPrimaryProof": { "docs": undefined, + "inline": undefined, "properties": { "eq_proof": { "type": "optional", @@ -2566,6 +2662,7 @@ }, "IndyProof": { "docs": undefined, + "inline": undefined, "properties": { "identifiers": { "docs": "Indy proof.identifiers content", @@ -2584,6 +2681,7 @@ }, "IndyProofIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2633,6 +2731,7 @@ }, "IndyProofProof": { "docs": undefined, + "inline": undefined, "properties": { "aggregated_proof": { "type": "optional", @@ -2648,6 +2747,7 @@ }, "IndyProofProofAggregatedProof": { "docs": undefined, + "inline": undefined, "properties": { "c_hash": { "docs": "c_hash value", @@ -2664,6 +2764,7 @@ }, "IndyProofProofProofsProof": { "docs": undefined, + "inline": undefined, "properties": { "non_revoc_proof": { "type": "optional", @@ -2686,6 +2787,7 @@ }, "IndyProofReqAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2709,6 +2811,7 @@ }, "IndyProofReqAttrSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2739,6 +2842,7 @@ }, "IndyProofReqPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2766,6 +2870,7 @@ }, "IndyProofReqPredSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2820,6 +2925,7 @@ }, "IndyProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Proof request name", @@ -2863,6 +2969,7 @@ }, "IndyProofRequestNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2893,6 +3000,7 @@ }, "IndyProofRequestedProof": { "docs": undefined, + "inline": undefined, "properties": { "predicates": { "docs": "Proof requested proof predicates.", @@ -2921,6 +3029,7 @@ }, "IndyProofRequestedProofPredicate": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2933,6 +3042,7 @@ }, "IndyProofRequestedProofRevealedAttr": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -2959,6 +3069,7 @@ }, "IndyProofRequestedProofRevealedAttrGroup": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2975,6 +3086,7 @@ }, "IndyProofRequestedProofSelfAttestedAttrs": { "docs": "Proof requested proof self-attested attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2982,6 +3094,7 @@ }, "IndyProofRequestedProofUnrevealedAttrs": { "docs": "Unrevealed attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2989,6 +3102,7 @@ }, "IndyRequestedCredsRequestedAttr": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3005,6 +3119,7 @@ }, "IndyRequestedCredsRequestedPred": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3028,6 +3143,7 @@ }, "IndyRevRegDef": { "docs": undefined, + "inline": undefined, "properties": { "credDefId": { "docs": "Credential definition identifier", @@ -3077,6 +3193,7 @@ }, "IndyRevRegDefValue": { "docs": undefined, + "inline": undefined, "properties": { "issuanceType": { "docs": "Issuance type", @@ -3117,6 +3234,7 @@ }, "IndyRevRegDefValuePublicKeys": { "docs": undefined, + "inline": undefined, "properties": { "accumKey": { "type": "optional", @@ -3128,6 +3246,7 @@ }, "IndyRevRegDefValuePublicKeysAccumKey": { "docs": undefined, + "inline": undefined, "properties": { "z": { "docs": "Value for z", @@ -3140,6 +3259,7 @@ }, "IndyRevRegEntry": { "docs": undefined, + "inline": undefined, "properties": { "value": { "type": "optional", @@ -3161,6 +3281,7 @@ }, "IndyRevRegEntryValue": { "docs": undefined, + "inline": undefined, "properties": { "accum": { "docs": "Accumulator value", @@ -3181,6 +3302,7 @@ }, "InputDescriptors": { "docs": undefined, + "inline": undefined, "properties": { "constraints": { "type": "optional", @@ -3219,6 +3341,7 @@ "IntroModuleResponse": "map", "InvitationMessage": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3257,6 +3380,7 @@ }, "InvitationRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3316,6 +3440,7 @@ }, "InvitationResult": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -3336,6 +3461,7 @@ "IssueCredentialModuleResponse": "map", "IssuerCredRevRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3410,6 +3536,7 @@ }, "IssuerRevRegRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3528,6 +3655,7 @@ }, "Keylist": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of keylist records", @@ -3540,6 +3668,7 @@ }, "KeylistQuery": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3563,6 +3692,7 @@ }, "KeylistQueryFilter": { "docs": "Query dictionary object", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3570,6 +3700,7 @@ }, "KeylistQueryPaginate": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "Limit for keylist query", @@ -3586,6 +3717,7 @@ }, "KeylistUpdate": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3606,6 +3738,7 @@ }, "KeylistUpdateRule": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "Action for specific key", @@ -3638,6 +3771,7 @@ }, "LDProofVCDetail": { "docs": undefined, + "inline": undefined, "properties": { "credential": "LdProofVcDetailCredential", "options": "LdProofVcDetailOptions", @@ -3648,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)", @@ -3697,6 +3832,7 @@ }, "LedgerConfigInstance": { "docs": undefined, + "inline": undefined, "properties": { "genesis_file": { "docs": "genesis_file", @@ -3725,6 +3861,7 @@ }, "LedgerConfigList": { "docs": undefined, + "inline": undefined, "properties": { "ledger_config_list": "list", }, @@ -3735,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", @@ -3797,6 +3935,7 @@ }, "MediationDeny": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3819,6 +3958,7 @@ }, "MediationGrant": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3842,6 +3982,7 @@ }, "MediationList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of mediation records", @@ -3854,6 +3995,7 @@ }, "MediationRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": "string", "created_at": { @@ -3903,6 +4045,7 @@ }, "Menu": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3935,6 +4078,7 @@ }, "MenuForm": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu form", @@ -3959,6 +4103,7 @@ }, "MenuFormParam": { "docs": undefined, + "inline": undefined, "properties": { "default": { "docs": "Default parameter value", @@ -3991,6 +4136,7 @@ }, "MenuJson": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Introductory text for the menu", @@ -4015,6 +4161,7 @@ }, "MenuOption": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu option", @@ -4043,6 +4190,7 @@ "MultitenantModuleResponse": "map", "OobRecord": { "docs": undefined, + "inline": undefined, "properties": { "attach_thread_id": { "docs": "Connection record identifier", @@ -4144,6 +4292,7 @@ }, "PingRequestResponse": { "docs": undefined, + "inline": undefined, "properties": { "thread_id": { "docs": "Thread ID of the ping message", @@ -4156,6 +4305,7 @@ }, "PresentationDefinition": { "docs": undefined, + "inline": undefined, "properties": { "format": { "type": "optional", @@ -4191,6 +4341,7 @@ }, "PresentationProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4214,6 +4365,7 @@ }, "PresentationRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4237,6 +4389,7 @@ }, "ProtocolDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "pid": "string", "roles": { @@ -4250,6 +4403,7 @@ }, "PublishRevocations": { "docs": undefined, + "inline": undefined, "properties": { "rrid2crid": { "docs": "Credential revocation ids by revocation registry id", @@ -4262,6 +4416,7 @@ }, "Queries": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4281,6 +4436,7 @@ }, "Query": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4301,6 +4457,7 @@ }, "QueryItem": { "docs": undefined, + "inline": undefined, "properties": { "feature-type": { "docs": "feature type", @@ -4330,6 +4487,7 @@ }, "RawEncoded": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -4352,6 +4510,7 @@ }, "ResolutionResult": { "docs": undefined, + "inline": undefined, "properties": { "did_document": { "docs": "DID Document", @@ -4368,6 +4527,7 @@ }, "ResolutionResultDidDocument": { "docs": "DID Document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4375,6 +4535,7 @@ }, "ResolutionResultMetadata": { "docs": "Resolution metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4382,6 +4543,7 @@ }, "RevRegIssuedResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "Number of credentials issued against revocation registry", @@ -4401,6 +4563,7 @@ }, "RevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4412,6 +4575,7 @@ }, "RevRegWalletUpdatedResult": { "docs": undefined, + "inline": undefined, "properties": { "accum_calculated": { "docs": "Calculated accumulator for phantom revocations", @@ -4432,6 +4596,7 @@ }, "RevRegWalletUpdatedResultAccumCalculated": { "docs": "Calculated accumulator for phantom revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4439,6 +4604,7 @@ }, "RevRegWalletUpdatedResultAccumFixed": { "docs": "Applied ledger transaction to fix revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4446,6 +4612,7 @@ }, "RevRegWalletUpdatedResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4453,6 +4620,7 @@ }, "RevRegsCreated": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_ids": { "type": "optional>", @@ -4465,6 +4633,7 @@ "RevocationModuleResponse": "map", "RouteRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "type": "optional", @@ -4510,6 +4679,7 @@ }, "Schema": { "docs": undefined, + "inline": undefined, "properties": { "attrNames": { "docs": "Schema attribute names", @@ -4567,6 +4737,7 @@ }, "SchemaGetResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4578,6 +4749,7 @@ }, "SchemaInputDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "required": { "docs": "Required", @@ -4594,6 +4766,7 @@ }, "SchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4619,6 +4792,7 @@ }, "SchemasCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "schema_ids": { "type": "optional>", @@ -4630,6 +4804,7 @@ }, "SchemasInputDescriptorFilter": { "docs": undefined, + "inline": undefined, "properties": { "oneof_filter": { "docs": "oneOf", @@ -4649,6 +4824,7 @@ }, "ServiceDecorator": { "docs": undefined, + "inline": undefined, "properties": { "recipientKeys": { "docs": "List of recipient keys", @@ -4669,6 +4845,7 @@ }, "SignResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -4685,6 +4862,7 @@ }, "SignResponseSignedDoc": { "docs": "Signed document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4692,6 +4870,7 @@ }, "SignatureOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "type": "optional", @@ -4711,6 +4890,7 @@ }, "SignedDoc": { "docs": undefined, + "inline": undefined, "properties": { "proof": "SignedDocProof", }, @@ -4724,6 +4904,7 @@ }, "SubmissionRequirements": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Count Value", @@ -4763,6 +4944,7 @@ }, "TAAAcceptance": { "docs": undefined, + "inline": undefined, "properties": { "mechanism": { "type": "optional", @@ -4784,6 +4966,7 @@ }, "TAAInfo": { "docs": undefined, + "inline": undefined, "properties": { "aml_record": { "type": "optional", @@ -4804,6 +4987,7 @@ }, "TAARecord": { "docs": undefined, + "inline": undefined, "properties": { "digest": { "type": "optional", @@ -4821,6 +5005,7 @@ }, "TAAResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4832,6 +5017,7 @@ }, "TailsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "type": "optional", @@ -4843,6 +5029,7 @@ }, "TransactionJobs": { "docs": undefined, + "inline": undefined, "properties": { "transaction_my_job": { "docs": "My transaction related job", @@ -4881,6 +5068,7 @@ }, "TransactionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of transaction records", @@ -4893,6 +5081,7 @@ }, "TransactionRecord": { "docs": undefined, + "inline": undefined, "properties": { "_type": { "docs": "Transaction type", @@ -4967,6 +5156,7 @@ }, "TransactionRecordMessagesAttachItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4974,6 +5164,7 @@ }, "TransactionRecordMetaData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4981,6 +5172,7 @@ }, "TransactionRecordSignatureRequestItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4988,6 +5180,7 @@ }, "TransactionRecordSignatureResponseItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4995,6 +5188,7 @@ }, "TransactionRecordTiming": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5002,6 +5196,7 @@ }, "TxnOrCredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5020,6 +5215,7 @@ }, "TxnOrPublishRevocationsResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5038,6 +5234,7 @@ }, "TxnOrRegisterLedgerNymResponse": { "docs": undefined, + "inline": undefined, "properties": { "success": { "docs": "Success of nym registration operation", @@ -5057,6 +5254,7 @@ }, "TxnOrRevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5075,6 +5273,7 @@ }, "TxnOrSchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5101,6 +5300,7 @@ }, "V10CredentialExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5251,6 +5451,7 @@ }, "V10CredentialExchangeCredentialRequestMetadata": { "docs": "(Indy) credential request metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5268,6 +5469,7 @@ }, "V10CredentialExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries#0036 v1.0 credential exchange records", @@ -5294,6 +5496,7 @@ }, "V10DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -5309,6 +5512,7 @@ }, "V10DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -5372,6 +5576,7 @@ "V10PresentProofModuleResponse": "map", "V10PresentationExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -5469,6 +5674,7 @@ }, "V10PresentationExchangeList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries RFC 37 v1.0 presentation exchange records", @@ -5517,6 +5723,7 @@ }, "V20CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -5545,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)", @@ -5583,6 +5791,7 @@ }, "V20CredExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5677,6 +5886,7 @@ }, "V20CredExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "cred_issue": { "type": "optional", @@ -5697,6 +5907,7 @@ }, "V20CredExRecordByFormatCredIssue": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5704,6 +5915,7 @@ }, "V20CredExRecordByFormatCredOffer": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5711,6 +5923,7 @@ }, "V20CredExRecordByFormatCredProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5718,6 +5931,7 @@ }, "V20CredExRecordByFormatCredRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5745,6 +5959,7 @@ }, "V20CredExRecordDetail": { "docs": undefined, + "inline": undefined, "properties": { "cred_ex_record": { "type": "optional", @@ -5766,6 +5981,7 @@ }, "V20CredExRecordIndy": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5834,6 +6050,7 @@ }, "V20CredExRecordIndyCredRequestMetadata": { "docs": "Credential request metadata for indy holder", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5851,6 +6068,7 @@ }, "V20CredExRecordLdProof": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5895,6 +6113,7 @@ }, "V20CredExRecordListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Credential exchange records and corresponding detail records", @@ -5964,6 +6183,7 @@ }, "V20CredFilter": { "docs": undefined, + "inline": undefined, "properties": { "indy": { "type": "optional", @@ -5978,6 +6198,7 @@ }, "V20CredFilterIndy": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -6044,6 +6265,7 @@ }, "V20CredFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6060,6 +6282,7 @@ }, "V20CredIssue": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6092,6 +6315,7 @@ }, "V20CredOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6127,6 +6351,7 @@ }, "V20CredPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -6140,6 +6365,7 @@ }, "V20CredProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6175,6 +6401,7 @@ }, "V20CredRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6207,6 +6434,7 @@ }, "V20DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6222,6 +6450,7 @@ }, "V20DiscoveryExchangeResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional", @@ -6233,6 +6462,7 @@ }, "V20DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -6296,6 +6526,7 @@ "V20IssueCredentialModuleResponse": "map", "V20Pres": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6323,6 +6554,7 @@ }, "V20PresExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -6410,6 +6642,7 @@ }, "V20PresExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "pres": { "type": "optional", @@ -6427,6 +6660,7 @@ }, "V20PresExRecordByFormatPresProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6434,6 +6668,7 @@ }, "V20PresExRecordByFormatPresRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6451,6 +6686,7 @@ }, "V20PresExRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Presentation exchange records", @@ -6530,6 +6766,7 @@ }, "V20PresFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6546,6 +6783,7 @@ }, "V20PresProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6573,6 +6811,7 @@ }, "V20PresProposalByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6595,6 +6834,7 @@ }, "V20PresRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6626,6 +6866,7 @@ }, "V20PresRequestByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6657,6 +6898,7 @@ "V20PresentProofModuleResponse": "map", "VCRecord": { "docs": undefined, + "inline": undefined, "properties": { "contexts": { "type": "optional>", @@ -6699,6 +6941,7 @@ }, "VCRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6710,6 +6953,7 @@ }, "VcRecordCredValue": { "docs": "(JSON-serializable) credential value", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6721,6 +6965,7 @@ }, "VerifyResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -6734,6 +6979,7 @@ }, "WalletList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of wallet records", @@ -6747,6 +6993,7 @@ "WalletModuleResponse": "map", "WalletRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -6801,6 +7048,7 @@ }, "WalletRecordSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6808,6 +7056,7 @@ }, "WriteLedgerRequest": { "docs": undefined, + "inline": undefined, "properties": { "ledger_id": { "type": "optional", @@ -6839,6 +7088,7 @@ }, "jwt": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6846,6 +7096,7 @@ }, "ldp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6853,6 +7104,7 @@ }, "metadata": { "docs": "Metadata dictionary", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6870,6 +7122,7 @@ }, "pres": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6887,6 +7140,7 @@ }, "signature": { "docs": "Credential signature", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6894,6 +7148,7 @@ }, "witness": { "docs": "Witness for revocation proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6978,6 +7233,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminConfig: properties: config: @@ -6999,11 +7255,13 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminStatusTiming: docs: Timing results properties: {} source: openapi: ../openapi.yml + inline: true AdminStatus: properties: conductor: @@ -7159,26 +7417,32 @@ 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: @@ -7361,6 +7625,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ConnectionMetadata: properties: results: @@ -7465,6 +7730,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CreateWalletResponse: properties: created_at: @@ -7585,6 +7851,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CredRevIndyRecordsResult: properties: rev_reg_delta: @@ -7929,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 @@ -7936,6 +8204,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true DIFPresSpec: properties: issuer_id: @@ -8004,6 +8273,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true Doc: properties: credential: @@ -8214,11 +8484,13 @@ 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: @@ -8251,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: @@ -8690,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: @@ -8871,6 +9149,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true InputDescriptors: properties: constraints: @@ -9105,6 +9384,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true KeylistQuery: properties: '@id': @@ -9642,11 +9922,13 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResultMetadata: docs: Resolution metadata properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResult: properties: did_document: @@ -9677,16 +9959,19 @@ 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: @@ -9829,6 +10114,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true SignResponse: properties: error: @@ -9971,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: @@ -10084,6 +10375,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V10CredentialExchangeInitiator: enum: - self @@ -10477,18 +10769,22 @@ 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: @@ -10516,6 +10812,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordIndy: properties: created_at: @@ -10922,14 +11219,17 @@ 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: @@ -11018,6 +11318,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true VCRecord: properties: contexts: @@ -11080,6 +11381,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true WalletRecord: properties: created_at: @@ -11379,23 +11681,7 @@ types: "conn_id": "conn_id", }, "response": { - "body": { - "result": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "description": "This menu presents options", - "errormsg": "Error: item not found", - "options": [ - { - "description": "Window display preferences", - "disabled": false, - "name": "window_prefs", - "title": "Window Preferences", - }, - ], - "title": "My Menu", - }, - }, + "body": {}, }, }, ], @@ -11612,18 +11898,7 @@ service: - path-parameters: conn_id: conn_id response: - body: - result: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - description: This menu presents options - errormsg: 'Error: item not found' - options: - - description: Window display preferences - disabled: false - name: window_prefs - title: Window Preferences - title: My Menu + body: {} perform_action_by_conn_id: path: /action-menu/{conn_id}/perform method: POST @@ -12737,6 +13012,7 @@ docs: Simple messaging "types": { "ConnectionMetadataSetRequestMetadata": { "docs": "Dictionary of metadata to set for connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12744,6 +13020,7 @@ docs: Simple messaging }, "CreateInvitationRequestMetadata": { "docs": "Optional metadata to attach to the connection created with the invitation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12828,11 +13105,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: @@ -13575,27 +13854,6 @@ docs: Connection management "type": { "key": "value", }, - "value": { - "primary": { - "n": "0", - "rctxt": "0", - "s": "0", - "z": "0", - }, - "revocation": { - "g": "1 1F14F&ECB578F 2 095E45DDF417D", - "g_dash": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D", - "h": "1 16675DAE54BFAE8 2 095E45DD417D", - "h0": "1 21E5EF9476EAF18 2 095E45DDF417D", - "h1": "1 236D1D99236090 2 095E45DDF417D", - "h2": "1 1C3AE8D1F1E277 2 095E45DDF417D", - "h_cap": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000", - "htilde": "1 1D8549E8C0F8 2 095E45DDF417D", - "pk": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D", - "u": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000", - "y": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000", - }, - }, "ver": "1.0", }, }, @@ -13636,39 +13894,6 @@ docs: Connection management "sent": { "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -13751,27 +13976,6 @@ docs: Connection management "type": { "key": "value", }, - "value": { - "primary": { - "n": "0", - "rctxt": "0", - "s": "0", - "z": "0", - }, - "revocation": { - "g": "1 1F14F&ECB578F 2 095E45DDF417D", - "g_dash": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D", - "h": "1 16675DAE54BFAE8 2 095E45DD417D", - "h0": "1 21E5EF9476EAF18 2 095E45DDF417D", - "h1": "1 236D1D99236090 2 095E45DDF417D", - "h2": "1 1C3AE8D1F1E277 2 095E45DDF417D", - "h_cap": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000", - "htilde": "1 1D8549E8C0F8 2 095E45DDF417D", - "pk": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D", - "u": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000", - "y": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000", - }, - }, "ver": "1.0", }, }, @@ -13857,30 +14061,6 @@ service: body: sent: credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' get_created_cred_defs: path: /credential-definitions/created method: GET @@ -13957,24 +14137,6 @@ service: tag: tag type: key: value - value: - primary: - 'n': '0' - rctxt: '0' - s: '0' - z: '0' - revocation: - g: 1 1F14F&ECB578F 2 095E45DDF417D - g_dash: 1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D - h: 1 16675DAE54BFAE8 2 095E45DD417D - h0: 1 21E5EF9476EAF18 2 095E45DDF417D - h1: 1 236D1D99236090 2 095E45DDF417D - h2: 1 1C3AE8D1F1E277 2 095E45DDF417D - h_cap: 1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000 - htilde: 1 1D8549E8C0F8 2 095E45DDF417D - pk: 1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D - u: 1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000 - 'y': 1 153558BD903312 2 095E45DDF417D 1 0000000000000000 ver: '1.0' write_credential_definition: path: /credential-definitions/{cred_def_id}/write_record @@ -14001,24 +14163,6 @@ service: tag: tag type: key: value - value: - primary: - 'n': '0' - rctxt: '0' - s: '0' - z: '0' - revocation: - g: 1 1F14F&ECB578F 2 095E45DDF417D - g_dash: 1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D - h: 1 16675DAE54BFAE8 2 095E45DD417D - h0: 1 21E5EF9476EAF18 2 095E45DDF417D - h1: 1 236D1D99236090 2 095E45DDF417D - h2: 1 1C3AE8D1F1E277 2 095E45DDF417D - h_cap: 1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000 - htilde: 1 1D8549E8C0F8 2 095E45DDF417D - pk: 1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D - u: 1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000 - 'y': 1 153558BD903312 2 095E45DDF417D 1 0000000000000000 ver: '1.0' source: openapi: ../openapi.yml @@ -15168,25 +15312,6 @@ docs: Holder credential management "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "@type": "https://didcomm.org/my-family/1.0/my-message-type", "did": "WgWxqztrNooG92RXvxSTWv", - "did_doc~attach": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, "label": "Request to connect with Bob", }, "response": { @@ -15417,22 +15542,6 @@ service: '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 '@type': https://didcomm.org/my-family/1.0/my-message-type did: WgWxqztrNooG92RXvxSTWv - did_doc~attach: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png label: Request to connect with Bob response: body: @@ -15591,21 +15700,7 @@ docs: Connection management via DID exchange { "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "disclose": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "protocols": [ - { - "pid": "pid", - }, - ], - }, "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "query_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "query": "query", - }, "state": "active", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "trace": true, @@ -15614,21 +15709,7 @@ docs: Connection management via DID exchange { "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "disclose": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "protocols": [ - { - "pid": "pid", - }, - ], - }, "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "query_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "query": "query", - }, "state": "active", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "trace": true, @@ -15669,22 +15750,7 @@ docs: Connection management via DID exchange "body": { "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "disclose": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "protocols": [ - { - "pid": "pid", - }, - ], - }, "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "query_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "query": "query", - }, "state": "active", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "trace": true, @@ -15762,17 +15828,7 @@ service: body: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - disclose: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - protocols: - - pid: pid discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - query_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - query: query state: active thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 trace: true @@ -15799,32 +15855,14 @@ service: results: - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - disclose: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - protocols: - - pid: pid discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - query_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - query: query state: active thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 trace: true updated_at: '2021-12-31 23:59:59+00:00' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - disclose: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - protocols: - - pid: pid discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - query_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - query: query state: active thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 trace: true @@ -15932,36 +15970,7 @@ docs: Feature discovery "examples": [ { "response": { - "body": { - "results": { - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "disclosures": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "disclosures": [ - { - "key": "value", - }, - ], - }, - "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "queries_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "queries": [ - { - "feature-type": "protocol", - "match": "match", - }, - ], - }, - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, - }, + "body": {}, }, }, ], @@ -16031,26 +16040,7 @@ service: type: root.V20DiscoveryExchangeResult examples: - response: - body: - results: - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - disclosures: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - disclosures: - - key: value - discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - queries_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - queries: - - feature-type: protocol - match: match - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' + body: {} get_v20_feature_records: path: /discover-features-2.0/records method: GET @@ -17285,123 +17275,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -17540,123 +17419,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -17769,123 +17537,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -17930,119 +17587,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18058,119 +17608,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18248,123 +17691,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18474,123 +17806,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18650,123 +17871,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18836,123 +17946,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19102,123 +18101,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19332,123 +18220,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19581,123 +18358,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19871,95 +18537,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20030,95 +18613,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20165,90 +18665,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20262,90 +18684,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20378,95 +18722,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20529,95 +18790,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20686,95 +18864,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20807,95 +18902,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20937,95 +18949,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21127,95 +19056,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21292,95 +19138,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21482,95 +19245,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21654,181 +19334,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -21915,181 +19420,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22188,197 +19518,6 @@ types: }, "response": { "body": { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22428,193 +19567,6 @@ types: "body": { "results": [ { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22635,193 +19587,6 @@ types: }, }, { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22904,197 +19669,6 @@ types: }, "response": { "body": { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23206,23 +19780,7 @@ types: "path-parameters": { "cred_ex_id": "cred_ex_id", }, - "request": { - "counter_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - }, + "request": {}, "response": { "body": { "auto_issue": false, @@ -23231,181 +19789,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23472,181 +19855,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23728,181 +19936,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23969,181 +20002,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -24245,181 +20103,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -24483,196 +20166,21 @@ types: ], }, "options": { - "proofType": "Ed25519Signature2018", - }, - }, - }, - "holder_did": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", - "trace": false, - }, - "response": { - "body": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], + "proofType": "Ed25519Signature2018", + }, }, + }, + "holder_did": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", + "trace": false, + }, + "response": { + "body": { + "auto_issue": false, + "auto_offer": false, + "auto_remove": false, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -24748,197 +20256,6 @@ types: }, "response": { "body": { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -25114,127 +20431,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25301,127 +20497,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25463,139 +20538,7 @@ service: - response: body: results: - - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' - indy: + - indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 cred_ex_indy_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25612,139 +20555,7 @@ service: cred_id_stored: 3fa85f64-5717-4562-b3fc-2c963f66afa6 state: active updated_at: '2021-12-31 23:59:59+00:00' - - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' - indy: + - indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 cred_ex_indy_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25780,142 +20591,6 @@ service: cred_ex_id: cred_ex_id response: body: - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25971,153 +20646,17 @@ service: comment: type: optional docs: Human-readable comment - content-type: application/json - response: - docs: '' - type: root.V20CredExRecordDetail - examples: - - path-parameters: - cred_ex_id: cred_ex_id - request: - comment: comment - response: - body: - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' + content-type: application/json + response: + docs: '' + type: root.V20CredExRecordDetail + examples: + - path-parameters: + cred_ex_id: cred_ex_id + request: + comment: comment + response: + body: indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26189,16 +20728,7 @@ service: examples: - path-parameters: cred_ex_id: cred_ex_id - request: - counter_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini + request: {} response: body: auto_issue: false @@ -26207,127 +20737,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26371,127 +20780,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26528,142 +20816,6 @@ service: credential_id: credential_id response: body: - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26705,142 +20857,21 @@ service: attributes: - mime-type: image/jpeg name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filter: {} - trace: true - verification_method: verification_method - response: - body: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png + value: martini + - mime-type: image/jpeg + name: favourite_drink + value: martini + filter: {} + trace: true + verification_method: verification_method + response: + body: + auto_issue: false + auto_offer: false + auto_remove: false + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + created_at: '2021-12-31 23:59:59+00:00' + cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26913,127 +20944,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -27081,127 +20991,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -27244,161 +21033,40 @@ service: type: optional docs: Whether to trace event (default false) content-type: application/json - response: - docs: '' - type: root.V20CredExRecord - examples: - - request: - auto_remove: true - comment: comment - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - filter: - ld_proof: - credential: - '@context': - - key: value - - key: value - credentialSubject: - key: value - issuanceDate: '2010-01-01 19:23:24+00:00' - issuer: - key: value - type: - - VerifiableCredential - - AlumniCredential - options: - proofType: Ed25519Signature2018 - holder_did: did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs - trace: false - response: - body: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png + response: + docs: '' + type: root.V20CredExRecord + examples: + - request: + auto_remove: true + comment: comment + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + filter: + ld_proof: + credential: + '@context': + - key: value + - key: value + credentialSubject: + key: value + issuanceDate: '2010-01-01 19:23:24+00:00' + issuer: + key: value + type: + - VerifiableCredential + - AlumniCredential + options: + proofType: Ed25519Signature2018 + holder_did: did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs + trace: false + response: + body: + auto_issue: false + auto_offer: false + auto_remove: false + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + created_at: '2021-12-31 23:59:59+00:00' + cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -27946,39 +21614,6 @@ docs: Sign and verify json-ld data "response": { "body": { "success": true, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -28272,30 +21907,6 @@ service: response: body: success: true - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' rotate_public_did_keypair: path: /ledger/rotate-public-did-keypair method: PATCH @@ -28934,10 +22545,6 @@ docs: Interaction with ledger "body": { "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "paginate": { - "limit": 30, - "offset": 0, - }, }, }, }, @@ -29200,6 +22807,7 @@ docs: Interaction with ledger }, "KeylistQueryFilterRequestFilter": { "docs": "Filter for keylist query", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -29351,9 +22959,6 @@ service: body: '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 '@type': https://didcomm.org/my-family/1.0/my-message-type - paginate: - limit: 30 - offset: 0 send_keylist_update_to_mediator: path: /mediation/keylists/{mediation_id}/send-keylist-update method: POST @@ -29741,6 +23346,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true GetMatchingMediationRecordsRequestState: enum: - request @@ -30510,77 +24116,6 @@ docs: Multitenant wallet management "body": { "created_at": "2021-12-31 23:59:59+00:00", "invi_msg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "invitation": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "accept": [ - "didcomm/aip1", - "didcomm/aip2;env=rfc19", - ], - "handshake_protocols": [ - "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - ], - "imageUrl": "http://192.168.56.101/img/logo.jpg", - "label": "Bob", - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "services": [ - { - "did": "WgWxqztrNooG92RXvxSTWv", - "id": "string", - "recipientKeys": [ - "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - ], - "routingKeys": [ - "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - ], - "serviceEndpoint": "http://192.168.56.101:8020", - "type": "string", - }, - { - "key": "value", - }, - ], - }, "invitation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "invitation_url": "https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=", "oob_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -30888,6 +24423,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", @@ -30903,6 +24439,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -30984,58 +24521,6 @@ service: body: created_at: '2021-12-31 23:59:59+00:00' invi_msg_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - invitation: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - accept: - - didcomm/aip1 - - didcomm/aip2;env=rfc19 - handshake_protocols: - - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0 - - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0 - imageUrl: http://192.168.56.101/img/logo.jpg - label: Bob - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - services: - - did: WgWxqztrNooG92RXvxSTWv - id: string - recipientKeys: - - did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH - routingKeys: - - did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH - serviceEndpoint: http://192.168.56.101:8020 - type: string - - key: value invitation_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 invitation_url: >- https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0= @@ -31249,154 +24734,31 @@ docs: Out-of-band connections "requested_predicates": { "key": { "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "trace": false, - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, - "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", + "p_type": ">=", + "p_value": 0, + "restrictions": [ + { + "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], + { + "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + }, + ], + }, }, + "version": "1.0", + }, + "trace": false, + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -31497,105 +24859,6 @@ docs: Out-of-band connections "error_msg": "Invalid structure", "initiator": "self", "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -31615,105 +24878,6 @@ docs: Out-of-band connections "error_msg": "Invalid structure", "initiator": "self", "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -31786,20 +24950,6 @@ docs: Out-of-band connections "response": { "body": [ { - "cred_info": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "interval": { - "from": 1640995199, - "to": 1640995199, - }, "presentation_referents": [ "1_age_uuid", "1_age_uuid", @@ -31882,130 +25032,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32142,130 +25169,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32363,146 +25267,23 @@ docs: Out-of-band connections }, { "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - "trace": false, - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, - "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, + "name": "high_score", + "predicate": ">=", + "threshold": 0, }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, + ], + }, + "trace": false, + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32599,130 +25380,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32781,130 +25439,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32950,152 +25485,29 @@ docs: Out-of-band connections "response": { "docs": "", "type": "root.V10PresentationExchange", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "verify_received_presentation": { - "auth": true, - "display-name": "Verify a received presentation", - "docs": undefined, - "examples": [ - { - "path-parameters": { - "pres_ex_id": "pres_ex_id", - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, - "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "verify_received_presentation": { + "auth": true, + "display-name": "Verify a received presentation", + "docs": undefined, + "examples": [ + { + "path-parameters": { + "pres_ex_id": "pres_ex_id", + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -33225,88 +25637,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33356,72 +25687,6 @@ service: error_msg: Invalid structure initiator: self presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33438,72 +25703,6 @@ service: error_msg: Invalid structure initiator: self presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33538,88 +25737,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33689,19 +25807,7 @@ service: pres_ex_id: pres_ex_id response: body: - - cred_info: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - interval: - from: 1640995199 - to: 1640995199 - presentation_referents: + - presentation_referents: - 1_age_uuid - 1_age_uuid report_pres_ex_problem: @@ -33773,88 +25879,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33903,88 +25928,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34019,88 +25963,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34180,88 +26043,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34336,88 +26118,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34473,154 +26174,19 @@ types: { "request": { "auto_verify": false, - "comment": "comment", - "presentation_request": { - "indy": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - }, - "trace": false, - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, + "comment": "comment", + "presentation_request": {}, + "trace": false, + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -34720,100 +26286,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -34832,100 +26305,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -34998,20 +26378,6 @@ types: "response": { "body": [ { - "cred_info": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "interval": { - "from": 1640995199, - "to": 1640995199, - }, "presentation_referents": [ "1_age_uuid", "1_age_uuid", @@ -35044,154 +26410,57 @@ types: }, }, "extra_query": { - "docs": "(JSON) object mapping referents to extra WQL queries", - "type": "optional", - "validation": { - "format": undefined, - "maxLength": undefined, - "minLength": undefined, - "pattern": "^{\s*".*?"\s*:\s*{.*?}\s*(,\s*".*?"\s*:\s*{.*?}\s*)*\s*}$", - }, - }, - "referent": { - "docs": "Proof request referents of interest, comma-separated", - "type": "optional", - }, - "start": { - "docs": "Start index", - "type": "optional", - "validation": { - "format": undefined, - "maxLength": undefined, - "minLength": undefined, - "pattern": "^[0-9]*$", - }, - }, - }, - }, - "response": { - "docs": "", - "type": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "get_pres_ex_record": { - "auth": true, - "display-name": "Fetch a single presentation exchange record", - "docs": undefined, - "examples": [ - { - "path-parameters": { - "pres_ex_id": "pres_ex_id", - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, + "docs": "(JSON) object mapping referents to extra WQL queries", + "type": "optional", + "validation": { + "format": undefined, + "maxLength": undefined, + "minLength": undefined, + "pattern": "^{\s*".*?"\s*:\s*{.*?}\s*(,\s*".*?"\s*:\s*{.*?}\s*)*\s*}$", + }, + }, + "referent": { + "docs": "Proof request referents of interest, comma-separated", + "type": "optional", + }, + "start": { + "docs": "Start index", + "type": "optional", + "validation": { + "format": undefined, + "maxLength": undefined, + "minLength": undefined, + "pattern": "^[0-9]*$", + }, + }, + }, + }, + "response": { + "docs": "", + "type": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "get_pres_ex_record": { + "auth": true, + "display-name": "Fetch a single presentation exchange record", + "docs": undefined, + "examples": [ + { + "path-parameters": { + "pres_ex_id": "pres_ex_id", + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35281,45 +26550,7 @@ types: "auto_verify": false, "comment": "comment", "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_request": { - "indy": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - }, + "presentation_request": {}, "trace": false, }, "response": { @@ -35330,104 +26561,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35498,153 +26632,18 @@ types: "auto_present": true, "comment": "comment", "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal": { - "indy": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - }, + "presentation_proposal": {}, "trace": false, }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35716,24 +26715,6 @@ types: "pres_ex_id": "pres_ex_id", }, "request": { - "indy": { - "requested_attributes": { - "key": { - "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "revealed": true, - }, - }, - "requested_predicates": { - "key": { - "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "timestamp": 1640995199, - }, - }, - "self_attested_attributes": { - "key": "self_attested_value", - }, - "trace": false, - }, "trace": true, }, "response": { @@ -35744,104 +26725,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35915,104 +26799,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -36079,105 +26866,8 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, + "initiator": "self", + "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -36294,28 +26984,7 @@ service: - request: auto_verify: false comment: comment - presentation_request: - indy: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' + presentation_request: {} trace: false response: body: @@ -36325,77 +26994,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36444,73 +27043,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36526,73 +27059,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36627,77 +27094,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36767,19 +27164,7 @@ service: pres_ex_id: pres_ex_id response: body: - - cred_info: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - interval: - from: 1640995199 - to: 1640995199 - presentation_referents: + - presentation_referents: - 1_age_uuid - 1_age_uuid report_pres_ex_problem: @@ -36840,18 +27225,6 @@ service: - path-parameters: pres_ex_id: pres_ex_id request: - indy: - requested_attributes: - key: - cred_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - revealed: true - requested_predicates: - key: - cred_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - timestamp: 1640995199 - self_attested_attributes: - key: self_attested_value - trace: false trace: true response: body: @@ -36861,77 +27234,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36980,77 +27283,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37081,81 +27314,11 @@ service: body: auto_present: false auto_verify: true - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - error_msg: Invalid structure - initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + created_at: '2021-12-31 23:59:59+00:00' + error_msg: Invalid structure + initiator: self pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37203,28 +27366,7 @@ service: auto_present: true comment: comment connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal: - indy: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' + presentation_proposal: {} trace: false response: body: @@ -37234,77 +27376,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37349,28 +27421,7 @@ service: auto_verify: false comment: comment connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_request: - indy: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' + presentation_request: {} trace: false response: body: @@ -37380,77 +27431,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37664,24 +27645,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -37851,24 +27814,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38156,24 +28101,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38227,14 +28154,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "ver": "1.0", - }, - "revoc_reg_entry": { - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38244,39 +28163,6 @@ docs: did resolver interface. "updated_at": "2021-12-31 23:59:59+00:00", }, }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -38334,24 +28220,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38418,39 +28286,6 @@ docs: did resolver interface. ], }, }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -38604,24 +28439,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38729,24 +28546,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38902,21 +28701,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39002,21 +28786,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39096,30 +28865,6 @@ service: key: - '12345' - '12345' - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' get_created_registries: path: /revocation/registries/created method: GET @@ -39209,21 +28954,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39273,21 +29003,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39336,13 +29051,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - ver: '1.0' - revoc_reg_entry: - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39351,30 +29059,6 @@ service: tails_local_path: tails_local_path tails_public_uri: tails_public_uri updated_at: '2021-12-31 23:59:59+00:00' - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' publish_revocation_registry_entry: path: /revocation/registry/{rev_reg_id}/entry method: POST @@ -39414,21 +29098,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39581,21 +29250,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39896,55 +29550,7 @@ types: "schema_version": "1.0", }, "response": { - "body": { - "sent": { - "schema": { - "attrNames": [ - "score", - "score", - ], - "id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "name": "schema_name", - "seqNo": 10, - "ver": "1.0", - "version": "1.0", - }, - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, - }, + "body": {}, }, }, ], @@ -40093,42 +29699,7 @@ service: schema_name: prefs schema_version: '1.0' response: - body: - sent: - schema: - attrNames: - - score - - score - id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - name: schema_name - seqNo: 10 - ver: '1.0' - version: '1.0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' + body: {} get_matching_created_schemas: path: /schemas/created method: GET 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..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,6 +2283,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "Transcript": { "docs": "A transcript object", + "inline": undefined, "properties": { "acoustic_model": { "availability": "deprecated", @@ -2532,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": { @@ -2545,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", @@ -2563,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.", @@ -2614,6 +2647,7 @@ The default value is 'en_us'. }, "TranscriptList": { "docs": undefined, + "inline": undefined, "properties": { "page_details": "PageDetails", "transcripts": "list", @@ -2624,6 +2658,7 @@ The default value is 'en_us'. }, "TranscriptListItem": { "docs": undefined, + "inline": undefined, "properties": { "audio_url": "string", "completed": "optional", @@ -2638,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", @@ -2677,6 +2713,7 @@ The default value is 'en_us'. }, "TranscriptParagraph": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -2699,6 +2736,7 @@ The default value is 'en_us'. }, "TranscriptSentence": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -2745,6 +2783,7 @@ The default value is 'en_us'. }, "TranscriptUtterance": { "docs": undefined, + "inline": undefined, "properties": { "channel": "string", "confidence": { @@ -2768,6 +2807,7 @@ The default value is 'en_us'. }, "TranscriptWord": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -2790,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", @@ -2802,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", @@ -2826,6 +2868,7 @@ The default value is 'en_us'. }, "WordSearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the transcript", @@ -3952,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 @@ -3974,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: @@ -4482,6 +4527,7 @@ types: denotes supertopic/subtopic relationship source: openapi: ../openapi.yml + inline: true TopicDetectionResult: docs: THe result of the topic detection model. properties: @@ -4807,6 +4853,7 @@ types: - map source: openapi: ../openapi.yml + inline: true LemurBaseParameters: properties: transcript_ids: @@ -4844,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 e30fe4b42d1..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,6 +954,7 @@ service: "types": { "StartIgnitionResponse": { "docs": "", + "inline": undefined, "properties": { "data": "StartIgnitionResponseData", "success": { @@ -952,6 +967,7 @@ service: }, "StartIgnitionResponseData": { "docs": undefined, + "inline": true, "properties": { "ignitionToken": { "docs": "The unique ID for the ignition session.", @@ -981,6 +997,7 @@ types: docs: The unique ID for the ignition session. source: openapi: ../openapi.yml + inline: true StartIgnitionResponse: docs: '' properties: @@ -1170,6 +1187,7 @@ service: "types": { "GetPolicyResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -1355,6 +1373,7 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not "types": { "ExchangeTokenResponse": { "docs": "", + "inline": undefined, "properties": { "data": "ExchangeTokenResponseData", "success": { @@ -1367,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.", @@ -1408,6 +1428,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true ExchangeTokenResponse: docs: '' properties: 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..f53e5699ea0 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": { @@ -5295,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. @@ -5332,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.", @@ -5391,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.", @@ -5423,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.", @@ -5439,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.", @@ -5584,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": { @@ -5598,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.", @@ -5615,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.", @@ -5642,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.", @@ -5666,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.", @@ -5694,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.", @@ -5726,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", @@ -5738,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.", @@ -5762,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.", @@ -5774,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", }, @@ -5785,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", }, @@ -5826,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": { @@ -5881,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.", @@ -5908,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.", @@ -5980,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": { @@ -5998,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": { @@ -6011,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": { @@ -6029,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": { @@ -6044,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", }, @@ -6058,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.", @@ -6076,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", @@ -6087,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.", @@ -6147,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", }, @@ -6161,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.", @@ -6190,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", }, @@ -6205,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.", @@ -6246,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", }, @@ -6260,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", @@ -6295,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", @@ -6307,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.", @@ -6319,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": { @@ -6380,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": { @@ -6436,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.", @@ -6456,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. @@ -6567,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", }, @@ -6581,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.", @@ -6609,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.", @@ -6649,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.", @@ -6677,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", }, @@ -6691,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.", @@ -6718,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. @@ -6766,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. @@ -6814,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`.", @@ -6872,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", }, @@ -6890,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`.", @@ -6948,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", }, @@ -6966,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. @@ -7038,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.", @@ -7067,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", }, @@ -7081,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. @@ -7159,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", @@ -7170,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", @@ -7192,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", @@ -7203,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", @@ -7218,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", }, @@ -7227,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.", @@ -7239,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. @@ -7257,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", }, @@ -7266,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", }, @@ -7275,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", }, @@ -7284,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.", @@ -7300,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.", @@ -7316,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.", @@ -7341,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.", @@ -7366,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.", @@ -7426,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.", @@ -7501,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). @@ -7515,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`. @@ -7540,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. @@ -7570,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. @@ -7588,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. @@ -7632,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. @@ -7655,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.", @@ -8764,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).", @@ -8804,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", @@ -8824,6 +8906,7 @@ We return one of the following enum values: }, "EyodIncomeVerificationBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumIncomeVerificationAccountCategory", "account_holder_id": { @@ -8885,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).", @@ -8909,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.", @@ -8925,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", @@ -8937,6 +9023,7 @@ We return one of the following enum values: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -8951,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", }, @@ -8960,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.", @@ -9090,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.", @@ -9189,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.", @@ -9216,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: @@ -9296,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. @@ -9310,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. @@ -9342,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: @@ -9390,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. @@ -9422,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. @@ -9454,6 +9551,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFeature": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The description of the feature.", @@ -9470,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: @@ -9510,6 +9609,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFormFieldValues": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The code of the document.", @@ -9542,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.", @@ -9569,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. @@ -9601,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. @@ -9633,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. @@ -9665,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. @@ -9723,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.", @@ -9816,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.", @@ -9832,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.", @@ -9856,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.", @@ -9872,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.", @@ -9888,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.", @@ -9915,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.", @@ -9974,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.", @@ -10003,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.", @@ -10070,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`.", @@ -10294,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. @@ -10349,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`. @@ -10368,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. @@ -10386,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.", @@ -10610,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`. @@ -10678,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`. @@ -10721,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. @@ -10770,6 +10892,7 @@ Possible statuses are: }, "InvoicesPaymentsSat": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The invoice amount, in the currency of the original invoice. @@ -10847,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`. @@ -10913,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. @@ -10981,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. @@ -11035,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.", @@ -11064,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", }, @@ -11078,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.", @@ -11094,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.", @@ -11110,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.", @@ -11126,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.", @@ -11142,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.", @@ -11158,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.", @@ -11174,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": { @@ -11247,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. @@ -11285,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", }, @@ -11294,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", }, @@ -11303,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).", @@ -11327,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", @@ -11345,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", @@ -11363,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", @@ -11381,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", @@ -11399,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", @@ -11417,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", @@ -11435,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", @@ -11453,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", @@ -11471,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", @@ -11489,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", @@ -11507,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", @@ -11528,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", @@ -11546,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).", @@ -11570,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. @@ -11602,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.", @@ -11624,6 +11778,7 @@ For `not_found` errors, the description is: }, "OFPI": { "docs": "Details about the payment method.", + "inline": undefined, "properties": { "open_finance": { "type": "optional", @@ -11635,6 +11790,7 @@ For `not_found` errors, the description is: }, "Owner": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The accounts owners registered address.", @@ -11728,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.", @@ -11757,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.", @@ -11784,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", @@ -11795,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.", @@ -11819,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.", @@ -11857,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.", @@ -11889,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", @@ -11900,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. @@ -11950,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.", @@ -12006,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`.", @@ -12134,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", }, @@ -12148,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.", @@ -12175,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.", @@ -12213,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.", @@ -12251,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, @@ -12306,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`.", @@ -12404,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", }, @@ -12460,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. @@ -12482,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.", @@ -12498,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. @@ -12574,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. @@ -12650,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. @@ -12719,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.", @@ -12748,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", }, @@ -12762,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. @@ -12831,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.", @@ -12866,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.", @@ -12886,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.", @@ -12910,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`.", @@ -12923,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. @@ -13003,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", }, @@ -13017,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`.", @@ -13063,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.", @@ -13090,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.", @@ -13117,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. @@ -13137,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.", @@ -13164,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.", @@ -13180,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": { @@ -13247,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.", @@ -13266,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.", @@ -13282,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.", @@ -13309,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": { @@ -13322,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.", @@ -13352,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": { @@ -13400,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.", @@ -13427,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*)", @@ -13443,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. @@ -13475,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. @@ -13499,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.", @@ -13540,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). @@ -13621,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). @@ -13682,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. @@ -13712,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. @@ -13740,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.", @@ -13767,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. @@ -13943,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. @@ -13975,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.", @@ -14002,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. @@ -14034,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.", @@ -14062,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).", @@ -14106,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.", @@ -14154,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.", @@ -14199,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.", @@ -14226,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", @@ -14282,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.", @@ -14309,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": { @@ -14365,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.", @@ -14392,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.", @@ -14426,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": { @@ -14456,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). @@ -14580,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.", @@ -14608,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.", @@ -14695,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.", @@ -14766,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.", @@ -14855,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.", @@ -14918,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.", @@ -14946,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.", @@ -14973,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, @@ -15021,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.", @@ -15049,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.", @@ -15076,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, @@ -15123,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`. @@ -15141,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.", @@ -15157,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`. @@ -15209,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. @@ -15261,6 +15502,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusDian": { "docs": undefined, + "inline": undefined, "properties": { "address": "optional", "collected_at": { @@ -15351,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. @@ -15396,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.", @@ -15441,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`. @@ -15484,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. @@ -15524,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.", @@ -15553,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", }, @@ -15567,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`. @@ -15601,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. @@ -15635,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": { @@ -15722,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. @@ -15798,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. @@ -15874,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. @@ -15931,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, @@ -15962,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. @@ -15994,6 +16250,7 @@ For `too_many_sessions` errors, the description is: }, "Transaction": { "docs": undefined, + "inline": undefined, "properties": { "account": "optional", "accounting_date": { @@ -16091,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.", @@ -16115,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", }, @@ -16129,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`.", @@ -16163,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.", @@ -16183,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.", @@ -16210,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.", @@ -16272,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. @@ -16305,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. @@ -16337,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. @@ -16369,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. @@ -16401,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. @@ -22422,6 +22690,7 @@ types: - type: InvoiceDian source: openapi: ../openapi.yml + inline: true InvoicesResponsePaginatedResponse: properties: count: @@ -23413,6 +23682,7 @@ types: - type: TaxStatusDian source: openapi: ../openapi.yml + inline: true TaxStatusPaginatedResponse: properties: count: @@ -26656,6 +26926,7 @@ types: - type: CustomerPse source: openapi: ../openapi.yml + inline: true CustomerPaginatedResponse: properties: count: @@ -26810,6 +27081,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true OFPI: docs: Details about the payment method. properties: @@ -26824,6 +27096,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true BankAccountOfpiResponse: properties: id: @@ -26948,6 +27221,7 @@ types: - BankAccountPseResponse source: openapi: ../openapi.yml + inline: true BankAccountPaginatedResponse: properties: count: @@ -26982,6 +27256,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpiDetails: discriminated: false docs: Information regarding the bank account. @@ -26990,6 +27265,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpi: properties: institution: @@ -27219,6 +27495,7 @@ types: - type: PaymentLinkListPse source: openapi: ../openapi.yml + inline: true PaymentLinkPaginatedResponse: properties: count: @@ -27327,6 +27604,7 @@ types: - float source: openapi: ../openapi.yml + inline: true CreatePaymentLinkOfpi: properties: amount: @@ -27393,6 +27671,7 @@ types: - long source: openapi: ../openapi.yml + inline: true CreatePaymentLinkPse: properties: amount: @@ -27529,6 +27808,7 @@ types: - type: BankAccountDetailsOpenFinancePix source: openapi: ../openapi.yml + inline: true BeneficiaryBankAccountOfpi: properties: id: @@ -27851,6 +28131,7 @@ types: - type: TransactionBankAccountPse source: openapi: ../openapi.yml + inline: true PaymentTransaction: properties: id: @@ -27917,6 +28198,7 @@ types: - type: OFPI source: openapi: ../openapi.yml + inline: true Charge: properties: id: @@ -28033,6 +28315,7 @@ types: - type: BUSINESS source: openapi: ../openapi.yml + inline: true PaymentIntentOfpi: properties: id: @@ -28561,6 +28844,7 @@ types: - type: LastErrorSessionExpired source: openapi: ../openapi.yml + inline: true PaymentIntentPse: properties: id: @@ -29117,7 +29401,6 @@ client.connect() "current": 4523.48, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -29134,27 +29417,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "c21f3914-bcbe-44c4-a2e8-a5e33f6888d4", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -29295,7 +29562,6 @@ client.connect() "current": 4049.85, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -29305,34 +29571,16 @@ client.connect() "cutting_date": "2021-04-11", "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 690, - "monthly_payment": 1.1, "next_payment_date": "2021-03-31", "no_interest_payment": 11550.15, }, "currency": "MXN", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -29473,7 +29721,6 @@ client.connect() "current": 34708.36, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "LOAN_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -29490,27 +29737,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -29652,7 +29883,6 @@ client.connect() "current": 26305.33, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "PENSION_FUND_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -29710,7 +29940,6 @@ client.connect() "name": "erebor_br_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T08:19:05Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -29851,7 +30080,6 @@ client.connect() "current": 4978436.05, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -29868,27 +30096,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "COP", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "3d5b0f90-90df-455d-a647-5b74feb746f6", "institution": { "name": "erebor_co_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -30477,7 +30689,6 @@ client.connect() "current": 4523.48, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -30494,17 +30705,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "c21f3914-bcbe-44c4-a2e8-a5e33f6888d4", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -30665,7 +30870,6 @@ client.connect() "current": 4049.85, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -30675,24 +30879,16 @@ client.connect() "cutting_date": "2021-04-11", "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 690, - "monthly_payment": 1.1, "next_payment_date": "2021-03-31", "no_interest_payment": 11550.15, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -30853,7 +31049,6 @@ client.connect() "current": 34708.36, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "LOAN_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -30870,17 +31065,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -31042,7 +31231,6 @@ client.connect() "current": 26305.33, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "PENSION_FUND_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -31100,7 +31288,6 @@ client.connect() "name": "erebor_br_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T08:19:05Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -31261,7 +31448,6 @@ client.connect() "current": 4978436.05, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -31278,17 +31464,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "COP", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "3d5b0f90-90df-455d-a647-5b74feb746f6", "institution": { "name": "erebor_co_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -31493,7 +31673,6 @@ client.connect() "current": 4523.48, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -31510,17 +31689,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "c21f3914-bcbe-44c4-a2e8-a5e33f6888d4", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -31672,7 +31845,6 @@ client.connect() "current": 4049.85, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -31682,24 +31854,16 @@ client.connect() "cutting_date": "2021-04-11", "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 690, - "monthly_payment": 1.1, "next_payment_date": "2021-03-31", "no_interest_payment": 11550.15, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -31851,7 +32015,6 @@ client.connect() "current": 34708.36, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "LOAN_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -31868,17 +32031,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -32031,7 +32188,6 @@ client.connect() "current": 26305.33, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "PENSION_FUND_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -32089,7 +32245,6 @@ client.connect() "name": "erebor_br_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T08:19:05Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -32241,7 +32396,6 @@ client.connect() "current": 4978436.05, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -32258,17 +32412,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "COP", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "3d5b0f90-90df-455d-a647-5b74feb746f6", "institution": { "name": "erebor_co_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -32849,15 +32997,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -32965,8 +33109,6 @@ service: no_interest_payment: 11550.15 interest_rate: 4 end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -32995,15 +33137,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -33142,15 +33280,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -33314,8 +33448,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -33453,15 +33585,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -33653,15 +33781,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -33778,8 +33902,6 @@ service: no_interest_payment: 11550.15 interest_rate: 4 end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -33808,15 +33930,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -33964,15 +34082,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -34145,8 +34259,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -34293,15 +34405,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -34498,22 +34606,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -34612,8 +34709,6 @@ service: no_interest_payment: 11550.15 interest_rate: 4 end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -34642,22 +34737,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -34787,22 +34871,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -34957,8 +35030,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -35087,22 +35158,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -35690,7 +35750,6 @@ client.connect() "current": 146.81, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-06-17T03:20:41Z", "created_at": "2021-10-27T16:18:15Z", @@ -35771,7 +35830,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, }, @@ -35926,7 +35984,6 @@ client.connect() "body": { "count": 385, "next": "https://sandbox.belvo.com/api/balances/?page=2", - "previous": "previous", "results": [ { "account": { @@ -35964,7 +36021,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, ], @@ -36249,7 +36305,6 @@ client.connect() "current": 146.81, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-06-17T03:20:41Z", "created_at": "2021-10-27T16:18:15Z", @@ -36299,7 +36354,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, ], @@ -36455,7 +36509,6 @@ client.connect() "current": 146.81, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-06-17T03:20:41Z", "created_at": "2021-10-27T16:18:15Z", @@ -36505,7 +36558,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, ], @@ -36802,7 +36854,6 @@ service: body: count: 385 next: https://sandbox.belvo.com/api/balances/?page=2 - previous: previous results: - id: b834e69b-1aa4-465d-969c-07c886a4fbed account: @@ -36835,7 +36886,6 @@ service: value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -37040,12 +37090,10 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: 9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -37217,12 +37265,10 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: 9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -37414,12 +37460,10 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: 9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -38015,7 +38059,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "created_at": "2023-02-15T07:52:31Z", @@ -38065,7 +38108,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "created_at": "2023-02-15T07:52:31Z", @@ -38113,7 +38155,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "created_at": "2023-02-15T07:52:31Z", @@ -38226,6 +38267,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -38242,6 +38284,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -38256,6 +38299,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -38364,7 +38408,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb created_at: '2023-02-15T07:52:31Z' @@ -38404,7 +38447,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2023-02-15T07:52:31Z' @@ -38442,7 +38484,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2023-02-15T07:52:31Z' @@ -38765,7 +38806,6 @@ types: "currency": "BRL", "description": "OXXO SP", "institution": "BCO DO BRASIL", - "mcc": 2345, "merchant": { "logo": "https://storage.googleapis.com/new-cdn.mercafacil.com/wl_assets/dynamic/65d84ba0-a2f3-11ed-8928-dd578f525074-MOBILE_1OCo1.png", "merchant_name": "Merchants R Us Global", @@ -38918,7 +38958,6 @@ service: amount: 999.9 currency: BRL institution: BCO DO BRASIL - mcc: 2345 category: Income & Payments subcategory: Freelance merchant: @@ -39176,7 +39215,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Rua de Caetano Veloso 432, 70200 Brasilia", @@ -39226,7 +39264,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Rua de Caetano Veloso 432, 70200 Brasilia", @@ -39276,7 +39313,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Calle Carlos Vives 432, 80300 Bogota", @@ -39381,6 +39417,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -39397,6 +39434,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -39413,6 +39451,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -39516,7 +39555,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2022-02-09T08:45:50Z' @@ -39557,7 +39595,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2022-02-09T08:45:50Z' @@ -39598,7 +39635,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2022-02-09T08:45:50Z' @@ -45543,7 +45579,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Pago", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -46104,7 +46139,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Traslado", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -46321,7 +46355,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -46539,7 +46572,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -46579,7 +46611,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Pago", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -46758,7 +46789,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -46977,7 +47007,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -47195,7 +47224,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -47235,7 +47263,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Traslado", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -48052,7 +48079,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Pago", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -48668,7 +48694,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Traslado", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -48824,6 +48849,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", }, @@ -48840,6 +48866,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", }, @@ -48856,6 +48883,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", }, @@ -49081,7 +49109,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -49270,7 +49297,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -49293,7 +49319,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: P01 version: '3.3' @@ -49460,7 +49485,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -49650,7 +49674,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -49839,7 +49862,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -49862,7 +49884,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: G03 version: '3.3' @@ -50283,7 +50304,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: P01 version: '3.3' @@ -50803,7 +50823,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: G03 version: '3.3' @@ -51374,7 +51393,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: P01 version: '3.3' @@ -51845,7 +51863,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: G03 version: '3.3' @@ -55070,13 +55087,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "2b22f123-7c3a-4518-9ac2-863eb5d4613c", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, }, }, @@ -55217,7 +55231,6 @@ client.connect() "body": { "count": 108, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Retorno Gran Canaria 453 723 @@ -55230,13 +55243,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "c749315b-eec2-435d-a458-06912878564f", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, ], }, @@ -55454,13 +55464,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "2b22f123-7c3a-4518-9ac2-863eb5d4613c", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, ], }, @@ -55608,13 +55615,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "2b22f123-7c3a-4518-9ac2-863eb5d4613c", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, ], }, @@ -55776,7 +55780,6 @@ service: body: count: 108 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: c749315b-eec2-435d-a458-06912878564f link: c38fb126-fc98-4d6c-8c80-587a97dd56cf @@ -55792,9 +55795,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -55919,9 +55919,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -56055,9 +56052,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -56195,9 +56189,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -57508,6 +57499,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", }, @@ -58142,6 +58134,7 @@ types: - long source: openapi: ../openapi.yml + inline: true ", }, "paymentLinks.yml": { @@ -58551,6 +58544,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -58567,6 +58561,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -58583,6 +58578,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -66977,6 +66973,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", }, @@ -66993,6 +66990,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", }, @@ -67009,6 +67007,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", }, @@ -70428,7 +70427,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -70734,7 +70732,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -70894,7 +70891,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -71062,7 +71058,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cifras_cierre_ejercicio": { @@ -71335,7 +71330,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -73377,6 +73371,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73399,6 +73394,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73421,6 +73417,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73437,6 +73434,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73646,7 +73644,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 02589c41-ba22-4d44-8558-8111cc751318 link: 19697249-01b8-443e-a451-76bfc5fbeebf @@ -73866,7 +73863,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 0d3ffb69-f83b-456e-ad8e-208d0998d71d collected_at: '2022-02-09T08:45:50Z' @@ -74004,7 +74000,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 0d3ffb69-f83b-456e-ad8e-208d0998d71d collected_at: '2022-02-09T08:45:50Z' @@ -74150,7 +74145,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 02589c41-ba22-4d44-8558-8111cc751318 collected_at: '2022-02-09T08:45:50Z' @@ -74388,7 +74382,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 0d3ffb69-f83b-456e-ad8e-208d0998d71d collected_at: '2022-02-09T08:45:50Z' @@ -77576,7 +77569,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -77591,7 +77583,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Asalariado", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -77602,13 +77593,11 @@ client.connect() "link": "401d5a8e-79e2-472e-a1ca-8f4646f5cb24", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -77634,7 +77623,6 @@ client.connect() "phone": "667507132", "rfc": "GGTF770303G7", "second_last_name": "Robin", - "social_name": "John Doe SA DE CV", "start_operations_date": "2000-06-01", "status_padron": "ACTIVO", }, @@ -77734,7 +77722,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -77749,7 +77736,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Otros servicios profesionales, científicos y técnicos", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -77760,13 +77746,11 @@ client.connect() "link": "0b2edc42-7214-4c68-b22e-ae6885bf7c07", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -77783,15 +77767,10 @@ client.connect() }, ], "tax_payer_information": { - "commercial_name": "Jar Jar Transport", - "curp": "curp", "email": "contact@acne.com", - "first_last_name": "DOE", "last_status_change_date": "1995-08-01", - "name": "JOHN", "phone": "555507122", "rfc": "GHTF980303F7", - "second_last_name": "SCHMOE", "social_name": "ACNE SA DE CV", "start_operations_date": "1995-08-01", "status_padron": "ACTIVO", @@ -77932,7 +77911,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": { @@ -78099,7 +78077,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": { @@ -78370,7 +78347,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -78385,7 +78361,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Asalariado", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -78396,13 +78371,11 @@ client.connect() "link": "401d5a8e-79e2-472e-a1ca-8f4646f5cb24", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -78428,7 +78401,6 @@ client.connect() "phone": "667507132", "rfc": "GGTF770303G7", "second_last_name": "Robin", - "social_name": "John Doe SA DE CV", "start_operations_date": "2000-06-01", "status_padron": "ACTIVO", }, @@ -78538,7 +78510,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -78553,7 +78524,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Otros servicios profesionales, científicos y técnicos", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -78564,13 +78534,11 @@ client.connect() "link": "0b2edc42-7214-4c68-b22e-ae6885bf7c07", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -78587,15 +78555,10 @@ client.connect() }, ], "tax_payer_information": { - "commercial_name": "Jar Jar Transport", - "curp": "curp", "email": "contact@acne.com", - "first_last_name": "DOE", "last_status_change_date": "1995-08-01", - "name": "JOHN", "phone": "555507122", "rfc": "GHTF980303F7", - "second_last_name": "SCHMOE", "social_name": "ACNE SA DE CV", "start_operations_date": "1995-08-01", "status_padron": "ACTIVO", @@ -78666,6 +78629,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", }, @@ -78682,6 +78646,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", }, @@ -78817,7 +78782,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: e88d29d1-3dc6-407f-825c-a9b50453e349 link: 401d5a8e-79e2-472e-a1ca-8f4646f5cb24 @@ -78958,7 +78922,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 6de34cb3-bf0d-445d-b832-7ec7781e2c6f link: 0b2edc42-7214-4c68-b22e-ae6885bf7c07 @@ -79155,7 +79118,6 @@ service: status_padron: ACTIVO last_status_change_date: '2000-06-01' commercial_name: Alfredo Gonzalo Robin - social_name: John Doe SA DE CV email: alfredo@robin.com phone: '667507132' address: @@ -79165,7 +79127,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -79174,7 +79135,6 @@ service: economic_activity: - economic_activity: Asalariado initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -79187,13 +79147,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/09/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -79289,14 +79247,9 @@ service: id_cif: '2274235873432' tax_payer_information: rfc: GHTF980303F7 - curp: curp - name: JOHN - first_last_name: DOE - second_last_name: SCHMOE start_operations_date: '1995-08-01' status_padron: ACTIVO last_status_change_date: '1995-08-01' - commercial_name: Jar Jar Transport social_name: ACNE SA DE CV email: contact@acne.com phone: '555507122' @@ -79307,7 +79260,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -79316,7 +79268,6 @@ service: economic_activity: - economic_activity: Otros servicios profesionales, científicos y técnicos initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -79327,13 +79278,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/04/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -79473,7 +79422,6 @@ service: status_padron: ACTIVO last_status_change_date: '2000-06-01' commercial_name: Alfredo Gonzalo Robin - social_name: John Doe SA DE CV email: alfredo@robin.com phone: '667507132' address: @@ -79483,7 +79431,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -79492,7 +79439,6 @@ service: economic_activity: - economic_activity: Asalariado initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -79505,13 +79451,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/09/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -79597,14 +79541,9 @@ service: id_cif: '2274235873432' tax_payer_information: rfc: GHTF980303F7 - curp: curp - name: JOHN - first_last_name: DOE - second_last_name: SCHMOE start_operations_date: '1995-08-01' status_padron: ACTIVO last_status_change_date: '1995-08-01' - commercial_name: Jar Jar Transport social_name: ACNE SA DE CV email: contact@acne.com phone: '555507122' @@ -79615,7 +79554,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -79624,7 +79562,6 @@ service: economic_activity: - economic_activity: Otros servicios profesionales, científicos y técnicos initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -79635,13 +79572,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/04/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -80366,7 +80301,6 @@ client.connect() "current": 4.09, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -80564,7 +80498,6 @@ client.connect() "current": 5874.13, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -80572,26 +80505,17 @@ client.connect() "collected_at": "2022-02-09T08:45:50Z", "credit_limit": 192000, "cutting_date": "2019-12-11", - "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 2400, - "monthly_payment": 1.1, "next_payment_date": "2019-12-01", "no_interest_payment": 37390.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "02589c41-ba22-4d44-8558-8111cc751318", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "30cb4806-6e00-48a4-91c9-ca55968576c8", "loan_data": { @@ -80852,7 +80776,6 @@ client.connect() "body": { "count": 198, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "account": { @@ -81054,7 +80977,6 @@ client.connect() "body": { "count": 198, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "account": { @@ -81255,7 +81177,6 @@ client.connect() "body": { "count": 198, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "account": { @@ -81913,7 +81834,6 @@ client.connect() "current": 4.09, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -82100,7 +82020,6 @@ client.connect() "current": 5874.13, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -82114,17 +82033,11 @@ client.connect() "no_interest_payment": 37390.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "02589c41-ba22-4d44-8558-8111cc751318", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "30cb4806-6e00-48a4-91c9-ca55968576c8", "loan_data": { @@ -82526,7 +82439,6 @@ client.connect() "current": 4.09, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -82718,7 +82630,6 @@ client.connect() "current": 5874.13, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -82732,17 +82643,11 @@ client.connect() "no_interest_payment": 37390.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "02589c41-ba22-4d44-8558-8111cc751318", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "30cb4806-6e00-48a4-91c9-ca55968576c8", "loan_data": { @@ -83372,7 +83277,6 @@ service: body: count: 198 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: e5588958-48f2-427c-9300-945207532f5d internal_identification: LCzHexIyHi @@ -83552,7 +83456,6 @@ service: body: count: 198 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: e5588958-48f2-427c-9300-945207532f5d internal_identification: '0089608418' @@ -83731,7 +83634,6 @@ service: body: count: 198 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 076c66e5-90f5-4e01-99c7-50e32f65ae42 internal_identification: TXpRMU9UQTROMWhZV2xSU1FUazJSMDl @@ -84121,7 +84023,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: '996685090015' collected_at: '2022-07-20T22:09:33Z' created_at: '2022-07-20T22:09:35Z' @@ -84276,15 +84177,11 @@ service: outstanding_balance: 182000 monthly_payment: 1000 contract_end_date: '2027-10-01' - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification collected_at: '2022-02-09T08:45:50Z' created_at: '2022-02-09T08:45:50Z' value_date: '2019-10-23' @@ -84789,7 +84686,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: '996685090015' collected_at: '2022-07-20T22:09:33Z' created_at: '2022-07-20T22:09:35Z' @@ -84939,15 +84835,11 @@ service: outstanding_balance: 182000 monthly_payment: 1000 contract_end_date: '2027-10-01' - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification collected_at: '2022-02-09T08:45:50Z' created_at: '2022-02-09T08:45:50Z' value_date: '2019-10-23' @@ -85327,7 +85219,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: '996685090015' collected_at: '2022-07-20T22:09:33Z' created_at: '2022-07-20T22:09:35Z' @@ -85453,9 +85344,6 @@ service: minimum_payment: 2400 no_interest_payment: 37390.83 interest_rate: 4 - end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -85484,15 +85372,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification collected_at: '2022-02-09T08:45:50Z' created_at: '2022-02-09T08:45:50Z' value_date: '2019-10-23' 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..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,6 +8,7 @@ "types": { "Game": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "complete": "GameComplete", @@ -44,6 +45,7 @@ }, "GameComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -57,6 +59,7 @@ }, "GameExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -69,6 +72,7 @@ }, "GamePhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "photo": "string", @@ -89,6 +93,7 @@ }, "Group": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "date": { @@ -124,6 +129,7 @@ }, "GroupGamesItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "complete": "GroupGamesItemComplete", @@ -158,6 +164,7 @@ }, "GroupGamesItemComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -171,6 +178,7 @@ }, "GroupGamesItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -183,6 +191,7 @@ }, "GroupPhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -204,6 +213,7 @@ }, "GroupPlayersItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "email": { @@ -245,6 +255,7 @@ }, "GroupPlayersItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -257,6 +268,7 @@ }, "Photo": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "id": "optional", @@ -277,6 +289,7 @@ }, "PhotoProcessedItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -299,6 +312,7 @@ }, "Player": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "email": { @@ -340,6 +354,7 @@ }, "PlayerExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -352,6 +367,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "hidden": "optional", "id": "optional", @@ -393,6 +409,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true GameExtraFieldsItem: properties: key: string @@ -401,6 +418,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GameComplete: properties: completed_at: datetime @@ -410,6 +428,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true Game: properties: id: optional @@ -440,6 +459,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupGamesItemComplete: properties: completed_at: datetime @@ -449,6 +469,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true GroupGamesItem: properties: id: optional @@ -469,6 +490,7 @@ complete: GroupGamesItemComplete source: openapi: ../openapi.yml + inline: true GroupPlayersItemExtraFieldsItem: properties: key: string @@ -477,6 +499,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupPlayersItem: properties: added_at: optional @@ -499,6 +522,7 @@ signature: optional source: openapi: ../openapi.yml + inline: true GroupPhotosItem: properties: added_at: optional @@ -511,6 +535,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Group: properties: id: optional @@ -540,6 +565,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true Player: properties: id: optional @@ -575,6 +601,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Photo: properties: id: optional @@ -1293,6 +1320,7 @@ "types": { "ListAccountsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1321,6 +1349,7 @@ }, "ListGamesResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1349,6 +1378,7 @@ }, "ListGroupsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1377,6 +1407,7 @@ }, "ListLocationsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1405,6 +1436,7 @@ }, "ListPhotosResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1433,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 29c25191d2f..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,6 +6519,7 @@ "types": { "Agreement": { "docs": undefined, + "inline": undefined, "properties": { "agreement_title": "string", "agreement_type": "string", @@ -6533,6 +6534,7 @@ }, "AgreementClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -6544,6 +6546,7 @@ "AgreementList": "list", "AgreementListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "AgreementList", "page": "optional", @@ -6554,6 +6557,7 @@ }, "AgreementMsa": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -6564,6 +6568,7 @@ }, "AgreementProviderLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -6582,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", @@ -6593,6 +6599,7 @@ }, "AlternateEmailItem": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "isVerified": "boolean", @@ -6607,6 +6614,7 @@ }, "ApiError": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "A description of the returned error", @@ -6623,6 +6631,7 @@ }, "ApiErrorContainer": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "request": "optional", @@ -6633,6 +6642,7 @@ }, "ApiErrorRequest": { "docs": undefined, + "inline": undefined, "properties": { "api_req_id": { "docs": "The request ID of the failed request", @@ -6669,6 +6679,7 @@ }, "BasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client": "ClientOfBasicContract", "created_at": "optional", @@ -6711,6 +6722,7 @@ }, "BasicInvoiceAdjustment": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", "contract": "BasicInvoiceAdjustmentContract", @@ -6737,6 +6749,7 @@ }, "BasicInvoiceAdjustmentContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -6748,6 +6761,7 @@ }, "BasicInvoiceAdjustmentPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -6758,6 +6772,7 @@ }, "BasicInvoiceAdjustmentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6768,6 +6783,7 @@ }, "BasicInvoiceAdjustmentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6780,6 +6796,7 @@ }, "BasicInvoiceAdjustmentWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -6828,6 +6845,7 @@ }, "BasicLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "entity_subtype": "LegalEntitySubType", "entity_type": "LegalEntityType", @@ -6840,6 +6858,7 @@ }, "BasicOrganization": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -6858,6 +6877,7 @@ }, "BasicTeam": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -6876,6 +6896,7 @@ }, "BasicTimesheet": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", "contract": "BasicTimesheetContract", @@ -6908,6 +6929,7 @@ }, "BasicTimesheetContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -6919,6 +6941,7 @@ }, "BasicTimesheetPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -6929,6 +6952,7 @@ }, "BasicTimesheetReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6939,6 +6963,7 @@ }, "BasicTimesheetReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6951,6 +6976,7 @@ }, "BasicTimesheetWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -6999,6 +7025,7 @@ }, "ClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "id": "long", @@ -7014,6 +7041,7 @@ }, "ClientOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "team": "optional", }, @@ -7023,6 +7051,7 @@ }, "ClientOfContract": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "full_name": "string", @@ -7036,6 +7065,7 @@ }, "CompensationDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "amount": "string", "currency_code": "CurrencyCodeRequired", @@ -7053,6 +7083,7 @@ }, "CompensationDetailsOfContractToCreateOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -7063,6 +7094,7 @@ }, "CompensationDetailsOfContractToCreatePayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -7073,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.", @@ -7128,6 +7161,7 @@ }, "Contract": { "docs": undefined, + "inline": undefined, "properties": { "client": "optional", "compensation_details": "CompensationDetailsOfContract", @@ -7177,6 +7211,7 @@ }, "ContractContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7186,6 +7221,7 @@ }, "ContractContainerOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7195,6 +7231,7 @@ }, "ContractContainerPayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7204,6 +7241,7 @@ }, "ContractContainerPaygMilestones": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7213,6 +7251,7 @@ }, "ContractContainerPaygTasks": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7222,6 +7261,7 @@ }, "ContractCustomField": { "docs": "Customized attributes on contracts (Employee ID, Project code, etc).", + "inline": undefined, "properties": { "name": { "docs": "Custom field property name.", @@ -7238,6 +7278,7 @@ }, "ContractDetailsToAmend": { "docs": "You can specify any combination of data points that need changing.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -7317,6 +7358,7 @@ }, "ContractDocumentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -7326,6 +7368,7 @@ }, "ContractExternalIdPatchedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractExternalIdToPatch", }, @@ -7336,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.", @@ -7358,6 +7402,7 @@ }, "ContractInvitationToCreate": { "docs": undefined, + "inline": undefined, "properties": { "email": "EmailTypeRequired", "message": { @@ -7378,6 +7423,7 @@ "ContractList": "list", "ContractListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractList", "page": "PageInfo", @@ -7391,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", }, @@ -7401,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.", @@ -7424,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", @@ -7475,6 +7524,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7487,6 +7537,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7499,6 +7550,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7511,6 +7563,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7521,6 +7574,7 @@ }, "ContractSignatureToCreate": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "Signature of client.", @@ -7571,6 +7625,7 @@ "ContractTemplateList": "list", "ContractTemplateListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -7580,6 +7635,7 @@ }, "ContractTemplateSummary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier of a contract template", @@ -7596,6 +7652,7 @@ }, "ContractTerminationResult": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": { "docs": "Date the contract is marked for completion", @@ -7612,6 +7669,7 @@ }, "ContractTerminationResultContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractTerminationResult", }, @@ -7623,6 +7681,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7638,6 +7697,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreateOngoingTimeBasedCompensationDetails", "type": "literal<"ongoing_time_based">", @@ -7648,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.", @@ -7707,6 +7768,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreatePayAsYouGoTimeBasedCompensationDetails", "type": "literal<"pay_as_you_go_time_based">", @@ -7717,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.", @@ -7776,6 +7839,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_milestones">", @@ -7789,6 +7853,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_tasks">", @@ -7799,6 +7864,7 @@ }, "ContractToCreateShared": { "docs": "Details of contract to create", + "inline": undefined, "properties": { "client": "ContractToCreateSharedClient", "country_code": "optional", @@ -7846,6 +7912,7 @@ }, "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.", @@ -7862,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", }, @@ -7871,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", }, @@ -7880,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.", @@ -7902,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", }, @@ -7911,6 +7982,7 @@ }, "ContractToCreateSharedWorker": { "docs": "Worker properties", + "inline": true, "properties": { "expected_email": "optional", "first_name": { @@ -7940,6 +8012,7 @@ }, "ContractToTerminate": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": "optional", "message": { @@ -8001,6 +8074,7 @@ }, "Contractor": { "docs": undefined, + "inline": undefined, "properties": { "name": { "default": "", @@ -8025,6 +8099,7 @@ }, "Country": { "docs": undefined, + "inline": undefined, "properties": { "code": "CountryCode", "eor_support": { @@ -8079,6 +8154,7 @@ "CountryList": "list", "CountryListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CountryList", }, @@ -8088,6 +8164,7 @@ }, "CreateTimeoff": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "End date of employee's time off.", @@ -8128,6 +8205,7 @@ }, "CreateTimeoffContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CreateTimeoff", }, @@ -8148,6 +8226,7 @@ }, "Currency": { "docs": undefined, + "inline": undefined, "properties": { "code": "CurrencyCodeRequired", "name": { @@ -8187,6 +8266,7 @@ "CurrencyList": "list", "CurrencyListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CurrencyList", }, @@ -8254,6 +8334,7 @@ }, "EmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "birth_date": "optional", "client_legal_entity": "optional", @@ -8285,6 +8366,7 @@ }, "EmployeeListClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "name": "optional", @@ -8295,6 +8377,7 @@ }, "EmployeeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -8304,6 +8387,7 @@ }, "EmployeeListMonthlyPayment": { "docs": undefined, + "inline": true, "properties": { "count": "optional", }, @@ -8313,6 +8397,7 @@ }, "EmployeeListPaymentsItem": { "docs": undefined, + "inline": true, "properties": { "contract_name": "optional", "currency": "optional", @@ -8325,6 +8410,7 @@ }, "Employment": { "docs": undefined, + "inline": undefined, "properties": { "client_legal_entity": { "docs": "The client legal entity associated with the employment.", @@ -8417,6 +8503,7 @@ }, "EmploymentDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "country": "optional", "days_per_week": "double", @@ -8435,6 +8522,7 @@ }, "EorClientTimeoffRequests": { "docs": undefined, + "inline": undefined, "properties": { "current_approved": { "docs": "Days off approved.", @@ -8468,6 +8556,7 @@ }, "EorClientTimeoffs": { "docs": undefined, + "inline": undefined, "properties": { "employees": { "docs": "List of employee time offs.", @@ -8481,6 +8570,7 @@ }, "EorClientTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorClientTimeoffs", }, @@ -8490,6 +8580,7 @@ }, "EorContractCreated": { "docs": undefined, + "inline": undefined, "properties": { "client": "optional", "compensation_details": "optional", @@ -8515,6 +8606,7 @@ }, "EorContractCreatedClient": { "docs": undefined, + "inline": true, "properties": { "legal_entity": "optional", }, @@ -8524,6 +8616,7 @@ }, "EorContractCreatedClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "name": { "docs": "Legal entity name.", @@ -8536,6 +8629,7 @@ }, "EorContractCreatedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Currency of gross annual salary.", @@ -8560,6 +8654,7 @@ }, "EorContractCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorContractCreated", }, @@ -8569,6 +8664,7 @@ }, "EorContractCreatedEmployee": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "Employee's email.", @@ -8593,6 +8689,7 @@ }, "EorContractCreatedEmployment": { "docs": undefined, + "inline": true, "properties": { "calculated_holidays": { "docs": "Number of calculate holidays for this contract.", @@ -8631,6 +8728,7 @@ }, "EorContractCreatedHealthPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Health plan ID", @@ -8647,6 +8745,7 @@ }, "EorContractToCreate": { "docs": undefined, + "inline": undefined, "properties": { "client": "EorContractToCreateClient", "compensation_details": "EorContractToCreateCompensationDetails", @@ -8672,6 +8771,7 @@ }, "EorContractToCreateClient": { "docs": undefined, + "inline": true, "properties": { "legal_entity": "optional", "team": "optional", @@ -8682,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.", @@ -8694,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.", @@ -8706,6 +8808,7 @@ }, "EorContractToCreateCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Salary currency.", @@ -8730,6 +8833,7 @@ }, "EorContractToCreateEmployee": { "docs": undefined, + "inline": true, "properties": { "address": "optional", "email": { @@ -8755,6 +8859,7 @@ }, "EorContractToCreateEmployeeAddress": { "docs": undefined, + "inline": true, "properties": { "city": { "docs": "City name.", @@ -8780,6 +8885,7 @@ }, "EorContractToCreateEmployment": { "docs": undefined, + "inline": true, "properties": { "country": "optional", "end_date": "optional", @@ -8846,6 +8952,7 @@ }, "EorContractToCreateQuoteAdditionalFields": { "docs": "Some countries require additional employee information for employment contracts.", + "inline": true, "properties": { "dob": { "docs": "Employee's date of birth.", @@ -8876,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".", @@ -8888,6 +8996,7 @@ }, "EorCountryValidations": { "docs": undefined, + "inline": undefined, "properties": { "adjustments_information_box": { "docs": "Country specific notes and information.", @@ -8946,6 +9055,7 @@ }, "EorCountryValidationsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorCountryValidations", }, @@ -8955,6 +9065,7 @@ }, "EorCountryValidationsDefiniteContract": { "docs": "Conditions to make definitive contract.", + "inline": true, "properties": { "maximum_limitation": "optional", "type": "optional", @@ -8975,6 +9086,7 @@ }, "EorCountryValidationsHealthInsurance": { "docs": undefined, + "inline": true, "properties": { "providers": "optional>", "status": "optional", @@ -8985,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.", @@ -8997,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.", @@ -9020,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.", @@ -9036,6 +9151,7 @@ }, "EorCountryValidationsProbation": { "docs": "Probation period range.", + "inline": true, "properties": { "max": { "docs": "Maximum probation days allowed for a legally compliant contract.", @@ -9052,6 +9168,7 @@ }, "EorCountryValidationsSalary": { "docs": "Salary range.", + "inline": true, "properties": { "max": { "docs": "Maximum wage allowed for a legally compliant contract.", @@ -9068,6 +9185,7 @@ }, "EorCountryValidationsSickDays": { "docs": undefined, + "inline": true, "properties": { "max": { "docs": "Maximum number of sick days allowed for a legally compliant contract.", @@ -9084,6 +9202,7 @@ }, "EorCountryValidationsWorkSchedule": { "docs": "Employee's Work schedule in days and hours.", + "inline": true, "properties": { "days": "optional", "hours": "optional", @@ -9094,6 +9213,7 @@ }, "EorCountryValidationsWorkScheduleDays": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -9103,6 +9223,7 @@ }, "EorCountryValidationsWorkScheduleHours": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -9112,6 +9233,7 @@ }, "EorEntitlementListItem": { "docs": "Entitlement Item for a given year.", + "inline": undefined, "properties": { "max_rollover_yearly": "optional", "other_leave_approved": { @@ -9179,6 +9301,7 @@ }, "EorEntitlements": { "docs": "Time-off Entitlements for EOR contracts.", + "inline": undefined, "properties": { "entitlements": { "docs": "List of entitlements.", @@ -9191,6 +9314,7 @@ }, "EorEntitlementsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorEntitlements", }, @@ -9216,6 +9340,7 @@ }, "EorTimeoffsBaseItem": { "docs": undefined, + "inline": undefined, "properties": { "attachments": "optional", "date_is_half_day": { @@ -9290,6 +9415,7 @@ }, "EorTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffs", }, @@ -9299,6 +9425,7 @@ }, "EorTimeoffsEmployeeItem": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": "string", "eor_contract_id": "double", @@ -9327,6 +9454,7 @@ "extends": [ "EorTimeoffsBaseItem", ], + "inline": undefined, "properties": { "applied_changes": { "docs": "List of changes applied to the time off.", @@ -9357,6 +9485,7 @@ }, "EorTimeoffsItemContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffsItem", }, @@ -9366,6 +9495,7 @@ }, "EstimateFirstPayment": { "docs": "Details of pro rata payment to create.", + "inline": undefined, "properties": { "compensation_details": "EstimateFirstPaymentCompensationDetails", "country_code": "CountryCode", @@ -9378,6 +9508,7 @@ }, "EstimateFirstPaymentCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -9440,6 +9571,7 @@ }, "ExchangeRates": { "docs": undefined, + "inline": undefined, "properties": { "rates": "optional>", "risk": "optional", @@ -9450,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.", @@ -9466,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.", @@ -9512,6 +9646,7 @@ }, "FinalPaymentCalculated": { "docs": undefined, + "inline": undefined, "properties": { "calculation_type": { "docs": "Either works days or calendar days", @@ -9562,6 +9697,7 @@ }, "FinalPaymentCalculatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "FinalPaymentCalculated", }, @@ -9571,6 +9707,7 @@ }, "FinalPaymentCalculatedLastCycle": { "docs": "The last payment cycle.", + "inline": true, "properties": { "completion_date": "optional", "end": "optional", @@ -9582,6 +9719,7 @@ }, "FirstPaymentDate": { "docs": "First payment date", + "inline": undefined, "properties": { "due": "optional", }, @@ -9591,6 +9729,7 @@ }, "GenericReportReviewCreated": { "docs": undefined, + "inline": undefined, "properties": { "id": "UniqueObjectIdentifier", "public_id": "optional", @@ -9602,6 +9741,7 @@ }, "GenericReportReviewCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericReportReviewCreatedList", }, @@ -9612,6 +9752,7 @@ "GenericReportReviewCreatedList": "list", "GenericResultCreated": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericResultCreatedData", }, @@ -9621,6 +9762,7 @@ }, "GenericResultCreatedData": { "docs": undefined, + "inline": true, "properties": { "created": "boolean", }, @@ -9630,6 +9772,7 @@ }, "GenericResultDeleted": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericResultDeletedData", }, @@ -9639,6 +9782,7 @@ }, "GenericResultDeletedData": { "docs": undefined, + "inline": true, "properties": { "deleted": { "docs": "Confirms the deletion.", @@ -9651,6 +9795,7 @@ }, "GenericResultUpdated": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericResultUpdatedData", }, @@ -9660,6 +9805,7 @@ }, "GenericResultUpdatedData": { "docs": undefined, + "inline": true, "properties": { "updated": "boolean", }, @@ -9669,6 +9815,7 @@ }, "HealthInsuranceProvider": { "docs": "Health insurance provider.", + "inline": undefined, "properties": { "attachments": { "docs": "File attachments.", @@ -9720,6 +9867,7 @@ }, "HealthInsuranceProviderAttachmentsItem": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "label": "optional", @@ -9730,6 +9878,7 @@ }, "HealthInsuranceProviderPlansItem": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Insurance payment currency.", @@ -9766,6 +9915,7 @@ }, "HrisCompensation": { "docs": undefined, + "inline": undefined, "properties": { "currency": { "type": "string", @@ -9784,6 +9934,7 @@ }, "HrisContractBase": { "docs": undefined, + "inline": undefined, "properties": { "contract_oid": { "docs": "The Hris Direct employee contract ID", @@ -9802,6 +9953,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -9812,6 +9964,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": { "part_time_percentage": { "docs": "required if employmentType is "PART_TIME"", @@ -9831,6 +9984,7 @@ }, "HrisDirectEmployee": { "docs": undefined, + "inline": undefined, "properties": { "compensation": "HrisCompensation", "contract": "HrisDirectEmployeeContract", @@ -9845,6 +9999,7 @@ }, "HrisDirectEmployeeContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "HrisDirectEmployeeResponse", }, @@ -9868,6 +10023,7 @@ }, "HrisDirectEmployeeDetails": { "docs": undefined, + "inline": undefined, "properties": { "country": { "type": "string", @@ -9941,6 +10097,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9954,6 +10111,7 @@ "extends": [ "HrisDirectEmployee", ], + "inline": undefined, "properties": { "id": { "docs": "The Hris Direct employee ID", @@ -9966,6 +10124,7 @@ }, "HrisDirectEmployeeVacationInfo": { "docs": undefined, + "inline": true, "properties": { "vacation_accrual_start_date": { "type": "string", @@ -9993,6 +10152,7 @@ }, "HrisJobInformationBase": { "docs": undefined, + "inline": undefined, "properties": { "seniority_id": "double", }, @@ -10005,6 +10165,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_id": "double", }, @@ -10017,6 +10178,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_name": "string", }, @@ -10026,6 +10188,7 @@ }, "HrisTeamInformation": { "docs": undefined, + "inline": undefined, "properties": { "legal_entity_id": "double", "team_id": "double", @@ -10036,6 +10199,7 @@ }, "InputToDeletePgoTask": { "docs": undefined, + "inline": undefined, "properties": { "data": "PgoTaskToDelete", }, @@ -10045,6 +10209,7 @@ }, "InputToShieldContract": { "docs": undefined, + "inline": undefined, "properties": { "data": "InputToShieldContractData", }, @@ -10054,6 +10219,7 @@ }, "InputToShieldContractData": { "docs": undefined, + "inline": true, "properties": { "agreement_id": { "docs": "MSA contract id (agreement).", @@ -10066,6 +10232,7 @@ }, "InvitationsOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_email": "optional", "worker_email": "optional", @@ -10076,6 +10243,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Billed amount.", @@ -10138,6 +10306,7 @@ "BasicInvoiceAdjustment", "InvoiceAdjustmentApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -10145,6 +10314,7 @@ }, "InvoiceAdjustmentApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -10157,6 +10327,7 @@ "InvoiceAdjustmentApproverList": "list", "InvoiceAdjustmentApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "InvoiceAdjustmentApproverList", }, @@ -10166,6 +10337,7 @@ }, "InvoiceAdjustmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustment", }, @@ -10175,6 +10347,7 @@ }, "InvoiceAdjustmentCreated": { "docs": "Details of invoice adjustment created.", + "inline": undefined, "properties": { "created": "boolean", "created_at": "optional", @@ -10188,6 +10361,7 @@ }, "InvoiceAdjustmentCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentCreated", }, @@ -10198,6 +10372,7 @@ "InvoiceAdjustmentList": "list", "InvoiceAdjustmentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentList", "page": "PageInfoWithoutCursorNew", @@ -10208,6 +10383,7 @@ }, "InvoiceAdjustmentReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "InvoiceAdjustmentReviewToCreateStatus", @@ -10227,6 +10403,7 @@ }, "InvoiceAdjustmentReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -10247,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", @@ -10303,6 +10481,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10315,6 +10494,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10327,6 +10507,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10342,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.", @@ -10379,6 +10561,7 @@ "InvoiceAdjustmentToCreate", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -10386,6 +10569,7 @@ }, "InvoiceAdjustmentToUpdate": { "docs": "Details of invoice adjustment to update.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -10462,6 +10646,7 @@ }, "InvoiceContract": { "docs": undefined, + "inline": undefined, "properties": { "contract_type": { "docs": "Type of Deel contract.", @@ -10497,6 +10682,7 @@ }, "InvoiceDownloadContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceDownloadObject", }, @@ -10506,6 +10692,7 @@ }, "InvoiceDownloadObject": { "docs": undefined, + "inline": undefined, "properties": { "expires_at": { "docs": "Expiration date time of download URL.", @@ -10527,6 +10714,7 @@ "InvoiceList": "list", "InvoiceListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceObject", }, @@ -10536,6 +10724,7 @@ }, "InvoiceObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -10585,6 +10774,7 @@ }, "JobTitle": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for the job title in Deel platform.", @@ -10602,6 +10792,7 @@ "JobTitleList": "list", "JobTitleListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "JobTitleList", "page": "JobTitleListContainerPage", @@ -10612,6 +10803,7 @@ }, "JobTitleListContainerPage": { "docs": undefined, + "inline": true, "properties": { "cursor": { "docs": "Use for pagination to get next set of records after the given cursor.", @@ -10626,6 +10818,7 @@ "LegalEntityList": "list", "LegalEntityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -10645,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.", @@ -10658,6 +10852,7 @@ }, "Milestone": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -10699,6 +10894,7 @@ }, "MilestoneContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Milestone", }, @@ -10709,6 +10905,7 @@ "MilestoneList": "list", "MilestoneListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "MilestoneList", }, @@ -10718,6 +10915,7 @@ }, "MilestoneProperties": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -10738,6 +10936,7 @@ }, "MilestoneReportedBy": { "docs": "Milestone creator.", + "inline": true, "properties": { "full_name": { "docs": "Reporter's full name.", @@ -10754,6 +10953,7 @@ }, "MilestoneReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "MilestoneReviewToCreateStatus", @@ -10773,6 +10973,7 @@ }, "MilestoneReviewedBy": { "docs": "Reviewer's information.", + "inline": true, "properties": { "full_name": { "docs": "Reviewer's full name.", @@ -10789,6 +10990,7 @@ }, "MilestoneReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": "optional", @@ -10814,6 +11016,7 @@ "MilestoneProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -10821,6 +11024,7 @@ }, "MonthlyPayment": { "docs": "Monthly payment details for the user", + "inline": undefined, "properties": { "count": { "docs": "The number of monthly payments", @@ -10926,6 +11130,7 @@ }, "OffCyclePayment": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount of off-cycle payment.", @@ -10950,6 +11155,7 @@ }, "OffCyclePaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePayment", }, @@ -10960,6 +11166,7 @@ "OffCyclePaymentList": "list", "OffCyclePaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePaymentList", }, @@ -10969,6 +11176,7 @@ }, "OffCyclePaymentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the creator.", @@ -10985,6 +11193,7 @@ }, "OffCyclePaymentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the reviewer.", @@ -11009,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.", @@ -11038,6 +11248,7 @@ "OrganizationList": "list", "OrganizationListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OrganizationList", }, @@ -11047,6 +11258,7 @@ }, "OutputToCreateFileRef": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "url": "string", @@ -11057,6 +11269,7 @@ }, "OutputToCreateFileRefContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OutputToCreateFileRef", }, @@ -11066,6 +11279,7 @@ }, "PageInfo": { "docs": undefined, + "inline": undefined, "properties": { "cursor": "string", "total_rows": "double", @@ -11076,6 +11290,7 @@ }, "PageInfoWithoutCursor": { "docs": undefined, + "inline": undefined, "properties": { "total_rows": "double", }, @@ -11085,6 +11300,7 @@ }, "PageInfoWithoutCursorNew": { "docs": undefined, + "inline": undefined, "properties": { "items_per_page": { "type": "double", @@ -11114,6 +11330,7 @@ }, "Payment": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp when the record was created.", @@ -11143,6 +11360,7 @@ }, "PaymentBreakDown": { "docs": undefined, + "inline": undefined, "properties": { "adjustment": "optional", "approve_date": "optional", @@ -11209,6 +11427,7 @@ }, "PaymentBreakDownContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -11219,6 +11438,7 @@ "PaymentList": "list", "PaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PaymentObject", }, @@ -11228,6 +11448,7 @@ }, "PaymentMethod": { "docs": undefined, + "inline": undefined, "properties": { "type": "PaymentMethodEnum", }, @@ -11263,6 +11484,7 @@ }, "PaymentObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -11273,6 +11495,7 @@ }, "PaymentStatementInitiatedWebhook": { "docs": undefined, + "inline": undefined, "properties": { "billing_invoices": "list", "invoices": "list", @@ -11294,6 +11517,7 @@ "PaymentStatusEnumList": "list", "PaymentWorker": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": { "docs": "The worker's Deel contract Id.", @@ -11316,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)", @@ -11456,6 +11681,7 @@ }, "PeopleClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the client legal entity.", @@ -11472,6 +11698,7 @@ }, "PeopleContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -11481,6 +11708,7 @@ }, "PeopleMe": { "docs": "People object representing a Deel", + "inline": undefined, "properties": { "avatar_url": { "docs": "URL of the user's avatar", @@ -11545,6 +11773,7 @@ "PeopleMeContainer": "PeopleMe", "PeoplePayment": { "docs": undefined, + "inline": undefined, "properties": { "contract_name": { "docs": "The name of the contract associated with the payment", @@ -11569,6 +11798,7 @@ }, "PgoTask": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -11592,6 +11822,7 @@ }, "PgoTaskReviewsByIdToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "docs": "Review comments.", @@ -11618,6 +11849,7 @@ }, "PgoTaskReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": { @@ -11645,6 +11877,7 @@ }, "PgoTaskToCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -11669,6 +11902,7 @@ }, "PgoTaskToDelete": { "docs": undefined, + "inline": undefined, "properties": { "delete_recurring_report": { "docs": "Request to delete recurring report.", @@ -11685,6 +11919,7 @@ }, "PremiumResultAdded": { "docs": undefined, + "inline": undefined, "properties": { "calculated_premium": { "docs": "Cost for Deel Premium.", @@ -11704,6 +11939,7 @@ }, "PremiumResultAddedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PremiumResultAdded", }, @@ -11713,6 +11949,7 @@ }, "PremiumResultAddedMisclassificationGuarantee": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Cover your legal defense costs.", @@ -11729,6 +11966,7 @@ }, "PremiumResultAddedPenalties": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Get indemnity against tax authority penalties, liabilities and fines.", @@ -11745,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.", @@ -11761,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?", @@ -11777,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", @@ -11866,6 +12107,7 @@ }, "ResponseEstimateFirstPayment": { "docs": undefined, + "inline": undefined, "properties": { "first_payment_dates": "optional>", "pro_rata": "optional", @@ -11876,6 +12118,7 @@ }, "ResponseEstimateFirstPaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ResponseEstimateFirstPayment", }, @@ -11885,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", @@ -11912,6 +12156,7 @@ "SeniorityList": "list", "SeniorityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "SeniorityList", }, @@ -11921,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.", @@ -11947,6 +12193,7 @@ }, "SignaturesOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signed_at": "optional", "worker_signature": { @@ -11961,6 +12208,7 @@ }, "SignaturesOfContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "normally name of client is used as signature", @@ -11989,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.", @@ -12018,6 +12267,7 @@ "TaskList": "list", "TaskListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TaskList", }, @@ -12027,6 +12277,7 @@ }, "Team": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the team.", @@ -12044,6 +12295,7 @@ "TeamList": "list", "TeamListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TeamList", }, @@ -12053,6 +12305,7 @@ }, "TeamOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -12069,6 +12322,7 @@ }, "TeamOfContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -12085,6 +12339,7 @@ }, "TimeoffReview": { "docs": undefined, + "inline": undefined, "properties": { "denial_reason": { "docs": "Denial reason for the time off requested.", @@ -12102,6 +12357,7 @@ "TimeoffTypeList": "list", "TimeoffTypeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimeoffTypeList", }, @@ -12115,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", @@ -12132,6 +12389,7 @@ }, "TimeoffsProfile": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "is_employee": { @@ -12175,6 +12433,7 @@ "BasicTimesheet", "TimesheetApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12183,6 +12442,7 @@ "TimesheetAccountingRefs": "optional>", "TimesheetAccountingRefsItem": { "docs": undefined, + "inline": undefined, "properties": { "integration": "string", "mapping_category": "optional", @@ -12193,6 +12453,7 @@ }, "TimesheetAccountingRefsItemMappingCategory": { "docs": undefined, + "inline": true, "properties": { "id": "string", "name": "string", @@ -12203,6 +12464,7 @@ }, "TimesheetApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -12215,6 +12477,7 @@ "TimesheetApproverList": "list", "TimesheetApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "TimesheetApproverList", }, @@ -12224,6 +12487,7 @@ }, "TimesheetContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Timesheet", }, @@ -12236,6 +12500,7 @@ "discriminated": false, "docs": "ID of an existing timesheet record", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -12247,6 +12512,7 @@ "TimesheetList": "list", "TimesheetListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimesheetList", "page": "PageInfoWithoutCursor", @@ -12257,6 +12523,7 @@ }, "TimesheetReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "TimesheetReviewToCreateStatus", @@ -12276,6 +12543,7 @@ }, "TimesheetReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -12296,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", @@ -12352,6 +12621,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12364,6 +12634,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12376,6 +12647,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12386,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.", @@ -12418,6 +12691,7 @@ "TimesheetSharedProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12425,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", @@ -12442,6 +12717,7 @@ "discriminated": false, "docs": "Unique identifier of this resource.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -12470,6 +12746,7 @@ }, "WebhookItem": { "docs": undefined, + "inline": undefined, "properties": { "api_version": { "default": "v1", @@ -12523,6 +12800,7 @@ }, "WebhookItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "WebhookItem", }, @@ -12542,6 +12820,7 @@ }, "WebhookListResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -12644,6 +12923,7 @@ }, "WorkerLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "personal_name": "string", "registration_number": "string", @@ -12655,6 +12935,7 @@ }, "WorkerOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "email": "optional", @@ -12676,6 +12957,7 @@ }, "WorkerOfContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "date_of_birth": "optional", @@ -12868,6 +13150,7 @@ - ContractTypeEnumList source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorStatuses: discriminated: false union: @@ -12875,6 +13158,7 @@ - ContractStatusEnum source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCountries: discriminated: false union: @@ -12882,6 +13166,7 @@ - CountryCode source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCurrencies: discriminated: false union: @@ -12889,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 @@ -13295,6 +13581,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreatePayAsYouGoTimeBased: properties: type: literal<"pay_as_you_go_time_based"> @@ -13355,6 +13642,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreateOngoingTimeBased: properties: type: literal<"ongoing_time_based"> @@ -13371,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 @@ -13379,6 +13668,7 @@ id: double source: openapi: ../openapi.yml + inline: true ContractToCreateSharedClient: properties: legal_entity: @@ -13393,6 +13683,7 @@ a list of teams in your organization. source: openapi: ../openapi.yml + inline: true ContractToCreateSharedJobTitle: docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled @@ -13408,6 +13699,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateSharedSeniority: docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve @@ -13416,6 +13708,7 @@ id: optional source: openapi: ../openapi.yml + inline: true ContractToCreateSharedWorker: docs: Worker properties properties: @@ -13432,6 +13725,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateShared: docs: Details of contract to create properties: @@ -13699,6 +13993,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicTimesheetReviewedBy: properties: id: double @@ -13707,6 +14002,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicTimesheetContract: properties: id: string @@ -13714,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 @@ -13896,6 +14195,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerTypes: discriminated: false union: @@ -13903,6 +14203,7 @@ - TimesheetTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerStatuses: discriminated: false union: @@ -13910,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 @@ -13953,6 +14255,7 @@ name: string source: openapi: ../openapi.yml + inline: true TimesheetAccountingRefsItem: properties: integration: string @@ -13967,6 +14270,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerTypes: discriminated: false union: @@ -13974,6 +14278,7 @@ - InvoiceAdjustmentTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerStatuses: discriminated: false union: @@ -13981,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 @@ -14045,6 +14351,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentReviewedBy: properties: id: double @@ -14053,6 +14360,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentContract: properties: id: string @@ -14060,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 @@ -14211,6 +14522,7 @@ created: boolean source: openapi: ../openapi.yml + inline: true GenericResultCreated: properties: data: GenericResultCreatedData @@ -14227,6 +14539,7 @@ updated: boolean source: openapi: ../openapi.yml + inline: true GenericResultUpdated: properties: data: GenericResultUpdatedData @@ -14239,6 +14552,7 @@ docs: Confirms the deletion. source: openapi: ../openapi.yml + inline: true GenericResultDeleted: properties: data: GenericResultDeletedData @@ -14503,6 +14817,7 @@ docs: Use for pagination to get next set of records after the given cursor. source: openapi: ../openapi.yml + inline: true JobTitleListContainer: properties: data: JobTitleList @@ -14727,6 +15042,7 @@ docs: Reviewer's full name. source: openapi: ../openapi.yml + inline: true MilestoneReportedBy: docs: Milestone creator. properties: @@ -14738,6 +15054,7 @@ docs: Reporter's full name. source: openapi: ../openapi.yml + inline: true Milestone: properties: id: @@ -14851,6 +15168,7 @@ work_week_end: optional source: openapi: ../openapi.yml + inline: true EstimateFirstPayment: docs: Details of pro rata payment to create. properties: @@ -14929,6 +15247,7 @@ docs: Remarks made during review process. source: openapi: ../openapi.yml + inline: true OffCyclePaymentReportedBy: properties: id: @@ -14939,6 +15258,7 @@ docs: Full name of the creator. source: openapi: ../openapi.yml + inline: true OffCyclePayment: properties: id: UniqueObjectIdentifier @@ -15097,18 +15417,21 @@ 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 @@ -15126,6 +15449,7 @@ docs: MSA contract id (agreement). source: openapi: ../openapi.yml + inline: true InputToShieldContract: properties: data: InputToShieldContractData @@ -15188,6 +15512,7 @@ completion_date: optional source: openapi: ../openapi.yml + inline: true FinalPaymentCalculatedCalculationType: enum: - CUSTOM_AMOUNT @@ -15234,6 +15559,7 @@ docs: Cover your legal defense costs. source: openapi: ../openapi.yml + inline: true PremiumResultAddedPenalties: properties: name: @@ -15244,6 +15570,7 @@ docs: Get indemnity against tax authority penalties, liabilities and fines. source: openapi: ../openapi.yml + inline: true PremiumResultAddedThirdPartyLiabilities: properties: name: @@ -15256,6 +15583,7 @@ court's decision. source: openapi: ../openapi.yml + inline: true PremiumResultAdded: properties: id: @@ -15421,6 +15749,7 @@ country: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmployee: properties: first_name: @@ -15438,6 +15767,7 @@ address: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmploymentType: enum: - value: Full-time @@ -15493,6 +15823,7 @@ chooseing "STANDARD" time_off_type. source: openapi: ../openapi.yml + inline: true EorContractToCreateSeniority: properties: id: @@ -15502,6 +15833,7 @@ for "Not Applicable". source: openapi: ../openapi.yml + inline: true EorContractToCreateClientLegalEntity: properties: id: @@ -15512,6 +15844,7 @@ your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClientTeam: properties: id: @@ -15521,12 +15854,14 @@ to retrieve a list of teams in your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClient: properties: legal_entity: optional team: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateCompensationDetails: properties: salary: @@ -15547,6 +15882,7 @@ PERCENTAGE or FIXED. source: openapi: ../openapi.yml + inline: true EorContractToCreateQuoteAdditionalFieldsWorkerType: enum: - Skilled @@ -15570,6 +15906,7 @@ docs: Employee's date of birth. source: openapi: ../openapi.yml + inline: true EorContractToCreate: properties: employee: optional @@ -15624,6 +15961,7 @@ docs: Number of calculate holidays for this contract. source: openapi: ../openapi.yml + inline: true EorContractCreatedClientLegalEntity: properties: name: @@ -15631,11 +15969,13 @@ docs: Legal entity name. source: openapi: ../openapi.yml + inline: true EorContractCreatedClient: properties: legal_entity: optional source: openapi: ../openapi.yml + inline: true EorContractCreatedCompensationDetails: properties: salary: @@ -15652,6 +15992,7 @@ docs: Type fo variable compensation. source: openapi: ../openapi.yml + inline: true EorContractCreatedEmployee: properties: legal_name: @@ -15668,6 +16009,7 @@ docs: Employee's email. source: openapi: ../openapi.yml + inline: true EorContractCreatedHealthPlan: properties: id: @@ -15678,6 +16020,7 @@ docs: Health plan name source: openapi: ../openapi.yml + inline: true EorContractCreated: properties: id: @@ -15705,6 +16048,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsPartTimeHolidayType: enum: - PRORATED @@ -15721,6 +16065,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsSickDays: properties: min: @@ -15731,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: @@ -15742,6 +16088,7 @@ docs: Maximum wage allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsProbation: docs: Probation period range. properties: @@ -15753,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: @@ -15764,16 +16112,19 @@ 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: @@ -15781,6 +16132,7 @@ hours: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsDefiniteContractType: enum: - ALLOWED_WITHOUT_LIMITATION @@ -15795,12 +16147,14 @@ maximum_limitation: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsHealthInsurance: properties: status: optional providers: optional> source: openapi: ../openapi.yml + inline: true EorCountryValidations: properties: holiday: @@ -15852,6 +16206,7 @@ label: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProviderPlansItem: properties: id: @@ -15869,6 +16224,7 @@ is_enabled: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProvider: docs: Health insurance provider. properties: @@ -16186,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 @@ -16598,6 +16957,7 @@ - HrisJobInformationTitleName source: openapi: ../openapi.yml + inline: true HrisDirectEmployeeContract: discriminant: employment_type base-properties: {} @@ -16619,6 +16979,7 @@ max: 365 source: openapi: ../openapi.yml + inline: true HrisDirectEmployee: properties: employee_details: HrisDirectEmployeeDetails @@ -20854,6 +21215,7 @@ docs: End-points to retrieve paid invoices and reciepts. "types": { "InputToCreateFileRefData": { "docs": undefined, + "inline": true, "properties": { "content_type": "root.FileRefTypeEnum", }, @@ -20871,6 +21233,7 @@ types: content_type: root.FileRefTypeEnum 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/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 f6177b841cc..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", @@ -4685,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", @@ -4705,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", @@ -4746,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", @@ -4881,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", @@ -4891,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", @@ -4941,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", @@ -4948,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", @@ -4980,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", @@ -5025,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", @@ -5037,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", @@ -5115,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", @@ -5135,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>", @@ -5145,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", @@ -5186,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", @@ -6346,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: 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..7e7d2119f2d 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.", @@ -1798,6 +1834,7 @@ }, "ContactCompany": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": true, "properties": { "_object": "optional", "id": "optional", @@ -1810,6 +1847,7 @@ }, "ContainerCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1830,6 +1868,7 @@ }, "ContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/container_counts` for this object.", @@ -1858,6 +1897,7 @@ }, "ContainerLegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1878,6 +1918,7 @@ }, "ContainerListRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1891,6 +1932,7 @@ }, "ContainerRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1903,6 +1945,7 @@ }, "ContainerShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1916,6 +1959,7 @@ }, "CoordinatesCreate": { "docs": undefined, + "inline": undefined, "properties": { "latitude": "optional", "longitude": "optional", @@ -1926,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.", @@ -1995,6 +2040,7 @@ }, "CreateBookingAmendmentHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -2015,6 +2061,7 @@ }, "CreateBookingHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -2039,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.", @@ -2089,6 +2137,7 @@ }, "CreateCommercialInvoiceLineItem": { "docs": undefined, + "inline": undefined, "properties": { "container_number": "optional", "country_of_origin": "optional", @@ -2128,6 +2177,7 @@ }, "CreateContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "forty_five_ft_hc": { "docs": "Quantity of 45 ft HC containers requested.", @@ -2152,6 +2202,7 @@ }, "CreateDocument": { "docs": undefined, + "inline": undefined, "properties": { "document": { "docs": "Document represented in a strict Base64-encoded string.", @@ -2188,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.", @@ -2201,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.", @@ -2297,6 +2350,7 @@ }, "CreateLineItemDestinationLocation": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -2344,6 +2398,7 @@ }, "CreateLineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -2535,6 +2590,7 @@ }, "CreateOceanBooking": { "docs": undefined, + "inline": undefined, "properties": { "container_counts": "CreateContainerCounts", "destination_port_loc_code": { @@ -2597,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.", @@ -2781,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?", @@ -2805,6 +2863,7 @@ }, "CreatePartyContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -2838,6 +2897,7 @@ }, "CreatePurchaseOrderHsCode": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The indentifying code on the hs code", @@ -2854,6 +2914,7 @@ }, "CreatePurchaseOrderPort": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "A unique identifier for this port", @@ -2882,6 +2943,7 @@ }, "CreatePurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -2938,6 +3000,7 @@ }, "CreateQuantity": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement.", @@ -2969,6 +3032,7 @@ }, "CreateTruckingBooking": { "docs": undefined, + "inline": undefined, "properties": { "description_of_products": { "docs": "General description of the products in the shipment.", @@ -2999,6 +3063,7 @@ }, "CreditMemo": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -3029,6 +3094,7 @@ }, "CustomsEntriesShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3042,6 +3108,7 @@ }, "CustomsEntry": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /customs_entry for this object.", @@ -3074,6 +3141,7 @@ }, "CustomsEntryCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -3085,6 +3153,7 @@ }, "CustomsEntryIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3109,6 +3178,7 @@ }, "CustomsInvolvedParty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3131,6 +3201,7 @@ }, "DistanceCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "km" for kilometers. "mi" for miles.", @@ -3157,6 +3228,7 @@ }, "Document": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /document for this object.", @@ -3198,6 +3270,7 @@ }, "DocumentCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -3209,6 +3282,7 @@ }, "DocumentsCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3222,6 +3296,7 @@ }, "DocumentsDownloadRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3235,6 +3310,7 @@ }, "DocumentsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3248,6 +3324,7 @@ }, "DocumentsShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3261,6 +3338,7 @@ }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always /api/error for this object.", @@ -3285,6 +3363,7 @@ }, "EventsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3298,6 +3377,7 @@ }, "EventsShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3311,6 +3391,7 @@ }, "Exception": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "message": { @@ -3355,6 +3436,7 @@ }, "FileMetadata": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /file_metadata for this object.", @@ -3386,6 +3468,7 @@ }, "GenericCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -3397,6 +3480,7 @@ }, "GenericObjectRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3411,6 +3495,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3421,6 +3506,7 @@ }, "HsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/hs_code` for this object.", @@ -3442,6 +3528,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always '/invoice' for this object.", @@ -3515,6 +3602,7 @@ }, "InvoiceIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3528,6 +3616,7 @@ }, "InvoiceItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object.", @@ -3573,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", @@ -3593,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", @@ -3636,6 +3727,7 @@ }, "InvoicesShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3649,6 +3741,7 @@ }, "LegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3669,6 +3762,7 @@ }, "LegRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3681,6 +3775,7 @@ }, "Length": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/length` for this object.", @@ -3701,6 +3796,7 @@ }, "LengthCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "cm" for centimeters. "in" for inches.", @@ -3737,6 +3833,7 @@ }, "LineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -3773,6 +3870,7 @@ }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/location for this object.", @@ -3796,6 +3894,7 @@ }, "LocationIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3809,6 +3908,7 @@ }, "LocationUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3822,6 +3922,7 @@ }, "Manufacturer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3842,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", }, @@ -3858,6 +3960,7 @@ }, "MetadataCreateExampleKey": { "docs": "Object format.", + "inline": true, "properties": { "example_key": "optional>", }, @@ -3867,6 +3970,7 @@ }, "MetadataCreateItem": { "docs": undefined, + "inline": true, "properties": { "name": "optional", "value": "optional>", @@ -3880,6 +3984,7 @@ "extends": [ "MoneyCreate", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3887,6 +3992,7 @@ }, "MoneyCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": "optional", "currency_code": "optional", @@ -3897,6 +4003,7 @@ }, "NetworkCompanyCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3910,6 +4017,7 @@ }, "NetworkCompanyEntityCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3923,6 +4031,7 @@ }, "NetworkCompanyEntityShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3936,6 +4045,7 @@ }, "NetworkCompanyEntityUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3949,6 +4059,7 @@ }, "NetworkCompanyIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3962,6 +4073,7 @@ }, "NetworkCompanyMeRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3975,6 +4087,7 @@ }, "NetworkCompanyUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3988,6 +4101,7 @@ }, "NetworkContactCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4001,6 +4115,7 @@ }, "NetworkContactIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4014,6 +4129,7 @@ }, "NetworkContactShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4027,6 +4143,7 @@ }, "NetworkContactUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4040,6 +4157,7 @@ }, "NetworkLocationCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4053,6 +4171,7 @@ }, "NetworkLocationShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4066,6 +4185,7 @@ }, "OceanBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4105,6 +4225,7 @@ }, "OceanContainerLegsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4118,6 +4239,7 @@ }, "OceanContainerLegsShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4131,6 +4253,7 @@ }, "OceanShipmentContainerLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4146,6 +4269,7 @@ }, "OceanShipmentDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4167,6 +4291,7 @@ }, "OceanShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -4181,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": { @@ -4202,6 +4328,7 @@ }, "PartiesContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -4235,6 +4362,7 @@ }, "Place": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4255,6 +4383,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4266,6 +4395,7 @@ }, "Placeport": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4299,6 +4429,7 @@ }, "PortsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4312,6 +4443,7 @@ }, "Product": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4367,6 +4499,7 @@ }, "ProductClassification": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4387,6 +4520,7 @@ }, "ProductCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4400,6 +4534,7 @@ }, "ProductIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4413,6 +4548,7 @@ }, "ProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4433,6 +4569,7 @@ }, "ProductRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -4445,6 +4582,7 @@ }, "ProductShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4458,6 +4596,7 @@ }, "ProductUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4471,6 +4610,7 @@ }, "PurchaseOrder": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4550,6 +4690,7 @@ }, "PurchaseOrderCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4591,6 +4732,7 @@ }, "PurchaseOrderIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4604,6 +4746,7 @@ }, "PurchaseOrderLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4664,6 +4807,7 @@ }, "PurchaseOrderLineItemCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4684,6 +4828,7 @@ }, "PurchaseOrderLineItemDestinationAddress": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -4719,6 +4864,7 @@ }, "PurchaseOrderLineItemIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4743,6 +4889,7 @@ }, "PurchaseOrderLineItemRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -4755,6 +4902,7 @@ }, "PurchaseOrderLineItemShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4842,6 +4990,7 @@ }, "PurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -4898,6 +5047,7 @@ }, "PurchaseOrderRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -4910,6 +5060,7 @@ }, "PurchaseOrderShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4935,6 +5086,7 @@ }, "PurchaseOrderUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4948,6 +5100,7 @@ }, "RailShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -4958,6 +5111,7 @@ }, "Shipment": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5136,6 +5290,7 @@ }, "ShipmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5218,6 +5373,7 @@ }, "ShipmentDangerousGoods": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of this object", @@ -5248,6 +5404,7 @@ }, "ShipmentEventData": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5273,6 +5430,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5303,6 +5461,7 @@ }, "ShipmentIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5316,6 +5475,7 @@ }, "ShipmentItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5334,6 +5494,7 @@ }, "ShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5375,6 +5536,7 @@ }, "ShipmentLegIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5388,6 +5550,7 @@ }, "ShipmentLegShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5401,6 +5564,7 @@ }, "ShipmentNode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5426,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.", @@ -5450,6 +5615,7 @@ }, "ShipmentShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5483,6 +5649,7 @@ }, "ShipmentUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5496,6 +5663,7 @@ }, "ShipmentsShareableRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5509,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.", @@ -5542,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.", @@ -5571,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", @@ -5607,6 +5778,7 @@ }, "TruckingBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5631,6 +5803,7 @@ }, "TruckingShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -5656,6 +5829,7 @@ }, "VatNumber": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5676,6 +5850,7 @@ "extends": [ "VolumeCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5688,6 +5863,7 @@ }, "VolumeCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "unit of measurement. "cbm" for cubic meters. "cbft" for cubic feet.", @@ -5714,6 +5890,7 @@ }, "WebhookEvent": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5735,6 +5912,7 @@ "extends": [ "WeightCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/weight` for this object.", @@ -5747,6 +5925,7 @@ }, "WeightCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "kg" for kilograms, "lbs" for pounds", @@ -5773,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", @@ -5789,6 +5969,7 @@ }, "WriteProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "Always required. User defined type of this property", @@ -5805,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", @@ -5825,6 +6007,7 @@ }, "WriteVatNumber": { "docs": undefined, + "inline": undefined, "properties": { "country_code": { "docs": "ISO 3166 two-letter country code", @@ -6536,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: >- @@ -6977,6 +7162,7 @@ - Manufacturer source: openapi: ../openapi.yml + inline: true Place: properties: _object: @@ -7737,6 +7923,7 @@ - integer source: openapi: ../openapi.yml + inline: true GenericObjectRef: docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' properties: @@ -8427,6 +8614,7 @@ - OceanShipmentContainerLeg source: openapi: ../openapi.yml + inline: true ShipmentEventData: properties: _object: @@ -8656,6 +8844,7 @@ id: optional source: openapi: ../openapi.yml + inline: true Contact: properties: _object: @@ -8962,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 @@ -9138,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 @@ -10360,7 +10551,6 @@ errors: "city": "Los Angeles", "country": "United States", "country_code": "US", - "ref": "address_ref_x", "street_address": "123 Queen St", "timezone": "America/Los_Angeles", "unlocode": "USLA", @@ -10386,7 +10576,6 @@ errors: "city": "Shanghai", "country": "China", "country_code": "CN", - "ref": "address_ref_x", "street_address": "123 Queen St", "timezone": "America/Los_Angeles", "unlocode": "CNSZP", @@ -10451,7 +10640,6 @@ errors: "wants_import_customs_service": true, }, ], - "next": "https://api.flexport.com/bookings?page=3&per=10", "prev": "https://api.flexport.com/bookings?page=12&per=10", }, "self": "https://api.flexport.com/bookings?page=13&per=10", @@ -10664,28 +10852,6 @@ errors: "_object": "/api/response", "data": { "_object": "/booking", - "air_booking": { - "_object": "/air/booking", - "destination_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "incoterm": "EXW", - "origin_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "product_descriptions": [ - { - "_object": "/bookings/product_descriptions", - "description": "Wristwatches", - "description_for_export_customs": "手表", - "description_for_export_customs_locale": "zh_CN", - }, - ], - "wants_delivery_service": false, - "wants_pickup_service": true, - }, "booking_line_items": { "_object": "/api/refs/collection", "link": "https://api.flexport.com/booking_line_items?f.booking.id=123", @@ -10799,7 +10965,6 @@ errors: ], }, "name": "PO 123", - "notify_party": "John Doe | john@example.com | 905-555-1234", "ocean_booking": { "_object": "/ocean/booking", "container_counts": { @@ -10889,7 +11054,6 @@ errors: "unlocode": "US AL2", "zip": "56307", }, - "quote_status": "pending_quote", "shipment": { "_object": "/api/refs/object", "id": 123, @@ -10925,12 +11089,6 @@ errors: "special_instructions": "Handle carefully", "status": "archived", "transportation_mode": "ocean", - "trucking_booking": { - "_object": "/trucking/booking", - "description_of_products": "Wristwatches", - "is_ftl": false, - "payment_terms": "collect", - }, "wants_export_customs_service": true, "wants_import_customs_service": true, }, @@ -11063,28 +11221,6 @@ errors: "_object": "/api/response", "data": { "_object": "/booking", - "air_booking": { - "_object": "/air/booking", - "destination_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "incoterm": "EXW", - "origin_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "product_descriptions": [ - { - "_object": "/bookings/product_descriptions", - "description": "Wristwatches", - "description_for_export_customs": "手表", - "description_for_export_customs_locale": "zh_CN", - }, - ], - "wants_delivery_service": false, - "wants_pickup_service": true, - }, "booking_line_items": { "_object": "/api/refs/collection", "link": "https://api.flexport.com/booking_line_items?f.booking.id=123", @@ -11318,12 +11454,6 @@ errors: "special_instructions": "", "status": "archived", "transportation_mode": "ocean", - "trucking_booking": { - "_object": "/trucking/booking", - "description_of_products": "Wristwatches", - "is_ftl": false, - "payment_terms": "collect", - }, "wants_export_customs_service": true, "wants_import_customs_service": true, }, @@ -11358,6 +11488,7 @@ errors: "types": { "BookingCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11370,6 +11501,7 @@ errors: }, "BookingShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11410,6 +11542,7 @@ errors: }, "BookingsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11422,6 +11555,7 @@ errors: }, "BookingsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -11473,6 +11607,7 @@ errors: data: optional> source: openapi: ../openapi.yml + inline: true BookingsIndexResponse: properties: _object: optional @@ -11631,7 +11766,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/bookings?page=12&per=10 - next: https://api.flexport.com/bookings?page=3&per=10 data: - _object: /booking id: 123 @@ -11701,7 +11835,6 @@ service: country: China country_code: CN timezone: America/Los_Angeles - ref: address_ref_x unlocode: CNSZP details: - _object: /trucking/port @@ -11718,7 +11851,6 @@ service: country: United States country_code: US timezone: America/Los_Angeles - ref: address_ref_x unlocode: USLA details: - _object: /trucking/port @@ -11978,7 +12110,6 @@ service: link: https://api.flexport.com/shipments/123 id: 123 status: archived - quote_status: pending_quote shipper_entity: _object: /company_entity id: 9281 @@ -12021,7 +12152,6 @@ service: - _object: company_entity/vat_number country_code: US number: US 123746396 - notify_party: John Doe | john@example.com | 905-555-1234 transportation_mode: ocean ocean_booking: _object: /ocean/booking @@ -12081,27 +12211,6 @@ service: 36177-92-1) (provided for in subheading 2933.39.91) code: '9101.00' country_code: US - air_booking: - _object: /air/booking - incoterm: EXW - wants_pickup_service: true - wants_delivery_service: false - origin_port: - _object: /place - name: ORD - Chicago - IL - destination_port: - _object: /place - name: ORD - Chicago - IL - product_descriptions: - - _object: /bookings/product_descriptions - description: Wristwatches - description_for_export_customs: 手表 - description_for_export_customs_locale: zh_CN - trucking_booking: - _object: /trucking/booking - is_ftl: false - payment_terms: collect - description_of_products: Wristwatches origin_address: _object: /address street_address: 1641 Settlers Lane @@ -12318,27 +12427,6 @@ service: description: Wristwatches description_for_export_customs: 手表 description_for_export_customs_locale: zh_CN - air_booking: - _object: /air/booking - incoterm: EXW - wants_pickup_service: true - wants_delivery_service: false - origin_port: - _object: /place - name: ORD - Chicago - IL - destination_port: - _object: /place - name: ORD - Chicago - IL - product_descriptions: - - _object: /bookings/product_descriptions - description: Wristwatches - description_for_export_customs: 手表 - description_for_export_customs_locale: zh_CN - trucking_booking: - _object: /trucking/booking - is_ftl: false - payment_terms: collect - description_of_products: Wristwatches origin_address: _object: /address street_address: 1641 Settlers Lane @@ -12603,12 +12691,9 @@ docs: Endpoints relating to Booking objects "country": "China", "country_code": "CN", "ref": "my-shanghai-address-ref", - "state": "MN", "street_address": "123 Queen St", - "street_address2": "STE 2918", "timezone": "China/Shanghai", "unlocode": "CNSHA", - "zip": "56307", }, "new_port_of_loading": { "_object": "/address", @@ -12616,12 +12701,9 @@ docs: Endpoints relating to Booking objects "country": "China", "country_code": "CN", "ref": "my-shanghai-address-ref", - "state": "MN", "street_address": "123 Queen St", - "street_address2": "STE 2918", "timezone": "China/Shanghai", "unlocode": "CNSHA", - "zip": "56307", }, "new_port_of_unloading": { "_object": "/address", @@ -12741,6 +12823,7 @@ docs: Endpoints relating to Booking objects "types": { "BookingAmendmentCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12922,24 +13005,18 @@ service: new_origin_address: _object: /address street_address: 123 Queen St - street_address2: STE 2918 city: Shanghai - state: MN country: China country_code: CN - zip: '56307' timezone: China/Shanghai ref: my-shanghai-address-ref unlocode: CNSHA new_port_of_loading: _object: /address street_address: 123 Queen St - street_address2: STE 2918 city: Shanghai - state: MN country: China country_code: CN - zip: '56307' timezone: China/Shanghai ref: my-shanghai-address-ref unlocode: CNSHA @@ -13146,7 +13223,6 @@ docs: >- "units": 200, }, ], - "next": "https://api.flexport.com/booking_line_items?page=3&per=10", "prev": "https://api.flexport.com/booking_line_items?page=12&per=10", }, "self": "https://api.flexport.com/booking_line_items?page=13&per=10", @@ -13273,6 +13349,7 @@ docs: >- "types": { "BookingLineItemCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13295,6 +13372,7 @@ docs: >- }, "BookingLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13307,6 +13385,7 @@ docs: >- }, "BookingLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -13319,6 +13398,7 @@ docs: >- }, "BookingLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13347,6 +13427,7 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true BookingLineItemIndexResponse: properties: _object: optional @@ -13436,7 +13517,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/booking_line_items?page=12&per=10 - next: https://api.flexport.com/booking_line_items?page=3&per=10 data: - _object: /purchase_orders/booking_line_item id: 123456 @@ -13700,6 +13780,7 @@ docs: >- "types": { "CarbonCalculationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14265,7 +14346,6 @@ docs: Endpoints relating to Carbon Calculations }, }, ], - "next": "https://api.flexport.com/commercial_invoices?page=3&per=10", "prev": "https://api.flexport.com/commercial_invoices?page=1&per=10", }, "self": "https://api.flexport.com/commercial_invoices?page=2&per=10", @@ -14653,6 +14733,7 @@ docs: Endpoints relating to Carbon Calculations "types": { "CommercialInvoicesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14665,6 +14746,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14677,6 +14759,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -14689,6 +14772,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14701,6 +14785,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14724,6 +14809,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CommercialInvoicesIndexResponse: properties: _object: optional @@ -14812,7 +14898,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/commercial_invoices?page=1&per=10 - next: https://api.flexport.com/commercial_invoices?page=3&per=10 data: - _object: /commercial_invoices id: abcxyz-23456-def @@ -15484,7 +15569,6 @@ docs: Endpoints relating to Commercial Invoice objects "ref": "ref_for_company", }, ], - "next": "https://api.flexport.com/network/companies?page=3&per=10", "prev": "https://api.flexport.com/network/companies?page=12&per=10", "total_count": 121, }, @@ -15827,6 +15911,7 @@ docs: Endpoints relating to Commercial Invoice objects "types": { "NetworkCompanyCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15839,6 +15924,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15851,6 +15937,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -15864,6 +15951,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyMeResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15876,6 +15964,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15888,6 +15977,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15912,6 +16002,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkCompanyIndexResponse: properties: _object: optional @@ -16009,7 +16100,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/network/companies?page=12&per=10 - next: https://api.flexport.com/network/companies?page=3&per=10 total_count: 121 data: - _object: /network/company @@ -16387,7 +16477,6 @@ docs: Endpoints relating to Company objects ], }, ], - "next": "https://api.flexport.com/network/company_entities?page=3&per=10", "prev": "https://api.flexport.com/network/company_entities?page=12&per=10", "total_count": 121, }, @@ -16705,6 +16794,7 @@ docs: Endpoints relating to Company objects "types": { "CompanyEntityIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16717,6 +16807,7 @@ docs: Endpoints relating to Company objects }, "CompanyEntityIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -16730,6 +16821,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16742,6 +16834,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16754,6 +16847,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16778,6 +16872,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CompanyEntityIndexResponse: properties: _object: optional @@ -16866,8 +16961,6 @@ service: _object: /api/collections/paginated prev: >- https://api.flexport.com/network/company_entities?page=12&per=10 - next: >- - https://api.flexport.com/network/company_entities?page=3&per=10 total_count: 121 data: - _object: /company_entity @@ -17214,7 +17307,6 @@ docs: Endpoints relating to CompanyEntity objects "phone_number": "6789998212", }, ], - "next": "https://api.flexport.com/network/contacts?page=3&per=10", "prev": "https://api.flexport.com/network/contacts?page=12&per=10", "total_count": 121, }, @@ -17420,6 +17512,7 @@ docs: Endpoints relating to CompanyEntity objects "types": { "NetworkContactCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17432,6 +17525,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17444,6 +17538,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -17457,6 +17552,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17469,6 +17565,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17493,6 +17590,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkContactIndexResponse: properties: _object: optional @@ -17580,7 +17678,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/network/contacts?page=12&per=10 - next: https://api.flexport.com/network/contacts?page=3&per=10 total_count: 121 data: - _object: /network/contact @@ -18030,6 +18127,7 @@ docs: Endpoints relating to Contact objects "types": { "ContainerListResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18042,6 +18140,7 @@ docs: Endpoints relating to Contact objects }, "ContainerListResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18054,6 +18153,7 @@ docs: Endpoints relating to Contact objects }, "ContainerShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18077,6 +18177,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ContainerListResponse: properties: _object: optional @@ -18480,6 +18581,7 @@ docs: Endpoints relating to Container objects "types": { "OceanContainerLegsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18492,6 +18594,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18504,6 +18607,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18527,6 +18631,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true OceanContainerLegsIndexResponse: properties: _object: optional @@ -18709,7 +18814,6 @@ docs: Endpoints relating to ContainerLeg objects }, }, ], - "next": "https://api.flexport.com/customs_entries?page=3&per=10", "prev": "https://api.flexport.com/customs_entries?page=12&per=10", }, "self": "https://api.flexport.com/customs_entries?page=13&per=10", @@ -18820,6 +18924,7 @@ docs: Endpoints relating to ContainerLeg objects "types": { "CustomsEntriesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18832,6 +18937,7 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18844,6 +18950,7 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18867,6 +18974,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CustomsEntryIndexResponse: properties: _object: optional @@ -18932,7 +19040,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/customs_entries?page=12&per=10 - next: https://api.flexport.com/customs_entries?page=3&per=10 data: - _object: /customs_entries id: ABC123 @@ -19112,7 +19219,6 @@ docs: Endpoints relating to Customs Entry objects }, }, ], - "next": "https://api.flexport.com/documents?page=3&per=10", "prev": "https://api.flexport.com/documents?page=12&per=10", "total_count": 121, }, @@ -19206,7 +19312,6 @@ docs: Endpoints relating to Customs Entry objects "_object": "/api/response", "data": { "_object": "/document", - "archived_at": "2024-01-15T09:30:00Z", "document_type": "billing_packet", "file_link": "https://api.flexport.com/documents/ABC123/download", "file_metadata": { @@ -19216,7 +19321,6 @@ docs: Endpoints relating to Customs Entry objects }, "file_name": "readme.txt", "id": "ABC123", - "memo": "memo", "shipment": { "_object": "/api/refs/object", "id": 123456, @@ -19255,6 +19359,7 @@ docs: Endpoints relating to Customs Entry objects "types": { "DocumentsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19267,6 +19372,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19279,6 +19385,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -19292,6 +19399,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19316,6 +19424,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true DocumentsIndexResponse: properties: _object: optional @@ -19415,7 +19524,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/documents?page=12&per=10 - next: https://api.flexport.com/documents?page=3&per=10 total_count: 121 data: - _object: /document @@ -19500,9 +19608,7 @@ service: id: ABC123 file_name: readme.txt document_type: billing_packet - memo: memo file_link: https://api.flexport.com/documents/ABC123/download - archived_at: '2024-01-15T09:30:00Z' file_metadata: _object: file/metadata size: 20000 @@ -19786,6 +19892,7 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19798,6 +19905,7 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -19810,6 +19918,7 @@ docs: Endpoints relating to Document objects }, "EventsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19847,6 +19956,7 @@ docs: Endpoints relating to Document objects data: optional> source: openapi: ../openapi.yml + inline: true EventsIndexResponse: properties: _object: optional @@ -20291,7 +20401,6 @@ Other details about this invoice", }, ], "next": "https://api.flexport.com/invoices?page=2&per=10", - "prev": "https://api.flexport.com/invoices?page=1&per=10", }, "self": "https://api.flexport.com/invoices", "version": 2, @@ -20689,6 +20798,7 @@ Other details about this invoice", }, "InvoiceIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20701,6 +20811,7 @@ Other details about this invoice", }, "InvoiceIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -20713,6 +20824,7 @@ Other details about this invoice", }, "InvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20749,6 +20861,7 @@ Other details about this invoice", data: optional> source: openapi: ../openapi.yml + inline: true InvoiceIndexResponse: properties: _object: optional @@ -20883,7 +20996,6 @@ service: version: 2 data: _object: /api/collections/paginated - prev: https://api.flexport.com/invoices?page=1&per=10 next: https://api.flexport.com/invoices?page=2&per=10 data: - _object: /invoice @@ -21332,7 +21444,6 @@ docs: Endpoints relating to Invoice objects "name": "Wayne Enterprises", }, ], - "next": "https://api.flexport.com/network/locations?page=3&per=10", "prev": "https://api.flexport.com/network/locations?page=1&per=10", "total_count": 11, }, @@ -21603,7 +21714,6 @@ docs: Endpoints relating to Invoice objects "ref": "zoomit-management-co", "state": "CA", "street_address": "2 World Way", - "street_address2": "STE 2918", "timezone": "America/Los_Angeles", "unlocode": "USLAX", "zip": "90045", @@ -21687,6 +21797,7 @@ docs: Endpoints relating to Invoice objects "types": { "LocationIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21699,6 +21810,7 @@ docs: Endpoints relating to Invoice objects }, "LocationIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -21712,6 +21824,7 @@ docs: Endpoints relating to Invoice objects }, "LocationUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21724,6 +21837,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21736,6 +21850,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21760,6 +21875,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true LocationIndexResponse: properties: _object: optional @@ -21858,7 +21974,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/network/locations?page=1&per=10 - next: https://api.flexport.com/network/locations?page=3&per=10 total_count: 11 data: - _object: /network/location @@ -22080,7 +22195,6 @@ service: address: _object: /address street_address: 2 World Way - street_address2: STE 2918 city: Los Angeles state: CA country: United States of America @@ -22277,6 +22391,7 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22289,6 +22404,7 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>>", @@ -22320,6 +22436,7 @@ docs: Endpoints relating to Location objects data: optional>> source: openapi: ../openapi.yml + inline: true PortsIndexResponse: properties: _object: optional @@ -22853,6 +22970,7 @@ docs: Endpoints relating to Ports objects "types": { "ProductCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22865,6 +22983,7 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22877,6 +22996,7 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -22889,6 +23009,7 @@ docs: Endpoints relating to Ports objects }, "ProductShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22901,6 +23022,7 @@ docs: Endpoints relating to Ports objects }, "ProductUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22924,6 +23046,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ProductIndexResponse: properties: _object: optional @@ -23615,22 +23738,18 @@ docs: Endpoints relating to Product objects "country_code": "US", "ref": "id-313120", "state": "GA", - "street_address": "1641 Settlers Lane", "timezone": "America/New_York", "unlocode": "USFBN", }, "details": [ { "_object": "/ocean/railport", - "port_code": "3901", }, { "_object": "/trucking/port", - "port_code": "3901", }, { "_object": "/ocean/port", - "port_code": "3901", }, ], "name": "Fairburn", @@ -23671,22 +23790,18 @@ docs: Endpoints relating to Product objects "country_code": "US", "ref": "id-313120", "state": "GA", - "street_address": "1641 Settlers Lane", "timezone": "America/New_York", "unlocode": "USFBN", }, "details": [ { "_object": "/ocean/railport", - "port_code": "3901", }, { "_object": "/trucking/port", - "port_code": "3901", }, { "_object": "/ocean/port", - "port_code": "3901", }, ], "name": "Fairburn", @@ -23701,7 +23816,6 @@ docs: Endpoints relating to Product objects "city": "shanghai", "country": "China", "country_code": "CN", - "ref": "address_ref_x", "state": "Shanghai", "street_address": "test", "timezone": "Asia/Shanghai", @@ -23761,7 +23875,6 @@ docs: Endpoints relating to Product objects "city": "shanghai", "country": "China", "country_code": "CN", - "ref": "address_ref_x", "state": "Shanghai", "street_address": "test", "timezone": "Asia/Shanghai", @@ -23794,7 +23907,6 @@ docs: Endpoints relating to Product objects "updated_at": "2020-07-31T19:52:58.161Z", }, ], - "next": "https://api.flexport.com/purchase_orders?page=3&per=10", "prev": "https://api.flexport.com/purchase_orders?page=12&per=10", }, "self": "https://api.flexport.com/purchase_orders?page=13&per=10", @@ -24321,6 +24433,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -24333,6 +24446,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -24345,6 +24459,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -24396,6 +24511,7 @@ docs: Endpoints relating to Product objects data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderIndexResponse: properties: _object: optional @@ -24517,7 +24633,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/purchase_orders?page=12&per=10 - next: https://api.flexport.com/purchase_orders?page=3&per=10 data: - id: 109771 _object: /purchase_order @@ -24535,7 +24650,6 @@ service: name: Fairburn address: _object: /address - street_address: 1641 Settlers Lane city: Fairburn state: GA country: United States @@ -24545,11 +24659,8 @@ service: unlocode: USFBN details: - _object: /ocean/railport - port_code: '3901' - _object: /trucking/port - port_code: '3901' - _object: /ocean/port - port_code: '3901' origin_address: _object: /address street_address: No 1, 123 St @@ -24564,7 +24675,6 @@ service: name: Fairburn address: _object: /address - street_address: 1641 Settlers Lane city: Fairburn state: GA country: United States @@ -24574,11 +24684,8 @@ service: unlocode: USFBN details: - _object: /ocean/railport - port_code: '3901' - _object: /trucking/port - port_code: '3901' - _object: /ocean/port - port_code: '3901' destination_addresses: - _object: /address street_address: Vandelay street 1 @@ -24604,7 +24711,6 @@ service: country: China country_code: CN timezone: Asia/Shanghai - ref: address_ref_x vat_numbers: - _object: /company_entity/vat_number country_code: GB @@ -24645,7 +24751,6 @@ service: country: China country_code: CN timezone: Asia/Shanghai - ref: address_ref_x vat_numbers: - _object: /company_entity/vat_number country_code: GB @@ -25234,7 +25339,6 @@ docs: >- "city": "Albany", "country": "United States of America", "country_code": "US", - "ref": "address_ref_x", "state": "MN", "street_address": "1641 Settlers Lane", "street_address2": "STE 2918", @@ -25327,7 +25431,6 @@ docs: >- "units": 20, }, ], - "next": "https://api.flexport.com/purchase_order_line_items?page=3&per=10", "prev": "https://api.flexport.com/purchase_orders?page=12&per=10", }, "self": "https://api.flexport.com/purchase_orders?page=13&per=10", @@ -25420,7 +25523,6 @@ docs: >- "city": "Albany", "country": "United States of America", "country_code": "US", - "ref": "address_ref_x", "state": "MN", "street_address": "1641 Settlers Lane", "street_address2": "STE 2918", @@ -25449,28 +25551,6 @@ docs: >- "units": 1, }, ], - "destination_port": { - "_object": "/place", - "address": { - "_object": "/address", - "city": "Albany", - "country": "United States of America", - "country_code": "US", - "ref": "address_ref_x", - "street_address": "1641 Settlers Lane", - "timezone": "America/Los_Angeles", - }, - "details": [ - { - "_object": "/air/port", - "country_code": "US", - "iata_code": "LAX", - "icao_code": "KLAX", - "port_code": "3901", - }, - ], - "name": "ORD - Chicago - IL", - }, "hs_codes": [ { "_object": "/hs_code", @@ -25504,34 +25584,8 @@ docs: >- "ref": "sellingcoaddress", "state": "44", "street_address": "10th YouSong Industrial District", - "street_address2": "STE 2918", "timezone": "China/Shenzhen", - "unlocode": "US AL2", - "zip": "56307", - }, - "origin_port": { - "_object": "/place", - "address": { - "_object": "/address", - "city": "Albany", - "country": "United States of America", - "country_code": "US", - "ref": "address_ref_x", - "street_address": "1641 Settlers Lane", - "timezone": "America/Los_Angeles", - }, - "details": [ - { - "_object": "/air/port", - "country_code": "US", - "iata_code": "LAX", - "icao_code": "KLAX", - "port_code": "3901", - }, - ], - "name": "ORD - Chicago - IL", }, - "parent_line_key": "parent_line_key", "product": { "color": "red", "country_of_origin": "US", @@ -25601,6 +25655,7 @@ docs: >- }, "PurchaseOrderLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25613,6 +25668,7 @@ docs: >- }, "PurchaseOrderLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -25625,6 +25681,7 @@ docs: >- }, "PurchaseOrderLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25653,6 +25710,7 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderLineItemIndexResponse: properties: _object: optional @@ -25736,8 +25794,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/purchase_orders?page=12&per=10 - next: >- - https://api.flexport.com/purchase_order_line_items?page=3&per=10 data: - _object: /purchase_orders/line_item id: 123456 @@ -25806,7 +25862,6 @@ service: country_code: US zip: '56307' timezone: America/Los_Angeles - ref: address_ref_x unlocode: US AL2 vat_numbers: - _object: company_entity/vat_number @@ -25882,52 +25937,15 @@ service: transportation_mode: air unit_of_measure: HUN must_arrive_date: '2019-03-11' - origin_port: - _object: /place - name: ORD - Chicago - IL - address: - _object: /address - street_address: 1641 Settlers Lane - city: Albany - country: United States of America - country_code: US - timezone: America/Los_Angeles - ref: address_ref_x - details: - - _object: /air/port - port_code: '3901' - country_code: US - iata_code: LAX - icao_code: KLAX origin_location: _object: /address street_address: 10th YouSong Industrial District - street_address2: STE 2918 city: Shenzhen state: '44' country: China country_code: CN - zip: '56307' timezone: China/Shenzhen ref: sellingcoaddress - unlocode: US AL2 - destination_port: - _object: /place - name: ORD - Chicago - IL - address: - _object: /address - street_address: 1641 Settlers Lane - city: Albany - country: United States of America - country_code: US - timezone: America/Los_Angeles - ref: address_ref_x - details: - - _object: /air/port - port_code: '3901' - country_code: US - iata_code: LAX - icao_code: KLAX destination_addresses: - location_ref: id-1234 units: 1 @@ -25935,7 +25953,6 @@ service: - _object: /hs_code code: 8309.90.10.00 country_code: US - parent_line_key: parent_line_key assigned_party: _object: /company_entity id: 9281 @@ -25951,7 +25968,6 @@ service: country_code: US zip: '56307' timezone: America/Los_Angeles - ref: address_ref_x unlocode: US AL2 vat_numbers: - _object: company_entity/vat_number @@ -26275,8 +26291,6 @@ docs: >- "wants_trade_declaration_service": false, }, ], - "next": "next", - "prev": "prev", }, "self": "https://api.flexport.com/shipments?page=1&per=20&sort=id&direction=desc", "version": 2, @@ -26528,19 +26542,6 @@ docs: >- "actual_delivered_in_full_date": "2019-02-06T19:28:25Z", "actual_departure_date": "2019-02-06T19:28:25Z", "actual_picked_up_in_full_date": "2019-02-06T19:28:25Z", - "air_shipment": { - "_object": "/air/shipment", - "chargeable_volume": { - "_object": "/quantity/volume", - "value": 472.62, - }, - "chargeable_weight": { - "_object": "/quantity/weight", - "value": 2300.4, - }, - "house_airway_bill": "HWXJKE67732", - "master_airway_bill": "22831046871", - }, "arrival_date": "2019-02-06T19:28:25Z", "belongs_to_a_buyers_consol": false, "booking": { @@ -26588,14 +26589,6 @@ docs: >- "value": 2300.4, }, "cargo_ready_date": "2019-02-06", - "child_shipments": [ - { - "_object": "/api/refs/object", - "id": 123, - "link": "https://api.flexport.com/shipments/123", - "ref_type": "/shipment", - }, - ], "commercial_invoices": { "_object": "/api/refs/collection", "link": "https://api.flexport.com/commercial_invoices?f.shipment.id=2983", @@ -26736,12 +26729,6 @@ docs: >- "is_lcl": false, "master_bill_number": "NEWO697216024", }, - "parent_shipment": { - "_object": "/api/refs/object", - "id": 123, - "link": "https://api.flexport.com/shipments/123", - "ref_type": "/shipment", - }, "picked_up_in_full_date": "2019-02-06T19:28:25Z", "pieces": 8372, "priority": "high", @@ -26862,19 +26849,6 @@ docs: >- "actual_delivered_in_full_date": "2019-02-06T19:28:25Z", "actual_departure_date": "2019-02-06T19:28:25Z", "actual_picked_up_in_full_date": "2019-02-06T19:28:25Z", - "air_shipment": { - "_object": "/air/shipment", - "chargeable_volume": { - "_object": "/quantity/volume", - "value": 472.62, - }, - "chargeable_weight": { - "_object": "/quantity/weight", - "value": 2300.4, - }, - "house_airway_bill": "HWXJKE67732", - "master_airway_bill": "22831046871", - }, "arrival_date": "2019-02-06T19:28:25Z", "belongs_to_a_buyers_consol": true, "booking": { @@ -27221,6 +27195,7 @@ docs: >- }, "ShipmentIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -27233,6 +27208,7 @@ docs: >- }, "ShipmentIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -27245,6 +27221,7 @@ docs: >- }, "ShipmentShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -27257,6 +27234,7 @@ docs: >- }, "ShipmentUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -27269,6 +27247,7 @@ docs: >- }, "ShipmentsShareableResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -27281,6 +27260,7 @@ docs: >- }, "ShipmentsShareableResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "shipments": "optional>", @@ -27291,6 +27271,7 @@ docs: >- }, "ShipmentsShareableResponseDataShipmentsItem": { "docs": undefined, + "inline": true, "properties": { "expiration_date": "optional", "shareable_url": "optional", @@ -27328,6 +27309,7 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true ShipmentIndexResponse: properties: _object: optional @@ -27359,12 +27341,14 @@ 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 @@ -27554,8 +27538,6 @@ service: version: 2 data: _object: /api/collections/paginated - prev: prev - next: next data: - metadata: key: value @@ -27840,16 +27822,6 @@ service: visibility_only: false wants_delivery_service: false belongs_to_a_buyers_consol: false - child_shipments: - - _object: /api/refs/object - ref_type: /shipment - link: https://api.flexport.com/shipments/123 - id: 123 - parent_shipment: - _object: /api/refs/object - ref_type: /shipment - link: https://api.flexport.com/shipments/123 - id: 123 estimated_picked_up_in_full_date: '2019-02-06T19:28:25Z' actual_picked_up_in_full_date: '2019-02-06T19:28:25Z' target_delivery_date: target_delivery_date @@ -27869,16 +27841,6 @@ service: ref_type: /ocean/shipment_container link: >- https://api.flexport.com/ocean/shipment_containers?f.shipment.id=123 - air_shipment: - _object: /air/shipment - house_airway_bill: HWXJKE67732 - master_airway_bill: '22831046871' - chargeable_weight: - value: 2300.4 - _object: /quantity/weight - chargeable_volume: - value: 472.62 - _object: /quantity/volume dangerous_goods: _object: /shipment/dangerous_goods review_status: complete @@ -28142,16 +28104,6 @@ service: ref_type: /ocean/shipment_container link: >- https://api.flexport.com/ocean/shipment_containers?f.shipment.id=123 - air_shipment: - _object: /air/shipment - house_airway_bill: HWXJKE67732 - master_airway_bill: '22831046871' - chargeable_weight: - value: 2300.4 - _object: /quantity/weight - chargeable_volume: - value: 472.62 - _object: /quantity/volume dangerous_goods: _object: /shipment/dangerous_goods review_status: complete @@ -28602,12 +28554,6 @@ docs: Endpoints relating to Shipment objects "delivery_completed": "2019-07-14T04:00:00Z", "loaded_on_truck_date": "2019-07-13T04:00:00Z", }, - "air_leg": { - "_object": "/air/shipment_leg", - "flight_number": "Y8 1234", - "iata_code": "2Q", - "icao_code": "SNC", - }, "cargo_ready_date": "cargo_ready_date", "carrier_name": "Liberty Carrier", "deleted_at": "2024-01-15T09:30:00Z", @@ -28646,11 +28592,6 @@ docs: Endpoints relating to Shipment objects "tags": [ "port_of_loading", ], - "terminal": { - "_object": "/shipment_node/terminal", - "firms_code": "I092", - "name": "Terminal 3", - }, }, "estimated_arrival_date": "2019-02-06T19:28:25Z", "estimated_departure_date": "2019-02-06T19:28:25Z", @@ -28720,14 +28661,6 @@ docs: Endpoints relating to Shipment objects "name": "Terminal 3", }, }, - "rail_leg": { - "_object": "/rail/shipment_leg", - "container_legs": { - "_object": "/api/refs/collection", - "link": "https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123", - "ref_type": "/ocean/shipment_container_leg", - }, - }, "shipment": { "_object": "/api/refs/object", "id": 123, @@ -28735,18 +28668,6 @@ docs: Endpoints relating to Shipment objects "ref_type": "/shipment", }, "transportation_mode": "ocean", - "trucking_leg": { - "_object": "/trucking/shipment_leg", - "container_legs": { - "_object": "/api/refs/collection", - "link": "https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123", - "ref_type": "/ocean/shipment_container_leg", - }, - "pieces": 32, - "scac_code": "ABCD", - "service_type": "ltl", - "tracking_number": "FBA123456789", - }, }, "self": "https://api.flexport.com/shipment_legs/948211", "version": 2, @@ -28788,6 +28709,7 @@ docs: Endpoints relating to Shipment objects "types": { "ShipmentLegIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -28800,6 +28722,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -28812,6 +28735,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -28835,6 +28759,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ShipmentLegIndexResponse: properties: _object: optional @@ -29132,17 +29057,8 @@ service: icao_code: KORD - _object: /trucking/port port_code: '3901' - terminal: - _object: /shipment_node/terminal - name: Terminal 3 - firms_code: I092 transportation_mode: ocean carrier_name: Liberty Carrier - air_leg: - _object: /air/shipment_leg - iata_code: 2Q - icao_code: SNC - flight_number: Y8 1234 ocean_leg: _object: /ocean/shipment_leg scac_code: XJAE @@ -29154,24 +29070,6 @@ service: ref_type: /ocean/shipment_container_leg link: >- https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123 - trucking_leg: - _object: /trucking/shipment_leg - tracking_number: FBA123456789 - service_type: ltl - pieces: 32 - scac_code: ABCD - container_legs: - _object: /api/refs/collection - ref_type: /ocean/shipment_container_leg - link: >- - https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123 - rail_leg: - _object: /rail/shipment_leg - container_legs: - _object: /api/refs/collection - ref_type: /ocean/shipment_container_leg - link: >- - https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123 cargo_ready_date: cargo_ready_date source: openapi: ../openapi.yml 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 4ded7d5271e..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", @@ -1012,6 +1014,7 @@ }, "AppConfigAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", "google": "optional", @@ -1023,6 +1026,7 @@ }, "AppConfigAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -1033,6 +1037,7 @@ "AppId": "string", "Application": { "docs": undefined, + "inline": undefined, "properties": { "appId": "string", "appName": "string", @@ -1050,6 +1055,7 @@ }, "ApplicationAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", "google": "optional", @@ -1061,6 +1067,7 @@ }, "ApplicationAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -1073,6 +1080,7 @@ "extends": [ "Application", ], + "inline": undefined, "properties": { "deployment": "Deployment", }, @@ -1082,6 +1090,7 @@ }, "Build": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -1101,6 +1110,7 @@ "BuildId": "double", "BuildRegionalContainerTagsItem": { "docs": undefined, + "inline": true, "properties": { "containerTag": "string", "region": "Region", @@ -1139,6 +1149,7 @@ "extends": [ "DeploymentConfig", ], + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -1154,6 +1165,7 @@ }, "DeploymentConfig": { "docs": undefined, + "inline": undefined, "properties": { "containerPort": { "type": "integer", @@ -1185,6 +1197,7 @@ }, "DeploymentConfigEnvItem": { "docs": undefined, + "inline": true, "properties": { "name": { "type": "string", @@ -1213,6 +1226,7 @@ "DiscoveryResponse": "list", "DiscoveryResponseItem": { "docs": undefined, + "inline": undefined, "properties": { "host": "string", "port": "double", @@ -1224,6 +1238,7 @@ }, "Lobby": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "createdAt": "datetime", @@ -1262,6 +1277,7 @@ }, "MetricValue": { "docs": undefined, + "inline": undefined, "properties": { "timestamp": "double", "value": "double", @@ -1278,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", @@ -1301,6 +1318,7 @@ }, "Process": { "docs": undefined, + "inline": undefined, "properties": { "activeConnections": "double", "appId": "AppId", @@ -1329,6 +1347,7 @@ "extends": [ "Process", ], + "inline": undefined, "properties": { "rooms": "list", "totalRooms": "double", @@ -1339,6 +1358,7 @@ }, "RecordPartialMetricNameMetricValueArray": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": { "cpu": "optional>", "memory": "optional>", @@ -1351,6 +1371,7 @@ }, "RecordStringNever": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1375,6 +1396,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "allocations": "list", "appId": "AppId", @@ -1388,6 +1410,7 @@ }, "RoomAllocation": { "docs": undefined, + "inline": undefined, "properties": { "processId": "ProcessId", "roomAllocationId": "RoomAllocationId", @@ -1414,6 +1437,7 @@ "RoomWithoutAllocations": "OmitRoomAllocations", "StartingConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "roomId": "RoomId", }, @@ -1942,6 +1966,7 @@ types: clientId: string source: openapi: ../openapi.json + inline: true ApplicationAuthConfiguration: properties: google: optional @@ -1949,6 +1974,7 @@ types: anonymous: optional source: openapi: ../openapi.json + inline: true Application: properties: deletedBy: optional @@ -1991,6 +2017,7 @@ types: maxLength: 100 source: openapi: ../openapi.json + inline: true DeploymentConfig: properties: env: list @@ -2036,6 +2063,7 @@ types: clientId: string source: openapi: ../openapi.json + inline: true AppConfigAuthConfiguration: properties: google: optional @@ -2043,6 +2071,7 @@ types: anonymous: optional source: openapi: ../openapi.json + inline: true AppConfig: properties: authConfiguration: AppConfigAuthConfiguration @@ -2073,6 +2102,7 @@ types: region: Region source: openapi: ../openapi.json + inline: true BuildStatus: enum: - created @@ -2788,6 +2818,7 @@ service: "types": { "LoginAnonymousResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -2797,6 +2828,7 @@ service: }, "LoginGoogleResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -2806,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 3027d419245..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,6 +2494,7 @@ }, "ApiErrorResponse": { "docs": "Error response model", + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -2514,6 +2516,7 @@ }, "ApiErrorResponseData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2521,6 +2524,7 @@ }, "ApiKeyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "string", "header_key": "string", @@ -2531,6 +2535,7 @@ }, "AttachedIntegrationToSource": { "docs": undefined, + "inline": undefined, "properties": { "success": "boolean", }, @@ -2604,6 +2609,7 @@ }, "BasicAuthIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "name": "string", "password": "string", @@ -2614,6 +2620,7 @@ }, "BatchOperation": { "docs": undefined, + "inline": undefined, "properties": { "cancelled_at": { "docs": "Date the bulk retry was cancelled", @@ -2679,6 +2686,7 @@ }, "BatchOperationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2690,6 +2698,7 @@ }, "BatchOperationPlan": { "docs": undefined, + "inline": undefined, "properties": { "estimated_batch": { "docs": "Number of batches required to complete the bulk retry", @@ -2712,6 +2721,7 @@ "discriminated": false, "docs": "Query object to filter records", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2722,6 +2732,7 @@ }, "Bookmark": { "docs": undefined, + "inline": undefined, "properties": { "alias": { "docs": "Alternate alias for the bookmark", @@ -2767,6 +2778,7 @@ }, "BookmarkPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2778,6 +2790,7 @@ }, "Connection": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the connection was archived", @@ -2827,6 +2840,7 @@ "discriminated": false, "docs": "JSON using our filter syntax to filter on request headers", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2839,6 +2853,7 @@ }, "ConnectionFilterPropertyThree": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2846,6 +2861,7 @@ }, "ConnectionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2857,6 +2873,7 @@ }, "ConsoleLine": { "docs": undefined, + "inline": undefined, "properties": { "message": "string", "type": "ConsoleLineType", @@ -2879,6 +2896,7 @@ }, "DelayRule": { "docs": undefined, + "inline": undefined, "properties": { "delay": { "docs": "Delay to introduce in MS", @@ -2891,6 +2909,7 @@ }, "DeletedBookmarkResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Bookmark ID", @@ -2903,6 +2922,7 @@ }, "DeletedIntegration": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -2912,6 +2932,7 @@ }, "DeletedIssueTriggerResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -2921,6 +2942,7 @@ }, "DeliveryIssue": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -2970,6 +2992,7 @@ }, "DeliveryIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'delivery' type issue", + "inline": undefined, "properties": { "error_code": "list", "response_status": "list", @@ -2981,6 +3004,7 @@ }, "DeliveryIssueData": { "docs": "Delivery issue data", + "inline": undefined, "properties": { "trigger_attempt": "optional", "trigger_event": "optional", @@ -2991,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", @@ -3001,6 +3026,7 @@ }, "DeliveryIssueWithData": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -3051,6 +3077,7 @@ }, "Destination": { "docs": "Associated [Destination](#destination-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the destination was archived", @@ -3097,6 +3124,7 @@ }, "DestinationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3120,6 +3148,7 @@ }, "DetachedIntegrationFromSource": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3127,6 +3156,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "attempts": { "docs": "Number of delivery attempts made", @@ -3200,6 +3230,7 @@ "EventArray": "list", "EventAttempt": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the attempt was archived", @@ -3277,6 +3308,7 @@ }, "EventAttemptBody": { "docs": "Response body from the destination", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3284,6 +3316,7 @@ }, "EventAttemptPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -3295,6 +3328,7 @@ }, "EventData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -3311,6 +3345,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3322,6 +3357,7 @@ }, "EventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3331,6 +3367,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3343,6 +3380,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3353,6 +3391,7 @@ }, "EventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3360,6 +3399,7 @@ }, "EventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3383,6 +3423,7 @@ }, "FilterRule": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -3406,6 +3447,7 @@ }, "HandledHmacConfigs": { "docs": undefined, + "inline": undefined, "properties": { "webhook_secret_key": "string", }, @@ -3426,6 +3468,7 @@ }, "HmacIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "algorithm": "HmacAlgorithms", "encoding": "HmacIntegrationConfigsEncoding", @@ -3447,6 +3490,7 @@ }, "IgnoredEvent": { "docs": undefined, + "inline": undefined, "properties": { "cause": "IgnoredEventCause", "created_at": "datetime", @@ -3476,6 +3520,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3486,6 +3531,7 @@ }, "IgnoredEventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3497,6 +3543,7 @@ }, "Integration": { "docs": undefined, + "inline": undefined, "properties": { "configs": { "docs": "Decrypted Key/Value object of the associated configuration for that provider", @@ -3540,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", }, @@ -3563,6 +3611,7 @@ }, "IntegrationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3622,6 +3671,7 @@ }, "IssueCount": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Number of issues", @@ -3646,6 +3696,7 @@ }, "IssueTrigger": { "docs": undefined, + "inline": undefined, "properties": { "channels": "optional", "configs": "IssueTriggerReference", @@ -3685,6 +3736,7 @@ }, "IssueTriggerBackpressureConfigs": { "docs": "Configurations for a 'Backpressure' issue trigger", + "inline": undefined, "properties": { "delay": "IssueTriggerBackpressureDelay", "destinations": { @@ -3700,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", }, @@ -3721,6 +3774,7 @@ }, "IssueTriggerChannels": { "docs": "Notification channels object for the specific channel type", + "inline": undefined, "properties": { "email": "optional", "opsgenie": "optional", @@ -3732,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.", @@ -3747,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", }, @@ -3757,6 +3813,7 @@ }, "IssueTriggerEmailChannel": { "docs": "Email channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3764,6 +3821,7 @@ }, "IssueTriggerIntegrationChannel": { "docs": "Integration channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3771,6 +3829,7 @@ }, "IssueTriggerPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3784,6 +3843,7 @@ "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3795,6 +3855,7 @@ }, "IssueTriggerSlackChannel": { "docs": "Slack channel for an issue trigger", + "inline": undefined, "properties": { "channel_name": { "docs": "Channel name", @@ -3817,6 +3878,7 @@ }, "IssueTriggerTransformationConfigs": { "docs": "Configurations for a 'Transformation' issue trigger", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformations": { @@ -3832,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", }, @@ -3867,6 +3930,7 @@ }, "IssueWithDataPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3887,6 +3951,7 @@ }, "RawBody": { "docs": undefined, + "inline": undefined, "properties": { "body": "string", }, @@ -3896,6 +3961,7 @@ }, "Request": { "docs": undefined, + "inline": undefined, "properties": { "cli_events_count": { "docs": "The count of CLI events created from this request", @@ -3960,6 +4026,7 @@ }, "RequestData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -3976,6 +4043,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3987,6 +4055,7 @@ }, "RequestDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3996,6 +4065,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4008,6 +4078,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4018,6 +4089,7 @@ }, "RequestDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4035,6 +4107,7 @@ }, "RequestPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -4062,6 +4135,7 @@ }, "RetriedEvent": { "docs": undefined, + "inline": undefined, "properties": { "attempt": "optional", "event": "Event", @@ -4072,6 +4146,7 @@ }, "RetryRequest": { "docs": undefined, + "inline": undefined, "properties": { "events": "optional>", "request": "Request", @@ -4082,6 +4157,7 @@ }, "RetryRule": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Maximum number of retries to attempt", @@ -4126,6 +4202,7 @@ }, "Ruleset": { "docs": "Associated [Ruleset](#ruleset-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the ruleset was archived", @@ -4166,6 +4243,7 @@ }, "RulesetPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -4177,6 +4255,7 @@ }, "SeekPagination": { "docs": undefined, + "inline": undefined, "properties": { "dir": "optional", "limit": "optional", @@ -4192,6 +4271,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4204,6 +4284,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4214,6 +4295,7 @@ }, "ShopifyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "optional", "api_secret": "optional", @@ -4237,6 +4319,7 @@ }, "ShortEventData": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -4253,6 +4336,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4264,6 +4348,7 @@ }, "ShortEventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4273,6 +4358,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4285,6 +4371,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4295,6 +4382,7 @@ }, "ShortEventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4302,6 +4390,7 @@ }, "Source": { "docs": "Associated [Source](#source-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the source was archived", @@ -4346,6 +4435,7 @@ }, "SourceIntegration": { "docs": "Integration object", + "inline": true, "properties": { "features": { "docs": "List of enabled features", @@ -4367,6 +4457,7 @@ }, "SourcePaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -4378,6 +4469,7 @@ }, "ToggleWebhookNotifications": { "docs": undefined, + "inline": undefined, "properties": { "enabled": "boolean", "source_id": "string", @@ -4413,6 +4505,7 @@ }, "TransformFull": { "docs": undefined, + "inline": undefined, "properties": { "transformation": { "docs": "You can optionally define a new transformation while creating a transform rule", @@ -4433,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", @@ -4453,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", @@ -4471,6 +4566,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4481,6 +4577,7 @@ }, "Transformation": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "JavaScript code to be executed", @@ -4519,6 +4616,7 @@ }, "TransformationExecution": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "id": "string", @@ -4553,6 +4651,7 @@ }, "TransformationExecutionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -4564,6 +4663,7 @@ }, "TransformationExecutorOutput": { "docs": undefined, + "inline": undefined, "properties": { "console": "optional>", "execution_id": "optional", @@ -4578,6 +4678,7 @@ }, "TransformationExecutorOutputRequest": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -4593,6 +4694,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4603,6 +4705,7 @@ }, "TransformationExecutorOutputRequestBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4612,6 +4715,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4624,6 +4728,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4634,6 +4739,7 @@ }, "TransformationExecutorOutputRequestParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4643,6 +4749,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4653,6 +4760,7 @@ }, "TransformationExecutorOutputRequestQueryZero": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4660,6 +4768,7 @@ }, "TransformationFailedMeta": { "docs": undefined, + "inline": undefined, "properties": { "transformation_id": "string", }, @@ -4669,6 +4778,7 @@ }, "TransformationIssue": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -4718,6 +4828,7 @@ }, "TransformationIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'transformation' type issue", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformation_id": "list", @@ -4728,6 +4839,7 @@ }, "TransformationIssueData": { "docs": "Transformation issue data", + "inline": undefined, "properties": { "transformation_execution": "TransformationExecution", "trigger_attempt": "optional", @@ -4738,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": { @@ -4751,6 +4864,7 @@ }, "TransformationIssueWithData": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -4801,6 +4915,7 @@ }, "TransformationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -6213,6 +6328,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPaginationDir: discriminated: false union: @@ -6220,6 +6336,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPagination: properties: order_by: optional @@ -6254,6 +6371,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerDeliveryConfigs: docs: Configurations for a 'delivery' issue trigger properties: @@ -6285,6 +6403,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerTransformationConfigs: docs: Configurations for a 'Transformation' issue trigger properties: @@ -6314,6 +6433,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerBackpressureConfigs: docs: Configurations for a 'Backpressure' issue trigger properties: @@ -6399,6 +6519,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ApiErrorResponse: docs: Error response model properties: @@ -6476,6 +6597,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventAttempt: properties: id: @@ -6548,6 +6670,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataParsedQuery: discriminated: false union: @@ -6555,6 +6678,7 @@ types: - ShortEventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true ShortEventDataHeaders: discriminated: false union: @@ -6562,10 +6686,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true ShortEventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataBody: discriminated: false union: @@ -6574,6 +6700,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ShortEventData: properties: path: string @@ -6636,6 +6763,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventDataParsedQuery: discriminated: false union: @@ -6643,6 +6771,7 @@ types: - EventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true EventDataHeaders: discriminated: false union: @@ -6650,10 +6779,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true EventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true EventDataBody: discriminated: false union: @@ -6662,6 +6793,7 @@ types: - list source: openapi: ../openapi.yml + inline: true EventData: properties: path: string @@ -6672,6 +6804,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Event: properties: id: @@ -6811,6 +6944,7 @@ types: - optional source: openapi: ../openapi.yml + inline: true BatchOperation: properties: id: @@ -6982,6 +7116,7 @@ types: - ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true Integration: properties: id: @@ -7327,6 +7462,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataParsedQuery: discriminated: false union: @@ -7334,6 +7470,7 @@ types: - RequestDataParsedQueryOne source: openapi: ../openapi.yml + inline: true RequestDataHeaders: discriminated: false union: @@ -7341,10 +7478,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true RequestDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataBody: discriminated: false union: @@ -7353,6 +7492,7 @@ types: - list source: openapi: ../openapi.yml + inline: true RequestData: properties: path: string @@ -7363,6 +7503,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Request: properties: id: @@ -7453,6 +7594,7 @@ types: - TransformationFailedMeta source: openapi: ../openapi.yml + inline: true IgnoredEvent: properties: id: string @@ -7506,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 @@ -7554,6 +7697,7 @@ types: your transformation code source: openapi: ../openapi.yml + inline: true TransformFull: properties: type: @@ -7647,6 +7791,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true Source: docs: Associated [Source](#source-object) object properties: @@ -7747,10 +7892,12 @@ types: - map source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQueryZero: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQuery: discriminated: false union: @@ -7758,10 +7905,12 @@ types: - string source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQuery: discriminated: false union: @@ -7769,10 +7918,12 @@ types: - TransformationExecutorOutputRequestParsedQueryOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBody: discriminated: false union: @@ -7780,6 +7931,7 @@ types: - TransformationExecutorOutputRequestBodyOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequest: properties: headers: optional @@ -7789,6 +7941,7 @@ types: body: optional source: openapi: ../openapi.yml + inline: true TransformationExecutorOutput: properties: request_id: optional @@ -9273,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", @@ -9348,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", }, @@ -9367,6 +9522,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryAttemptsAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -9428,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", }, @@ -9438,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", @@ -9447,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", }, @@ -9467,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", }, @@ -9478,6 +9638,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryCliIdAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", }, @@ -9489,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", }, @@ -9501,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", }, @@ -9511,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", @@ -9526,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", }, @@ -9547,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", }, @@ -9567,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", }, @@ -9587,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", }, @@ -9597,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", @@ -9606,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", }, @@ -9627,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", }, @@ -9647,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", }, @@ -9657,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", @@ -9672,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", }, @@ -9682,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", @@ -9691,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", }, @@ -9711,6 +9887,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryResponseStatusAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -9772,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", }, @@ -9793,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", }, @@ -9805,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", }, @@ -9815,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", @@ -9830,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", }, @@ -9879,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 @@ -9887,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: @@ -9896,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 @@ -9907,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 @@ -9918,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 @@ -9929,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: @@ -9954,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 @@ -9964,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: @@ -9994,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 @@ -10006,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 @@ -10015,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 @@ -10023,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 @@ -10032,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 @@ -10040,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: @@ -10049,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. @@ -10063,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: @@ -10070,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 @@ -10079,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 @@ -10087,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: @@ -10096,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 @@ -10108,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 @@ -10120,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: >- @@ -10134,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: @@ -10143,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: @@ -10200,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: @@ -10696,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", @@ -10724,6 +10936,7 @@ docs: '' "discriminated": false, "docs": "The cause of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10744,6 +10957,7 @@ docs: '' "discriminated": false, "docs": "Connection ID of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10791,6 +11005,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQueryWebhookId: discriminated: false docs: Connection ID of the ignored event @@ -10801,6 +11016,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQuery: docs: Filter by the bulk retry ignored event query object properties: @@ -10819,6 +11035,7 @@ docs: '' maxLength: 255 source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -11313,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", @@ -11361,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", }, @@ -11371,6 +11590,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -11380,6 +11600,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11400,6 +11621,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11410,6 +11632,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryCreatedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -11425,6 +11648,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11445,6 +11669,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryEventsCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -11506,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", }, @@ -11516,6 +11742,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryHeadersOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -11525,6 +11752,7 @@ docs: '' "discriminated": false, "docs": "Filter by requests IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11546,6 +11774,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11566,6 +11795,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIgnoredCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -11627,6 +11857,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11637,6 +11868,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIngestedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -11652,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", }, @@ -11662,6 +11895,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -11671,6 +11905,7 @@ docs: '' "discriminated": false, "docs": "Filter by rejection cause", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11682,6 +11917,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryRejectionCauseAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": "optional", @@ -11698,6 +11934,7 @@ docs: '' "discriminated": false, "docs": "Filter by source IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11756,6 +11993,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryStatus: enum: - accepted @@ -11772,6 +12010,7 @@ docs: '' contains: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryRejectionCause: discriminated: false docs: Filter by rejection cause @@ -11781,6 +12020,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCountAny: properties: gt: @@ -11806,6 +12046,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCount: discriminated: false union: @@ -11816,6 +12057,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCountAny: properties: gt: @@ -11841,6 +12083,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCount: discriminated: false union: @@ -11851,6 +12094,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQuerySourceId: discriminated: false docs: Filter by source IDs @@ -11862,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 @@ -11874,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 @@ -11886,10 +12134,12 @@ docs: '' - CreateRequestBulkRetryRequestQueryBodyOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQuery: discriminated: false docs: >- @@ -11900,6 +12150,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryParsedQueryOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAtAny: properties: gt: optional @@ -11909,6 +12160,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAt: discriminated: false union: @@ -11916,6 +12168,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryCreatedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAtAny: properties: gt: optional @@ -11925,6 +12178,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAt: discriminated: false union: @@ -11932,6 +12186,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryIngestedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBulkRetryId: discriminated: false union: @@ -11941,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 @@ -11980,6 +12236,7 @@ docs: '' bulk_retry_id: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -13287,6 +13544,7 @@ docs: '' "types": { "CreateConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -13333,6 +13591,7 @@ docs: '' }, "CreateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -13356,6 +13615,7 @@ docs: '' }, "CreateConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -13385,6 +13645,7 @@ docs: '' }, "UpdateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -13408,6 +13669,7 @@ docs: '' }, "UpsertConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -13454,6 +13716,7 @@ docs: '' }, "UpsertConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -13477,6 +13740,7 @@ docs: '' }, "UpsertConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -13535,6 +13799,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true CreateConnectionRequestSource: docs: Source input object properties: @@ -13546,6 +13811,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true CreateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -13561,6 +13827,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestDestinationRateLimitPeriod: enum: - second @@ -13593,6 +13860,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestSource: docs: Source input object properties: @@ -13604,6 +13872,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestRuleset: docs: Ruleset input object properties: @@ -13619,6 +13888,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpdateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -13634,6 +13904,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -16428,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", }, @@ -16443,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", }, @@ -16744,6 +17017,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true UpdateIntegrationRequestConfigs: discriminated: false docs: >- @@ -16757,6 +17031,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true ", }, "issueTriggers.yml": { @@ -17255,6 +17530,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -17280,6 +17556,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -17293,6 +17570,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -17324,6 +17602,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpsertIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -17333,6 +17612,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpdateIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -17342,6 +17622,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -21860,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", }, @@ -21901,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", @@ -21908,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", @@ -21938,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", }, @@ -21948,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", @@ -21955,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", @@ -21964,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", }, @@ -21976,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", }, @@ -22001,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: @@ -22008,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: @@ -22015,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 @@ -22032,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: @@ -22057,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 5e200c13003..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.", @@ -865,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.", @@ -885,6 +891,7 @@ in the Evaluation Report.", }, "CommitRequest": { "docs": undefined, + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -926,6 +933,7 @@ in the Evaluation Report.", "discriminated": false, "docs": "The content of the message.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -936,6 +944,7 @@ in the Evaluation Report.", }, "CreateDatapointRequest": { "docs": undefined, + "inline": undefined, "properties": { "inputs": { "docs": "The inputs to the prompt template.", @@ -958,6 +967,7 @@ in the Evaluation Report.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -976,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.", @@ -996,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.", @@ -1020,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.", @@ -1044,6 +1057,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DashboardConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "model_config_ids": { "type": "list", @@ -1059,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_`.", @@ -1085,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", }, @@ -1099,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_`.", @@ -1114,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.", @@ -1167,6 +1185,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EnvironmentResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1195,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", }, @@ -1209,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.", @@ -1230,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. ", @@ -1251,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", @@ -1275,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.", @@ -1290,6 +1314,7 @@ function.", }, "EvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1333,6 +1358,7 @@ function.", }, "EvaluationResultResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1372,6 +1398,7 @@ function.", }, "EvaluationStats": { "docs": undefined, + "inline": undefined, "properties": { "overall_stats": { "docs": "Stats for the Evaluation Report as a whole.", @@ -1401,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.", @@ -1419,6 +1447,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1435,6 +1464,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1459,6 +1489,7 @@ function.", }, "EvaluatorConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1511,6 +1542,7 @@ function.", }, "EvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "orchestrated": { "default": true, @@ -1528,6 +1560,7 @@ function.", }, "EvaluatorResponse": { "docs": "Request model for creating a new Evaluator", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -1625,6 +1658,7 @@ function.", }, "FeedbackResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the feedback was created. ", @@ -1661,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", }, @@ -1675,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", }, @@ -1698,6 +1734,7 @@ function.", }, "FeedbackTypeModel": { "docs": undefined, + "inline": undefined, "properties": { "type": { "display-name": "Feedback type", @@ -1717,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", }, @@ -1734,6 +1772,7 @@ function.", "discriminated": false, "docs": "The File that the deployed Version belongs to.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1754,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", @@ -1766,6 +1806,7 @@ function.", }, "FunctionToolChoice": { "docs": "A function tool to be called by the model where user owns runtime.", + "inline": undefined, "properties": { "name": "string", }, @@ -1775,6 +1816,7 @@ function.", }, "GenericConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "docs": "The user who created the config.", @@ -1807,6 +1849,7 @@ function.", }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1818,6 +1861,7 @@ function.", }, "HumanEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1834,6 +1878,7 @@ function.", }, "ImageChatContent": { "docs": undefined, + "inline": undefined, "properties": { "image_url": { "docs": "The message's image content.", @@ -1846,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", @@ -1873,6 +1919,7 @@ function.", }, "InputResponse": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Type of input.", @@ -1887,6 +1934,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1897,6 +1945,7 @@ function.", }, "LLMEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1931,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.", @@ -1959,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", @@ -1987,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.", @@ -1999,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.", @@ -2011,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.", @@ -2023,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.", @@ -2035,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.", @@ -2210,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", }, @@ -2224,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", @@ -2235,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}}.", @@ -2321,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", }, @@ -2333,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", }, @@ -2349,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}}.", @@ -2441,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", }, @@ -2454,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.", @@ -2519,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.", @@ -2535,6 +2600,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -2571,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.", @@ -2584,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.", @@ -2635,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.", @@ -2655,6 +2724,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatapointResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2669,6 +2739,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatasetResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2683,6 +2754,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataEvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2697,6 +2769,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataPromptLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2711,6 +2784,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataSessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2747,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. ", @@ -2803,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", @@ -2882,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", }, @@ -2896,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. ", @@ -2964,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.", @@ -3039,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", }, @@ -3049,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", @@ -3176,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", }, @@ -3190,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.", @@ -3318,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", }, @@ -3328,6 +3412,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ProviderApiKeys": { "docs": undefined, + "inline": undefined, "properties": { "ai21": { "type": "optional", @@ -3357,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">", @@ -3368,6 +3454,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "SessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -3423,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", }, @@ -3433,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.", @@ -3456,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", @@ -3471,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", @@ -3488,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.", @@ -3527,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.", @@ -3587,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", @@ -3607,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.", @@ -3627,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.", @@ -3708,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", @@ -3732,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", @@ -3785,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.", @@ -3805,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", @@ -3820,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", }, @@ -3832,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", }, @@ -3844,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", }, @@ -3864,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.", @@ -3881,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", @@ -3912,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.", @@ -3934,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", }, @@ -4379,6 +4486,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ChatMessage: properties: content: @@ -4491,6 +4599,7 @@ types: - list source: openapi: ../openapi.yml + inline: true CreateDatapointRequest: properties: inputs: @@ -4585,6 +4694,7 @@ types: - list source: openapi: ../openapi.yml + inline: true DatapointResponse: properties: inputs: @@ -4727,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 @@ -4853,6 +4964,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequestEvaluatorsToDeactivateItem: discriminated: false union: @@ -4860,6 +4972,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequest: properties: evaluators_to_activate: @@ -5016,6 +5129,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponseValue: discriminated: false docs: >- @@ -5027,6 +5141,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponse: properties: type: @@ -5066,6 +5181,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackTypeModel: properties: type: @@ -5275,6 +5391,7 @@ types: - double source: openapi: ../openapi.yml + inline: true LogResponseToolChoice: discriminated: false docs: >- @@ -5291,6 +5408,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true LogResponse: docs: Request model for logging a datapoint. properties: @@ -5457,6 +5575,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigRequestToolsItem: discriminated: false union: @@ -5464,6 +5583,7 @@ types: - type: ModelConfigToolRequest source: openapi: ../openapi.yml + inline: true ModelConfigRequest: docs: Model config used for logging both chat and completion. properties: @@ -5564,6 +5684,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigResponse: docs: >- Model config request. @@ -5960,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: @@ -6104,6 +6226,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequestStop: discriminated: false docs: >- @@ -6114,6 +6237,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequest: properties: model: @@ -6220,6 +6344,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true PromptLogResponse: docs: Request for creating a Prompt log. properties: @@ -6349,6 +6474,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptResponse: docs: Request model for creating a new Prompt properties: @@ -6735,6 +6861,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -6753,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: @@ -6775,6 +6903,7 @@ types: - type: EvaluatorResponse source: openapi: ../openapi.yml + inline: true VersionIdResponse: docs: A reference to a specific Version by its ID properties: @@ -6801,6 +6930,7 @@ types: - type: BooleanEvaluatorVersionStats source: openapi: ../openapi.yml + inline: true VersionStats: docs: Stats for an Evaluated Version in the Evaluation Report. properties: @@ -13801,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", }, @@ -13821,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", }, @@ -13837,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", }, @@ -13849,6 +13982,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -13865,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", }, @@ -15148,6 +15283,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptRequestStop: discriminated: false docs: >- @@ -15158,6 +15294,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptLogRequestToolChoice: discriminated: false docs: >- @@ -15182,6 +15319,7 @@ types: - type: root.ToolChoice source: openapi: ../openapi.yml + inline: true PromptCallRequestToolChoice: discriminated: false docs: >- @@ -15206,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 f274f4bfc5f..4593cee2110 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.", @@ -4047,6 +4048,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -4066,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.", @@ -4110,6 +4113,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -4134,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", @@ -4166,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.", @@ -4222,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", @@ -4238,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.", @@ -4277,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.", @@ -4317,6 +4326,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -4339,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.", @@ -4362,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.", @@ -4378,6 +4390,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -4415,6 +4428,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -4469,6 +4483,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -4505,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", @@ -4665,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", @@ -4688,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.", @@ -4718,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.", @@ -4735,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", @@ -4758,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.", @@ -4781,6 +4802,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -4804,6 +4826,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -4820,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>", @@ -4846,6 +4870,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4870,6 +4895,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -4893,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", @@ -4919,6 +4946,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -4943,6 +4971,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -4966,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", @@ -4990,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.", @@ -5020,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.", @@ -5040,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.", @@ -5064,6 +5097,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5084,6 +5118,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -5103,6 +5138,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -5117,6 +5153,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5137,6 +5174,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -5152,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.", @@ -5168,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.", @@ -5180,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.", @@ -5210,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.", @@ -5240,6 +5282,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -5264,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.", @@ -5280,6 +5324,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -5299,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", @@ -5319,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": "", @@ -5339,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", @@ -5362,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.)", @@ -5417,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", @@ -5447,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.", @@ -5467,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", @@ -5493,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.", @@ -5536,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.", @@ -5620,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).", @@ -5636,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.", @@ -5688,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", @@ -5732,6 +5789,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -5748,6 +5806,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -5765,6 +5824,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5781,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.", @@ -5827,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", @@ -5860,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", }, @@ -5874,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", }, @@ -5891,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.", @@ -5903,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.", @@ -5915,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", @@ -5931,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", @@ -5951,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", @@ -5961,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", @@ -5989,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", @@ -6017,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.", @@ -6129,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.", @@ -6149,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.", @@ -6169,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.", @@ -6189,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.", @@ -6209,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.", @@ -6221,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", @@ -6247,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", @@ -6267,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", @@ -6302,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.", @@ -6322,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", @@ -6560,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.", @@ -6580,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.", @@ -6614,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.", @@ -6641,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", }, @@ -6657,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.", @@ -6707,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.", @@ -6730,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.", @@ -6745,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.", @@ -6775,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", @@ -6829,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", @@ -6865,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.", @@ -6901,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.", @@ -6917,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.", @@ -6933,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": "", @@ -6951,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", }, @@ -6965,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", @@ -6979,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", }, @@ -6993,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.", @@ -7013,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.", @@ -7029,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.", @@ -7081,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.", @@ -7119,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.", @@ -7135,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", @@ -7161,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.", @@ -7177,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 .", @@ -7193,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.", @@ -7209,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.", @@ -7225,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.", @@ -7238,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.", @@ -7250,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.", @@ -7266,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", @@ -7282,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", @@ -7304,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", }, @@ -7319,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", @@ -7342,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", @@ -7384,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.", @@ -7404,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.", @@ -7464,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", }, @@ -7476,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.", @@ -7556,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.", @@ -7572,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.", @@ -7588,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.", @@ -7608,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.", @@ -7624,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.", @@ -7644,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.", @@ -7695,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.", @@ -7744,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.", @@ -7885,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.", @@ -7908,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": { @@ -7921,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.", @@ -7941,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.", @@ -7982,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": { @@ -7995,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": { @@ -8008,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": { @@ -8021,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.", @@ -10290,6 +10427,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -10533,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: @@ -10579,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: @@ -11162,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 @@ -11844,6 +11985,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -11853,6 +11995,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -11881,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: @@ -12119,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 @@ -12398,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: @@ -12592,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: @@ -12603,6 +12750,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -12640,6 +12788,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -12798,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: @@ -12827,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: @@ -13121,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: @@ -13239,6 +13391,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -13247,6 +13400,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -13276,6 +13430,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -13284,6 +13439,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -13297,6 +13453,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -13305,6 +13462,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -13313,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 @@ -13562,10 +13721,6 @@ You can view the currently authorised admin along with the embedded app object ( }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 20, "total_pages": 1, @@ -13859,6 +14014,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", @@ -14116,9 +14272,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 20 total_pages: 1 activity_logs: @@ -14271,6 +14424,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -14376,6 +14530,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.", @@ -17011,6 +17166,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -17033,6 +17189,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.", @@ -17053,6 +17210,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -17079,6 +17237,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -17105,6 +17264,7 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", @@ -17128,6 +17288,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -17144,6 +17305,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.", @@ -19605,6 +19767,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -19623,6 +19786,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 @@ -19651,6 +19815,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: @@ -20497,10 +20662,6 @@ When using the Companies endpoint and the pages object to iterate through the re }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -20612,10 +20773,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -20735,18 +20892,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "website": "https://www.intercom.com", }, ], - "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, - "page": 1, - "per_page": 2, - "total_pages": 13, - "type": "pages", - }, "scroll_param": "12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc", - "total_count": 100, "type": "list", }, }, @@ -20780,6 +20926,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.", @@ -20863,6 +21010,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", @@ -20883,6 +21031,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": { @@ -20896,6 +21045,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": { @@ -20976,9 +21126,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -21409,9 +21556,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -21523,15 +21667,6 @@ service: name: Active created_at: 1394621988 updated_at: 1394622004 - pages: - type: pages - page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response - per_page: 2 - total_pages: 13 - total_count: 100 scroll_param: 12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc attachContactToACompany: path: /contacts/{id}/companies @@ -21757,6 +21892,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: @@ -21766,6 +21902,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -21775,6 +21912,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -21907,19 +22045,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -21931,30 +22056,13 @@ types: }, "email": "joebloggs@intercom.io", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60b08a68186f43bafdbf", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -21967,11 +22075,7 @@ types: "total_count": 0, "url": "/contacts/667d60b08a68186f43bafdbf/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", - "signed_up_at": 1571672154, "social_profiles": { "data": [ { @@ -22180,19 +22284,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -22208,22 +22299,7 @@ types: "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60ac8a68186f43bafdbc", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -22240,9 +22316,6 @@ types: "total_count": 0, "url": "/contacts/667d60ac8a68186f43bafdbc/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492780, "social_profiles": { @@ -22543,19 +22616,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -22571,22 +22631,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a98a68186f43bafdb9", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -22603,9 +22648,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a98a68186f43bafdb9/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492777, "social_profiles": { @@ -22710,19 +22752,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -22738,22 +22767,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a88a68186f43bafdb8", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -22770,9 +22784,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a88a68186f43bafdb8/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492776, "social_profiles": { @@ -22922,7 +22933,6 @@ The table below shows the operators you can use to define how you want to search }, ], "pages": { - "next": "next", "page": 1, "per_page": 50, "total_pages": 1, @@ -23146,6 +23156,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.", @@ -23332,6 +23343,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.", @@ -23413,7 +23425,6 @@ service: pages: type: pages page: 1 - next: next per_page: 50 total_pages: 1 listSegmentsForAContact: @@ -23579,43 +23590,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492777 updated_at: 1719492777 signed_up_at: 1719492777 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23638,9 +23622,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -23721,43 +23702,16 @@ service: role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: joe bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492776 updated_at: 1719492776 signed_up_at: 1719492776 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23780,9 +23734,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -23859,43 +23810,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492780 updated_at: 1719492780 signed_up_at: 1719492780 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23918,9 +23842,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -24351,48 +24272,18 @@ service: body: type: contact id: 667d60b08a68186f43bafdbf - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id272_that_should_be_at_least_ role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492784 updated_at: 1719492784 - signed_up_at: 1571672154 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -24415,9 +24306,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -24490,6 +24378,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: @@ -25077,26 +24966,6 @@ It is not possible to use this endpoint with Workflows. }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25143,29 +25012,10 @@ It is not possible to use this endpoint with Workflows. "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492880, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "409", "linked_objects": { "data": [ @@ -25180,12 +25030,6 @@ It is not possible to use this endpoint with Workflows. "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25210,30 +25054,8 @@ It is not possible to use this endpoint with Workflows. "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25245,19 +25067,8 @@ It is not possible to use this endpoint with Workflows. ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492881, - "waiting_since": 1663597260, }, }, }, @@ -26512,26 +26323,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26576,29 +26367,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -26613,12 +26385,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26643,30 +26409,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26678,19 +26422,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -26708,26 +26441,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26771,29 +26484,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492864, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "395", "linked_objects": { "data": [ @@ -26808,11 +26502,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, "snoozed_until": 1719496464, "source": { "attachments": [ @@ -26838,30 +26527,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "snoozed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26873,19 +26540,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492864, - "waiting_since": 1663597260, }, }, }, @@ -26903,26 +26559,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26966,29 +26602,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492863, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "400", "linked_objects": { "data": [ @@ -27003,12 +26620,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27033,30 +26644,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27068,19 +26657,9 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, "title": "", "type": "conversation", "updated_at": 1719492873, - "waiting_since": 1663597260, }, }, }, @@ -27099,25 +26678,6 @@ You can optionally request the result page size and the cursor to start after to "response": { "body": { "admin_assignee_id": 991267615, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27165,29 +26725,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492874, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "405", "linked_objects": { "data": [ @@ -27202,12 +26743,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27232,30 +26767,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27267,19 +26780,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492875, - "waiting_since": 1663597260, }, }, }, @@ -27297,26 +26799,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27361,29 +26843,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -27398,12 +26861,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27428,30 +26885,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27463,19 +26898,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -27525,26 +26949,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27589,20 +26993,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -27610,7 +27000,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -27626,12 +27015,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27656,30 +27039,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27691,16 +27052,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -27716,26 +27067,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27780,20 +27111,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -27801,7 +27118,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -27817,12 +27133,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27847,30 +27157,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27882,16 +27170,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -27937,26 +27215,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28001,20 +27259,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -28022,7 +27266,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -28038,12 +27281,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28068,30 +27305,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28103,16 +27318,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -28132,26 +27337,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28207,29 +27392,10 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492852, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "388", "linked_objects": { "data": [ @@ -28244,12 +27410,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28274,30 +27434,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28309,19 +27447,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492853, - "waiting_since": 1663597260, }, }, }, @@ -28338,26 +27465,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28402,20 +27509,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492855, "custom_attributes": { "key": "value", @@ -28423,7 +27516,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492856, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "390", "linked_objects": { @@ -28439,12 +27531,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28469,30 +27555,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28504,16 +27568,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492856, "waiting_since": 1719492856, @@ -28533,26 +27587,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28597,20 +27631,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -28618,7 +27638,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -28634,12 +27653,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28664,30 +27677,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28699,16 +27690,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -28767,26 +27748,6 @@ For AI agent conversation metadata, please note that you need to have the agent }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28813,29 +27774,10 @@ For AI agent conversation metadata, please note that you need to have the agent "total_count": 0, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492825, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "367", "linked_objects": { "data": [ @@ -28850,12 +27792,6 @@ For AI agent conversation metadata, please note that you need to have the agent "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28880,30 +27816,8 @@ For AI agent conversation metadata, please note that you need to have the agent "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28915,19 +27829,8 @@ For AI agent conversation metadata, please note that you need to have the agent ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492825, - "waiting_since": 1663597260, }, }, }, @@ -29082,7 +27985,6 @@ The table below shows the operators you can use to define how you want to search "body": { "conversations": [ { - "admin_assignee_id": 0, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -29097,19 +27999,10 @@ The table below shows the operators you can use to define how you want to search "conversation_parts": { "total_count": 2, }, - "conversation_rating": { - "created_at": 1671028894, - "rating": 5, - "remark": "", - }, "created_at": 1719492843, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - }, "id": "378", "linked_objects": { "data": [ @@ -29124,11 +28017,6 @@ The table below shows the operators you can use to define how you want to search "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -29155,27 +28043,6 @@ The table below shows the operators you can use to define how you want to search "type": "conversation", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -29187,14 +28054,8 @@ The table below shows the operators you can use to define how you want to search ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492843, - "waiting_since": 1663597260, }, ], "pages": { @@ -29264,26 +28125,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -29353,30 +28194,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -29391,12 +28213,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -29421,30 +28237,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -29456,19 +28250,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -29489,26 +28272,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -29578,30 +28341,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -29616,12 +28360,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -29646,30 +28384,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -29681,19 +28397,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -29748,6 +28453,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", }, @@ -29765,6 +28471,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", @@ -29780,6 +28487,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", @@ -29795,6 +28503,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.", @@ -29916,6 +28625,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.", @@ -29949,6 +28659,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", @@ -30182,17 +28893,12 @@ service: body: type: conversation id: '367' - title: Conversation Title created_at: 1719492825 updated_at: 1719492825 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30200,17 +28906,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918255' @@ -30230,7 +28925,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30238,40 +28932,8 @@ service: - type: contact id: 667d60d88a68186f43bafde1 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30290,20 +28952,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en updateConversation: path: /conversations/{id} method: PUT @@ -30364,17 +29012,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30382,17 +29025,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -30412,7 +29044,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30420,41 +29051,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30508,20 +29107,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 1 @@ -30536,17 +29121,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30554,17 +29134,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -30584,7 +29153,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30592,41 +29160,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30680,20 +29216,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en searchConversations: path: /conversations/search method: POST @@ -31045,17 +29567,12 @@ service: conversations: - type: conversation id: '378' - title: Conversation Title created_at: 1719492843 updated_at: 1719492843 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31063,10 +29580,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 source: type: conversation id: '403918266' @@ -31093,36 +29606,8 @@ service: - type: contact id: 667d60ea8a68186f43bafdec external_id: '70' - teammates: - type: admin.list custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - sla_applied: - type: conversation_sla_summary - sla_name: '' - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: total_count: 2 linked_objects: @@ -31180,17 +29665,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31198,17 +29679,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -31228,7 +29698,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31236,40 +29705,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31302,20 +29742,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Admin note reply path-parameters: id: 123 or "last" @@ -31332,17 +29758,12 @@ service: body: type: conversation id: '388' - title: Conversation Title created_at: 1719492852 updated_at: 1719492853 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31350,17 +29771,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918270' @@ -31380,7 +29790,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31388,40 +29797,8 @@ service: - type: contact id: 667d60f38a68186f43bafdf5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31466,20 +29843,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: User last conversation reply path-parameters: id: 123 or "last" @@ -31492,17 +29855,13 @@ service: body: type: conversation id: '390' - title: Conversation Title created_at: 1719492855 updated_at: 1719492856 waiting_since: 1719492856 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31510,17 +29869,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918272' @@ -31540,7 +29888,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31548,40 +29895,11 @@ service: - type: contact id: 667d60f78a68186f43bafdf7 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492856 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31614,20 +29932,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 123 or "last" @@ -31640,17 +29944,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31658,17 +29958,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -31688,7 +29977,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31696,40 +29984,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31762,20 +30021,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en manageConversation: path: /conversations/{id}/parts method: POST @@ -31817,17 +30062,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31835,17 +30075,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -31865,7 +30094,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31873,40 +30101,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31939,20 +30135,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Snooze a conversation path-parameters: id: '123' @@ -31966,17 +30148,13 @@ service: body: type: conversation id: '395' - title: Conversation Title created_at: 1719492864 updated_at: 1719492864 - waiting_since: 1663597260 snoozed_until: 1719496464 open: true state: snoozed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31984,17 +30162,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918277' @@ -32014,7 +30181,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -32022,40 +30188,8 @@ service: - type: contact id: 667d60ff8a68186f43bafdfc external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32087,20 +30221,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Open a conversation path-parameters: id: '123' @@ -32117,14 +30237,10 @@ service: title: '' created_at: 1719492863 updated_at: 1719492873 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -32132,17 +30248,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918278' @@ -32162,7 +30267,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -32170,40 +30274,8 @@ service: - type: contact id: 667d61038a68186f43bafe01 external_id: '74' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32235,20 +30307,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Assign a conversation path-parameters: id: '123' @@ -32262,17 +30320,13 @@ service: body: type: conversation id: '405' - title: Conversation Title created_at: 1719492874 updated_at: 1719492875 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority admin_assignee_id: 991267615 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -32280,17 +30334,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918281' @@ -32310,7 +30353,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -32318,40 +30360,8 @@ service: - type: contact id: 667d610a8a68186f43bafe05 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32386,20 +30396,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: '123' @@ -32413,17 +30409,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -32431,17 +30422,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -32461,7 +30441,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -32469,40 +30448,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32535,20 +30482,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en autoAssignConversation: path: /conversations/{id}/run_assignment_rules method: POST @@ -32584,17 +30517,12 @@ service: body: type: conversation id: '409' - title: Conversation Title created_at: 1719492880 updated_at: 1719492881 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -32602,17 +30530,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918285' @@ -32632,7 +30549,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -32640,40 +30556,8 @@ service: - type: contact id: 667d61108a68186f43bafe09 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32708,20 +30592,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en attachContactToConversation: path: /conversations/{id}/customers method: POST @@ -33630,17 +31500,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -33648,17 +31514,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -33678,7 +31533,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -33686,40 +31540,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -33752,20 +31577,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found request: type: conversation_part @@ -33775,17 +31586,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -33793,17 +31600,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -33823,7 +31619,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -33831,40 +31626,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -33897,20 +31663,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en convertConversationToTicket: path: /conversations/{id}/convert method: POST @@ -34156,6 +31908,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -34179,6 +31932,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -34190,6 +31944,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -34201,6 +31956,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -34209,6 +31965,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -34316,6 +32073,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.", @@ -35290,6 +33048,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", @@ -36424,6 +34183,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.", @@ -36448,6 +34208,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", @@ -36490,6 +34251,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", }, @@ -36507,6 +34269,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -36516,6 +34279,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", }, @@ -36525,6 +34289,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", }, @@ -36540,16 +34305,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: @@ -36582,6 +34350,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: @@ -37054,6 +34823,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.", @@ -37336,7 +35106,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -37547,7 +35316,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -37849,7 +35617,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "159", "name": "English collection title", "order": 17, - "parent_id": "6871118", "updated_at": 1719492720, "url": "http://help-center.test/myapp-65/collection-17", "workspace_id": "this_is_an_id65_that_should_be_at_least_4", @@ -37857,8 +35624,6 @@ Collections will be returned in descending order on the `updated_at` attribute. { "created_at": 1719492720, "default_locale": "en", - "description": "Default language description", - "help_center_id": 1, "icon": "bookmark", "id": "160", "name": "English section title", @@ -37959,7 +35724,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "170", "name": "English collection title", "order": 22, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -38243,7 +36007,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -38456,7 +36219,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -38703,6 +36465,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.", @@ -38762,6 +36525,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.", @@ -38798,6 +36562,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", @@ -38865,12 +36630,10 @@ service: icon: bookmark order: 17 default_locale: en - parent_id: '6871118' help_center_id: 79 - id: '160' workspace_id: this_is_an_id65_that_should_be_at_least_4 name: English section title - description: Default language description created_at: 1719492720 updated_at: 1719492720 url: http://help-center.test/myapp-65/section-1 @@ -38878,7 +36641,6 @@ service: order: 1 default_locale: en parent_id: '159' - help_center_id: 1 createCollection: path: /help_center/collections method: POST @@ -39088,7 +36850,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 - name: Bad Request request: @@ -39256,7 +37017,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 retrieveCollection: path: /help_center/collections/{id} @@ -39444,7 +37204,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 84 updateCollection: path: /help_center/collections/{id} @@ -39656,7 +37415,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 - name: Collection Not Found path-parameters: @@ -39825,7 +37583,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 deleteCollection: path: /help_center/collections/{id} @@ -40233,6 +37990,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.", @@ -40533,7 +38291,6 @@ types: "response": { "body": { "body": "

New costumes in store for this spooky season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492978, "deliver_silently": true, "id": "33", @@ -40802,7 +38559,6 @@ types: "response": { "body": { "body": "

Hello there,

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492979, "deliver_silently": false, "id": "34", @@ -40913,7 +38669,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -40955,7 +38710,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -41012,6 +38766,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.", @@ -41091,6 +38846,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.", @@ -41115,6 +38871,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).", @@ -41225,7 +38982,6 @@ service: - New - Product - Update - cover_image_url: https://example.com/cover.jpg reactions: - 😆 - 😅 @@ -41267,7 +39023,6 @@ service: published_at: 1719492980 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 👍 - 👍 @@ -41321,7 +39076,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -41351,7 +39105,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -41884,10 +39637,6 @@ types: }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 50, "total_pages": 1, @@ -41991,6 +39740,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.", @@ -42023,6 +39773,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -42123,9 +39874,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 50 total_pages: 1 createNote: @@ -42323,6 +40071,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: @@ -42472,6 +40221,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.", @@ -42922,6 +40672,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.", @@ -44256,6 +42007,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -44276,6 +42028,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", @@ -45006,6 +42759,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.", @@ -47669,6 +45423,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.", @@ -47687,6 +45442,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", }, @@ -47704,6 +45460,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.", @@ -47716,6 +45473,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.", @@ -47728,6 +45486,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.", @@ -47742,6 +45501,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", }, @@ -47756,6 +45516,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.", @@ -47849,6 +45610,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.)", @@ -47944,6 +45706,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.", @@ -48009,6 +45772,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.", @@ -48053,6 +45817,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -48062,6 +45827,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -48072,6 +45838,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -48080,6 +45847,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -48100,6 +45868,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -49609,19 +47378,6 @@ docs: Everything about your tickets }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -49633,30 +47389,13 @@ docs: Everything about your tickets }, "email": "foo@bar.com", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d61d08a68186f43bafea2", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -49669,9 +47408,6 @@ docs: Everything about your tickets "total_count": 0, "url": "/contacts/667d61d08a68186f43bafea2/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719493072, "social_profiles": { @@ -49750,7 +47486,6 @@ docs: Everything about your tickets "anonymous": true, "app_id": "this_is_an_id677_that_should_be_at_least_", "avatar": { - "image_url": "https://example.com/avatar.png", "type": "avatar", }, "companies": { @@ -49783,7 +47518,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61ce8a68186f43bafe9b", @@ -49799,11 +47533,6 @@ docs: Everything about your tickets "type": "location_data", }, "marked_email_as_spam": false, - "name": "Jane Doe", - "owner_id": "5169261", - "phone": "555-555-5555", - "pseudonym": "Red Duck from Dublin", - "referrer": "https://www.google.com/", "remote_created_at": 1719493070, "segments": { "segments": [ @@ -49832,11 +47561,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493070, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -49919,7 +47643,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -49936,10 +47659,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -49968,11 +47688,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -50020,7 +47735,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -50037,10 +47751,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -50069,11 +47780,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -50137,12 +47843,8 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 - name: Jane Doe - pseudonym: Red Duck from Dublin avatar: type: avatar - image_url: https://example.com/avatar.png app_id: this_is_an_id677_that_should_be_at_least_ companies: type: company.list @@ -50184,7 +47886,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -50199,13 +47900,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false updateVisitor: path: /visitors method: PUT @@ -50245,7 +47939,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -50293,7 +47986,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -50308,13 +48000,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false - name: visitor Not Found request: user_id: fail @@ -50326,7 +48011,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -50374,7 +48058,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -50389,13 +48072,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false convertVisitor: path: /visitors/convert method: POST @@ -50444,48 +48120,19 @@ service: body: type: contact id: 667d61d08a68186f43bafea2 - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id683_that_should_be_at_least_ role: user email: foo@bar.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719493072 updated_at: 1719493072 signed_up_at: 1719493072 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -50508,9 +48155,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile 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 95f50fc2068..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.", @@ -1464,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", }, @@ -1478,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.", @@ -1557,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.", @@ -1754,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>", @@ -1773,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.", @@ -2248,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.", @@ -2321,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", @@ -2396,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", @@ -2418,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": { @@ -2490,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", @@ -2508,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", @@ -2549,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", @@ -2560,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.", @@ -2595,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.", @@ -2624,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.", @@ -2636,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.", @@ -2648,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", @@ -2663,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.", @@ -3011,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", @@ -3050,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", @@ -3067,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.", @@ -3123,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.", @@ -3139,6 +3178,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedAccountDetailsAndActionsList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3150,6 +3190,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBankInfoList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3161,6 +3202,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBenefitList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3172,6 +3214,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedCompanyList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3183,6 +3226,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedConditionSchemaList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3194,6 +3238,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3205,6 +3250,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeePayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3216,6 +3262,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmploymentList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3227,6 +3274,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3238,6 +3286,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedIssueList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3249,6 +3298,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedLocationList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3260,6 +3310,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3271,6 +3322,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3282,6 +3334,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedSyncStatusList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3293,6 +3346,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTeamList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3304,6 +3358,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffBalanceList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3315,6 +3370,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3978,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": { @@ -4043,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.", @@ -4138,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", @@ -4153,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", @@ -4168,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", @@ -4190,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", @@ -4298,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", @@ -4337,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.", @@ -4394,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": { @@ -4444,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”.", @@ -4541,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.", @@ -4601,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", }, @@ -4615,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”.", @@ -4689,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>", @@ -4729,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", }, @@ -4738,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", @@ -4750,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", @@ -4761,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/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json index da9a04af27f..58712f5011b 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,6 +1678,7 @@ enriched transactions.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1729,6 +1750,7 @@ enriched transactions.", }, "FnCall!": { "docs": undefined, + "inline": true, "properties": { "!": { "type": "expression", @@ -1740,6 +1762,7 @@ enriched transactions.", }, "FnCall&&": { "docs": undefined, + "inline": true, "properties": { "&&": "list", }, @@ -1749,6 +1772,7 @@ enriched transactions.", }, "FnCall*": { "docs": undefined, + "inline": true, "properties": { "*": "list", }, @@ -1758,6 +1782,7 @@ enriched transactions.", }, "FnCall+": { "docs": undefined, + "inline": true, "properties": { "+": "list", }, @@ -1767,6 +1792,7 @@ enriched transactions.", }, "FnCall-": { "docs": undefined, + "inline": true, "properties": { "-": "list", }, @@ -1776,6 +1802,7 @@ enriched transactions.", }, "FnCall/": { "docs": undefined, + "inline": true, "properties": { "/": "list", }, @@ -1785,6 +1812,7 @@ enriched transactions.", }, "FnCall//": { "docs": undefined, + "inline": true, "properties": { "//": "list", }, @@ -1794,6 +1822,7 @@ enriched transactions.", }, "FnCall<": { "docs": undefined, + "inline": true, "properties": { "<": "list", }, @@ -1803,6 +1832,7 @@ enriched transactions.", }, "FnCall<=": { "docs": undefined, + "inline": true, "properties": { "<=": "list", }, @@ -1812,6 +1842,7 @@ enriched transactions.", }, "FnCall==": { "docs": undefined, + "inline": true, "properties": { "==": "list", }, @@ -1821,6 +1852,7 @@ enriched transactions.", }, "FnCall>": { "docs": undefined, + "inline": true, "properties": { ">": "list", }, @@ -1830,6 +1862,7 @@ enriched transactions.", }, "FnCall>=": { "docs": undefined, + "inline": true, "properties": { ">=": "list", }, @@ -1839,6 +1872,7 @@ enriched transactions.", }, "FnCallEndsWith": { "docs": undefined, + "inline": true, "properties": { "ends_with": "list", }, @@ -1848,6 +1882,7 @@ enriched transactions.", }, "FnCallGet": { "docs": undefined, + "inline": true, "properties": { "get": { "type": "properties", @@ -1859,6 +1894,7 @@ enriched transactions.", }, "FnCallHasLabel": { "docs": undefined, + "inline": true, "properties": { "has_label": { "type": "expression", @@ -1870,6 +1906,7 @@ enriched transactions.", }, "FnCallHasMcc": { "docs": undefined, + "inline": true, "properties": { "has_mcc": { "type": "expression", @@ -1881,6 +1918,7 @@ enriched transactions.", }, "FnCallIsSubstring": { "docs": undefined, + "inline": true, "properties": { "is_substring": "list", }, @@ -1890,6 +1928,7 @@ enriched transactions.", }, "FnCallStartsWith": { "docs": undefined, + "inline": true, "properties": { "starts_with": "list", }, @@ -1899,6 +1938,7 @@ enriched transactions.", }, "FnCallToLower": { "docs": undefined, + "inline": true, "properties": { "to_lower": { "type": "expression", @@ -1910,6 +1950,7 @@ enriched transactions.", }, "FnCallToUpper": { "docs": undefined, + "inline": true, "properties": { "to_upper": { "type": "expression", @@ -1921,6 +1962,7 @@ enriched transactions.", }, "FnCall||": { "docs": undefined, + "inline": true, "properties": { "||": "list", }, @@ -1930,6 +1972,7 @@ enriched transactions.", }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1941,6 +1984,7 @@ enriched transactions.", }, "Intermediary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1982,6 +2026,7 @@ enriched transactions.", }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "raw_address": { "docs": "An unstructured string containing the address", @@ -1999,6 +2044,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 +2061,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 +2116,7 @@ under ambiguity.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2095,6 +2143,7 @@ under ambiguity.", }, "ModifyLabelsAddLabel": { "docs": undefined, + "inline": true, "properties": { "add_label": { "type": "expression", @@ -2106,6 +2155,7 @@ under ambiguity.", }, "ModifyLabelsAddMcc": { "docs": undefined, + "inline": true, "properties": { "add_mcc": { "type": "expression", @@ -2117,6 +2167,7 @@ under ambiguity.", }, "ModifyLabelsRemoveLabel": { "docs": undefined, + "inline": true, "properties": { "remove_label": { "type": "expression", @@ -2128,6 +2179,7 @@ under ambiguity.", }, "ModifyLabelsRemoveMcc": { "docs": undefined, + "inline": true, "properties": { "remove_mcc": { "type": "expression", @@ -2139,6 +2191,7 @@ under ambiguity.", }, "ModifyLabelsSetLabels": { "docs": undefined, + "inline": true, "properties": { "set_labels": "list", }, @@ -2148,6 +2201,7 @@ under ambiguity.", }, "ModifyLabelsSetMcc": { "docs": undefined, + "inline": true, "properties": { "set_mcc": "list", }, @@ -2157,6 +2211,7 @@ under ambiguity.", }, "PagedResponseAccountHolderExternal": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2169,6 +2224,7 @@ under ambiguity.", }, "PagedResponseBankStatement": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2181,6 +2237,7 @@ under ambiguity.", }, "PagedResponseBatch": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2193,6 +2250,7 @@ under ambiguity.", }, "PagedResponseReport": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2207,6 +2265,7 @@ under ambiguity.", }, "PagedResponseTransaction": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2219,6 +2278,7 @@ under ambiguity.", }, "PagedResponseWebhook": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2232,6 +2292,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 +2305,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 +2397,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 +2457,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 +2493,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 +2506,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 +2593,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 +2616,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 +2681,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 +2697,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 +2708,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 +2790,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 +2810,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 +2823,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 +2861,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 +4463,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -4476,112 +4552,133 @@ types: '&&': 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 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 + inline: true FnCall: discriminated: false union: @@ -4632,34 +4729,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: @@ -9365,10 +9468,6 @@ enriched = sdk.transactions.create([ }, ], }, - "error": { - "code": "account_holder_not_found", - "message": "message", - }, "id": "xbx8YP14g565Xk", "location": { "raw_address": "Nw 43rd Street 5480, Gainesville, Florida 32653, US", @@ -9866,9 +9965,6 @@ service: google_maps_url: >- https://www.google.com/maps/search/?api=1&query=29.704558,-82.389277 apple_maps_url: https://maps.apple.com/?q=29.704558,-82.389277 - error: - code: account_holder_not_found - message: message created_at: '2024-03-30T00:00:00Z' id: xbx8YP14g565Xk code-samples: 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 1af8e788077..06f4b3d0bf1 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.", @@ -4046,6 +4047,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -4065,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.", @@ -4109,6 +4112,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -4133,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", @@ -4165,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.", @@ -4221,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", @@ -4237,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.", @@ -4276,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.", @@ -4316,6 +4325,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -4338,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.", @@ -4361,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.", @@ -4377,6 +4389,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -4414,6 +4427,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -4468,6 +4482,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -4504,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", @@ -4664,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", @@ -4687,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.", @@ -4717,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.", @@ -4734,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", @@ -4757,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.", @@ -4780,6 +4801,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -4803,6 +4825,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -4819,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>", @@ -4845,6 +4869,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4869,6 +4894,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -4892,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", @@ -4918,6 +4945,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -4942,6 +4970,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -4965,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", @@ -4989,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.", @@ -5019,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.", @@ -5039,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.", @@ -5063,6 +5096,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5083,6 +5117,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -5102,6 +5137,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -5116,6 +5152,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5136,6 +5173,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -5151,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.", @@ -5167,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.", @@ -5179,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.", @@ -5209,6 +5250,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -5233,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.", @@ -5249,6 +5292,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -5268,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", @@ -5288,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": "", @@ -5308,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", @@ -5331,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.)", @@ -5386,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", @@ -5416,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.", @@ -5436,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", @@ -5462,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.", @@ -5505,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.", @@ -5589,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).", @@ -5605,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.", @@ -5657,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", @@ -5701,6 +5757,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -5717,6 +5774,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -5734,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.", @@ -5780,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", @@ -5813,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", }, @@ -5827,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", }, @@ -5844,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.", @@ -5856,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.", @@ -5868,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", @@ -5884,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", @@ -5912,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", @@ -5940,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.", @@ -5960,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.", @@ -5980,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.", @@ -6000,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.", @@ -6020,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.", @@ -6032,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", @@ -6058,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", @@ -6078,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", @@ -6113,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.", @@ -6133,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", @@ -6293,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.", @@ -6313,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.", @@ -6347,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.", @@ -6374,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", }, @@ -6390,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.", @@ -6440,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.", @@ -6463,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.", @@ -6478,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.", @@ -6508,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", @@ -6562,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", @@ -6598,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.", @@ -6634,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.", @@ -6650,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.", @@ -6666,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": "", @@ -6684,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", }, @@ -6698,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", @@ -6712,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", }, @@ -6726,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.", @@ -6746,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.", @@ -6762,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.", @@ -6814,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.", @@ -6852,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.", @@ -6868,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", @@ -6894,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.", @@ -6910,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 .", @@ -6926,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.", @@ -6942,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.", @@ -6958,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.", @@ -6971,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.", @@ -6983,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.", @@ -6999,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", @@ -7015,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", @@ -7037,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", }, @@ -7052,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", @@ -7075,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", @@ -7117,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.", @@ -7137,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.", @@ -7197,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", }, @@ -7209,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.", @@ -7289,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.", @@ -7305,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.", @@ -7321,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.", @@ -7341,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.", @@ -7357,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.", @@ -7377,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.", @@ -7428,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.", @@ -7477,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.", @@ -7618,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.", @@ -7641,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": { @@ -7654,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.", @@ -7695,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": { @@ -7708,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": { @@ -7721,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": { @@ -7734,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.", @@ -10003,6 +10134,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -10246,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: @@ -10292,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: @@ -10875,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 @@ -11525,6 +11660,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -11534,6 +11670,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -11670,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 @@ -11906,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: @@ -12100,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: @@ -12111,6 +12251,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -12148,6 +12289,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -12306,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: @@ -12335,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: @@ -12629,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: @@ -12747,6 +12892,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -12755,6 +12901,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -12784,6 +12931,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -12792,6 +12940,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -12805,6 +12954,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -12813,6 +12963,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -12821,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 @@ -13055,10 +13207,6 @@ You can view the currently authorised admin along with the embedded app object ( }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 20, "total_pages": 1, @@ -13352,6 +13500,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", @@ -13609,9 +13758,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 20 total_pages: 1 activity_logs: @@ -13764,6 +13910,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -13869,6 +14016,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.", @@ -16504,6 +16652,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -16526,6 +16675,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.", @@ -16546,6 +16696,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -16572,6 +16723,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -16598,6 +16750,7 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", @@ -16621,6 +16774,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -16637,6 +16791,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.", @@ -19098,6 +19253,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -19116,6 +19272,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 @@ -19144,6 +19301,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: @@ -19990,10 +20148,6 @@ When using the Companies endpoint and the pages object to iterate through the re }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -20105,10 +20259,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -20228,18 +20378,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "website": "https://www.intercom.com", }, ], - "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, - "page": 1, - "per_page": 2, - "total_pages": 13, - "type": "pages", - }, "scroll_param": "12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc", - "total_count": 100, "type": "list", }, }, @@ -20273,6 +20412,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.", @@ -20356,6 +20496,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", @@ -20376,6 +20517,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": { @@ -20389,6 +20531,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": { @@ -20469,9 +20612,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -20902,9 +21042,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -21016,15 +21153,6 @@ service: name: Active created_at: 1394621988 updated_at: 1394622004 - pages: - type: pages - page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response - per_page: 2 - total_pages: 13 - total_count: 100 scroll_param: 12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc attachContactToACompany: path: /contacts/{id}/companies @@ -21250,6 +21378,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: @@ -21259,6 +21388,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -21268,6 +21398,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -21400,19 +21531,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -21424,30 +21542,13 @@ types: }, "email": "joebloggs@intercom.io", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60b08a68186f43bafdbf", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -21460,11 +21561,7 @@ types: "total_count": 0, "url": "/contacts/667d60b08a68186f43bafdbf/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", - "signed_up_at": 1571672154, "social_profiles": { "data": [ { @@ -21673,19 +21770,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -21701,22 +21785,7 @@ types: "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60ac8a68186f43bafdbc", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -21733,9 +21802,6 @@ types: "total_count": 0, "url": "/contacts/667d60ac8a68186f43bafdbc/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492780, "social_profiles": { @@ -22036,19 +22102,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -22064,22 +22117,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a98a68186f43bafdb9", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -22096,9 +22134,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a98a68186f43bafdb9/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492777, "social_profiles": { @@ -22203,19 +22238,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -22231,22 +22253,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a88a68186f43bafdb8", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -22263,9 +22270,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a88a68186f43bafdb8/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492776, "social_profiles": { @@ -22415,7 +22419,6 @@ The table below shows the operators you can use to define how you want to search }, ], "pages": { - "next": "next", "page": 1, "per_page": 50, "total_pages": 1, @@ -22639,6 +22642,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.", @@ -22825,6 +22829,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.", @@ -22906,7 +22911,6 @@ service: pages: type: pages page: 1 - next: next per_page: 50 total_pages: 1 listSegmentsForAContact: @@ -23072,43 +23076,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492777 updated_at: 1719492777 signed_up_at: 1719492777 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23131,9 +23108,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -23214,43 +23188,16 @@ service: role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: joe bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492776 updated_at: 1719492776 signed_up_at: 1719492776 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23273,9 +23220,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -23352,43 +23296,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492780 updated_at: 1719492780 signed_up_at: 1719492780 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23411,9 +23328,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -23844,48 +23758,18 @@ service: body: type: contact id: 667d60b08a68186f43bafdbf - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id272_that_should_be_at_least_ role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492784 updated_at: 1719492784 - signed_up_at: 1571672154 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -23908,9 +23792,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -23983,6 +23864,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: @@ -24570,26 +24452,6 @@ It is not possible to use this endpoint with Workflows. }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24636,29 +24498,10 @@ It is not possible to use this endpoint with Workflows. "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492880, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "409", "linked_objects": { "data": [ @@ -24673,12 +24516,6 @@ It is not possible to use this endpoint with Workflows. "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24703,30 +24540,8 @@ It is not possible to use this endpoint with Workflows. "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24738,19 +24553,8 @@ It is not possible to use this endpoint with Workflows. ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492881, - "waiting_since": 1663597260, }, }, }, @@ -26005,26 +25809,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26069,29 +25853,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -26106,12 +25871,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26136,30 +25895,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26171,19 +25908,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -26201,26 +25927,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26264,29 +25970,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492864, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "395", "linked_objects": { "data": [ @@ -26301,11 +25988,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, "snoozed_until": 1719496464, "source": { "attachments": [ @@ -26331,30 +26013,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "snoozed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26366,19 +26026,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492864, - "waiting_since": 1663597260, }, }, }, @@ -26396,26 +26045,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26459,29 +26088,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492863, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "400", "linked_objects": { "data": [ @@ -26496,12 +26106,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26526,30 +26130,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26561,19 +26143,9 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, "title": "", "type": "conversation", "updated_at": 1719492873, - "waiting_since": 1663597260, }, }, }, @@ -26592,25 +26164,6 @@ You can optionally request the result page size and the cursor to start after to "response": { "body": { "admin_assignee_id": 991267615, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26658,29 +26211,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492874, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "405", "linked_objects": { "data": [ @@ -26695,12 +26229,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26725,30 +26253,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26760,19 +26266,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492875, - "waiting_since": 1663597260, }, }, }, @@ -26790,26 +26285,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26854,29 +26329,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -26891,12 +26347,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26921,30 +26371,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26956,19 +26384,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -27018,26 +26435,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27082,20 +26479,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -27103,7 +26486,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -27119,12 +26501,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27149,30 +26525,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27184,16 +26538,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -27209,26 +26553,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27273,20 +26597,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -27294,7 +26604,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -27310,12 +26619,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27340,30 +26643,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27375,16 +26656,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -27430,26 +26701,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27494,20 +26745,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -27515,7 +26752,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -27531,12 +26767,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27561,30 +26791,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27596,16 +26804,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -27625,26 +26823,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27700,29 +26878,10 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492852, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "388", "linked_objects": { "data": [ @@ -27737,12 +26896,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27767,30 +26920,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27802,19 +26933,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492853, - "waiting_since": 1663597260, }, }, }, @@ -27831,26 +26951,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27895,20 +26995,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492855, "custom_attributes": { "key": "value", @@ -27916,7 +27002,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492856, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "390", "linked_objects": { @@ -27932,12 +27017,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27962,30 +27041,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27997,16 +27054,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492856, "waiting_since": 1719492856, @@ -28026,26 +27073,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28090,20 +27117,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -28111,7 +27124,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -28127,12 +27139,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28157,30 +27163,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28192,16 +27176,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -28260,26 +27234,6 @@ For AI agent conversation metadata, please note that you need to have the agent }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28306,29 +27260,10 @@ For AI agent conversation metadata, please note that you need to have the agent "total_count": 0, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492825, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "367", "linked_objects": { "data": [ @@ -28343,12 +27278,6 @@ For AI agent conversation metadata, please note that you need to have the agent "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28373,30 +27302,8 @@ For AI agent conversation metadata, please note that you need to have the agent "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28408,19 +27315,8 @@ For AI agent conversation metadata, please note that you need to have the agent ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492825, - "waiting_since": 1663597260, }, }, }, @@ -28575,7 +27471,6 @@ The table below shows the operators you can use to define how you want to search "body": { "conversations": [ { - "admin_assignee_id": 0, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28590,19 +27485,10 @@ The table below shows the operators you can use to define how you want to search "conversation_parts": { "total_count": 2, }, - "conversation_rating": { - "created_at": 1671028894, - "rating": 5, - "remark": "", - }, "created_at": 1719492843, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - }, "id": "378", "linked_objects": { "data": [ @@ -28617,11 +27503,6 @@ The table below shows the operators you can use to define how you want to search "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28648,27 +27529,6 @@ The table below shows the operators you can use to define how you want to search "type": "conversation", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28680,14 +27540,8 @@ The table below shows the operators you can use to define how you want to search ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492843, - "waiting_since": 1663597260, }, ], "pages": { @@ -28757,26 +27611,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -28846,30 +27680,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -28884,12 +27699,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -28914,30 +27723,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -28949,19 +27736,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -28982,26 +27758,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -29071,30 +27827,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -29109,12 +27846,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -29139,30 +27870,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -29174,19 +27883,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -29241,6 +27939,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", }, @@ -29258,6 +27957,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", @@ -29273,6 +27973,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", @@ -29288,6 +27989,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.", @@ -29409,6 +28111,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.", @@ -29442,6 +28145,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", @@ -29675,17 +28379,12 @@ service: body: type: conversation id: '367' - title: Conversation Title created_at: 1719492825 updated_at: 1719492825 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29693,17 +28392,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918255' @@ -29723,7 +28411,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29731,40 +28418,8 @@ service: - type: contact id: 667d60d88a68186f43bafde1 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29783,20 +28438,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en updateConversation: path: /conversations/{id} method: PUT @@ -29857,17 +28498,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29875,17 +28511,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -29905,7 +28530,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29913,41 +28537,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30001,20 +28593,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 1 @@ -30029,17 +28607,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30047,17 +28620,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -30077,7 +28639,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30085,41 +28646,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30173,20 +28702,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en searchConversations: path: /conversations/search method: POST @@ -30538,17 +29053,12 @@ service: conversations: - type: conversation id: '378' - title: Conversation Title created_at: 1719492843 updated_at: 1719492843 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30556,10 +29066,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 source: type: conversation id: '403918266' @@ -30586,36 +29092,8 @@ service: - type: contact id: 667d60ea8a68186f43bafdec external_id: '70' - teammates: - type: admin.list custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - sla_applied: - type: conversation_sla_summary - sla_name: '' - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: total_count: 2 linked_objects: @@ -30673,17 +29151,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30691,17 +29165,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -30721,7 +29184,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30729,40 +29191,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30795,20 +29228,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Admin note reply path-parameters: id: 123 or "last" @@ -30825,17 +29244,12 @@ service: body: type: conversation id: '388' - title: Conversation Title created_at: 1719492852 updated_at: 1719492853 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30843,17 +29257,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918270' @@ -30873,7 +29276,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30881,40 +29283,8 @@ service: - type: contact id: 667d60f38a68186f43bafdf5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30959,20 +29329,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: User last conversation reply path-parameters: id: 123 or "last" @@ -30985,17 +29341,13 @@ service: body: type: conversation id: '390' - title: Conversation Title created_at: 1719492855 updated_at: 1719492856 waiting_since: 1719492856 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31003,17 +29355,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918272' @@ -31033,7 +29374,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31041,40 +29381,11 @@ service: - type: contact id: 667d60f78a68186f43bafdf7 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492856 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31107,20 +29418,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 123 or "last" @@ -31133,17 +29430,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31151,17 +29444,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -31181,7 +29463,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31189,40 +29470,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31255,20 +29507,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en manageConversation: path: /conversations/{id}/parts method: POST @@ -31310,17 +29548,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31328,17 +29561,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -31358,7 +29580,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31366,40 +29587,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31432,20 +29621,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Snooze a conversation path-parameters: id: '123' @@ -31459,17 +29634,13 @@ service: body: type: conversation id: '395' - title: Conversation Title created_at: 1719492864 updated_at: 1719492864 - waiting_since: 1663597260 snoozed_until: 1719496464 open: true state: snoozed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31477,17 +29648,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918277' @@ -31507,7 +29667,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31515,40 +29674,8 @@ service: - type: contact id: 667d60ff8a68186f43bafdfc external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31580,20 +29707,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Open a conversation path-parameters: id: '123' @@ -31610,14 +29723,10 @@ service: title: '' created_at: 1719492863 updated_at: 1719492873 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31625,17 +29734,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918278' @@ -31655,7 +29753,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31663,40 +29760,8 @@ service: - type: contact id: 667d61038a68186f43bafe01 external_id: '74' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31728,20 +29793,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Assign a conversation path-parameters: id: '123' @@ -31755,17 +29806,13 @@ service: body: type: conversation id: '405' - title: Conversation Title created_at: 1719492874 updated_at: 1719492875 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority admin_assignee_id: 991267615 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31773,17 +29820,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918281' @@ -31803,7 +29839,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31811,40 +29846,8 @@ service: - type: contact id: 667d610a8a68186f43bafe05 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31879,20 +29882,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: '123' @@ -31906,17 +29895,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31924,17 +29908,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -31954,7 +29927,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31962,40 +29934,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32028,20 +29968,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en autoAssignConversation: path: /conversations/{id}/run_assignment_rules method: POST @@ -32077,17 +30003,12 @@ service: body: type: conversation id: '409' - title: Conversation Title created_at: 1719492880 updated_at: 1719492881 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -32095,17 +30016,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918285' @@ -32125,7 +30035,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -32133,40 +30042,8 @@ service: - type: contact id: 667d61108a68186f43bafe09 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -32201,20 +30078,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en attachContactToConversation: path: /conversations/{id}/customers method: POST @@ -33123,17 +30986,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -33141,17 +31000,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -33171,7 +31019,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -33179,40 +31026,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -33245,20 +31063,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found request: type: conversation_part @@ -33268,17 +31072,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -33286,17 +31086,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -33316,7 +31105,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -33324,40 +31112,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -33390,20 +31149,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en convertConversationToTicket: path: /conversations/{id}/convert method: POST @@ -33649,6 +31394,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -33672,6 +31418,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -33683,6 +31430,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -33694,6 +31442,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -33702,6 +31451,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -33809,6 +31559,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.", @@ -34783,6 +32534,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", @@ -35917,6 +33669,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.", @@ -35943,6 +33696,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", }, @@ -35960,6 +33714,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -35969,6 +33724,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", }, @@ -35978,6 +33734,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", }, @@ -35993,16 +33750,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: @@ -36035,6 +33795,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: @@ -36472,6 +34233,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.", @@ -36754,7 +34516,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -36965,7 +34726,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -37267,7 +35027,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "159", "name": "English collection title", "order": 17, - "parent_id": "6871118", "updated_at": 1719492720, "url": "http://help-center.test/myapp-65/collection-17", "workspace_id": "this_is_an_id65_that_should_be_at_least_4", @@ -37275,8 +35034,6 @@ Collections will be returned in descending order on the `updated_at` attribute. { "created_at": 1719492720, "default_locale": "en", - "description": "Default language description", - "help_center_id": 1, "icon": "bookmark", "id": "160", "name": "English section title", @@ -37377,7 +35134,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "170", "name": "English collection title", "order": 22, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -37661,7 +35417,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -37874,7 +35629,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -38121,6 +35875,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.", @@ -38180,6 +35935,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.", @@ -38216,6 +35972,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", @@ -38283,12 +36040,10 @@ service: icon: bookmark order: 17 default_locale: en - parent_id: '6871118' help_center_id: 79 - id: '160' workspace_id: this_is_an_id65_that_should_be_at_least_4 name: English section title - description: Default language description created_at: 1719492720 updated_at: 1719492720 url: http://help-center.test/myapp-65/section-1 @@ -38296,7 +36051,6 @@ service: order: 1 default_locale: en parent_id: '159' - help_center_id: 1 createCollection: path: /help_center/collections method: POST @@ -38506,7 +36260,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 - name: Bad Request request: @@ -38674,7 +36427,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 retrieveCollection: path: /help_center/collections/{id} @@ -38862,7 +36614,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 84 updateCollection: path: /help_center/collections/{id} @@ -39074,7 +36825,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 - name: Collection Not Found path-parameters: @@ -39243,7 +36993,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 deleteCollection: path: /help_center/collections/{id} @@ -39651,6 +37400,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.", @@ -39951,7 +37701,6 @@ types: "response": { "body": { "body": "

New costumes in store for this spooky season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492978, "deliver_silently": true, "id": "33", @@ -40220,7 +37969,6 @@ types: "response": { "body": { "body": "

Hello there,

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492979, "deliver_silently": false, "id": "34", @@ -40331,7 +38079,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -40373,7 +38120,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -40430,6 +38176,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.", @@ -40509,6 +38256,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.", @@ -40533,6 +38281,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).", @@ -40643,7 +38392,6 @@ service: - New - Product - Update - cover_image_url: https://example.com/cover.jpg reactions: - 😆 - 😅 @@ -40685,7 +38433,6 @@ service: published_at: 1719492980 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 👍 - 👍 @@ -40739,7 +38486,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -40769,7 +38515,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -41302,10 +39047,6 @@ types: }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 50, "total_pages": 1, @@ -41409,6 +39150,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.", @@ -41441,6 +39183,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -41541,9 +39284,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 50 total_pages: 1 createNote: @@ -41741,6 +39481,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: @@ -41890,6 +39631,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.", @@ -42340,6 +40082,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.", @@ -43674,6 +41417,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -43694,6 +41438,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", @@ -44424,6 +42169,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.", @@ -47087,6 +44833,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.", @@ -47105,6 +44852,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", }, @@ -47122,6 +44870,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.", @@ -47134,6 +44883,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.", @@ -47146,6 +44896,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.", @@ -47160,6 +44911,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", }, @@ -47174,6 +44926,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.", @@ -47267,6 +45020,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.)", @@ -47362,6 +45116,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.", @@ -47427,6 +45182,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.", @@ -47471,6 +45227,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -47480,6 +45237,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -47490,6 +45248,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -47498,6 +45257,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -47518,6 +45278,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -49027,19 +46788,6 @@ docs: Everything about your tickets }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -49051,30 +46799,13 @@ docs: Everything about your tickets }, "email": "foo@bar.com", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d61d08a68186f43bafea2", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -49087,9 +46818,6 @@ docs: Everything about your tickets "total_count": 0, "url": "/contacts/667d61d08a68186f43bafea2/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719493072, "social_profiles": { @@ -49168,7 +46896,6 @@ docs: Everything about your tickets "anonymous": true, "app_id": "this_is_an_id677_that_should_be_at_least_", "avatar": { - "image_url": "https://example.com/avatar.png", "type": "avatar", }, "companies": { @@ -49201,7 +46928,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61ce8a68186f43bafe9b", @@ -49217,11 +46943,6 @@ docs: Everything about your tickets "type": "location_data", }, "marked_email_as_spam": false, - "name": "Jane Doe", - "owner_id": "5169261", - "phone": "555-555-5555", - "pseudonym": "Red Duck from Dublin", - "referrer": "https://www.google.com/", "remote_created_at": 1719493070, "segments": { "segments": [ @@ -49250,11 +46971,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493070, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -49337,7 +47053,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -49354,10 +47069,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -49386,11 +47098,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -49438,7 +47145,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -49455,10 +47161,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -49487,11 +47190,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -49555,12 +47253,8 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 - name: Jane Doe - pseudonym: Red Duck from Dublin avatar: type: avatar - image_url: https://example.com/avatar.png app_id: this_is_an_id677_that_should_be_at_least_ companies: type: company.list @@ -49602,7 +47296,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -49617,13 +47310,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false updateVisitor: path: /visitors method: PUT @@ -49663,7 +47349,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -49711,7 +47396,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -49726,13 +47410,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false - name: visitor Not Found request: user_id: fail @@ -49744,7 +47421,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -49792,7 +47468,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -49807,13 +47482,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false convertVisitor: path: /visitors/convert method: POST @@ -49862,48 +47530,19 @@ service: body: type: contact id: 667d61d08a68186f43bafea2 - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id683_that_should_be_at_least_ role: user email: foo@bar.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719493072 updated_at: 1719493072 signed_up_at: 1719493072 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -49926,9 +47565,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile 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..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>", @@ -3758,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", @@ -3765,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", @@ -3791,6 +3851,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -3806,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", }, @@ -5671,6 +5733,7 @@ types: - type: PaginatedResultRoleRead source: openapi: ../openapi.json + inline: true ResourceRoleList: properties: roles: @@ -6163,6 +6226,7 @@ types: - integer source: openapi: ../openapi.json + inline: true ValidationError: properties: loc: @@ -8273,6 +8337,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -16344,6 +16409,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -18313,6 +18379,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -19476,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 8106b4ca053..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,6 +54,7 @@ "types": { "SearchRequestFilter": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "location": "optional", @@ -65,6 +66,7 @@ }, "SearchRequestFilterLocation": { "docs": undefined, + "inline": true, "properties": { "city": "optional", "coordinates": "optional", @@ -76,6 +78,7 @@ }, "SearchRequestFilterLocationCoordinates": { "docs": undefined, + "inline": true, "properties": { "latitude": "optional", "longitude": "optional", @@ -95,6 +98,7 @@ }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, @@ -111,6 +115,7 @@ longitude: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilterLocation: properties: city: optional @@ -118,6 +123,7 @@ coordinates: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilter: properties: name: optional 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 be2c6d41b94..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, @@ -10217,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.", @@ -10394,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", @@ -10427,6 +10524,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -10442,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", }, @@ -15796,6 +15895,7 @@ types: - type: KratosIdentity source: openapi: ../openapi.yml + inline: true KratosWebhookResponse: docs: |- Sourced from rawHookResponse in: @@ -16505,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 6390c88dce5..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": { @@ -1588,6 +1591,7 @@ }, "AcsCredentialErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -1609,6 +1613,7 @@ }, "AcsCredentialPool": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pool_id": { "type": "string", @@ -1656,6 +1661,7 @@ }, "AcsCredentialProvisioningAutomation": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -1701,6 +1707,7 @@ }, "AcsCredentialVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "card_function_type": "AcsCredentialVisionlineMetadataCardFunctionType", "common_acs_entrance_ids": "optional>", @@ -1722,6 +1729,7 @@ }, "AcsCredentialWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -1732,6 +1740,7 @@ }, "AcsEntrance": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance_id": { "type": "string", @@ -1763,6 +1772,7 @@ }, "AcsEntranceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -1773,6 +1783,7 @@ }, "AcsEntranceLatchMetadata": { "docs": undefined, + "inline": true, "properties": { "accessibility_type": "string", "door_name": "string", @@ -1785,6 +1796,7 @@ }, "AcsEntranceVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "door_category": "AcsEntranceVisionlineMetadataDoorCategory", "door_name": "string", @@ -1814,6 +1826,7 @@ }, "AcsEntranceVisionlineMetadataProfilesItem": { "docs": undefined, + "inline": true, "properties": { "visionline_door_profile_id": "string", "visionline_door_profile_type": "AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType", @@ -1834,6 +1847,7 @@ }, "AcsSystem": { "docs": undefined, + "inline": undefined, "properties": { "acs_system_id": { "type": "string", @@ -1903,6 +1917,7 @@ }, "AcsSystemErrorsItemSeamBridgeDisconnected": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -1913,6 +1928,7 @@ }, "AcsSystemErrorsItemVisionlineInstanceUnreachable": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -1958,6 +1974,7 @@ }, "AcsSystemWarningsItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1965,6 +1982,7 @@ }, "AcsUser": { "docs": undefined, + "inline": undefined, "properties": { "access_schedule": "optional", "acs_system_id": { @@ -2044,6 +2062,7 @@ }, "AcsUserAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -2068,6 +2087,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -2193,6 +2213,7 @@ }, "ActionAttemptActionAttemptId": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2220,6 +2241,7 @@ }, "ActionAttemptActionAttemptIdError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2230,6 +2252,7 @@ }, "ActionAttemptEight": { "docs": "Resetting sandbox workspace failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2257,6 +2280,7 @@ }, "ActionAttemptEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2267,6 +2291,7 @@ }, "ActionAttemptEighteen": { "docs": "Setting fan mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2294,6 +2319,7 @@ }, "ActionAttemptEleven": { "docs": "Setting HVAC to cool failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2321,6 +2347,7 @@ }, "ActionAttemptElevenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2331,6 +2358,7 @@ }, "ActionAttemptFifteen": { "docs": "Setting HVAC to heat-cool mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2358,6 +2386,7 @@ }, "ActionAttemptFive": { "docs": "Unlocking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2385,6 +2414,7 @@ }, "ActionAttemptFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2395,6 +2425,7 @@ }, "ActionAttemptForty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2422,6 +2453,7 @@ }, "ActionAttemptFortyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2449,6 +2481,7 @@ }, "ActionAttemptFortyOneError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2459,6 +2492,7 @@ }, "ActionAttemptFortyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2486,6 +2520,7 @@ }, "ActionAttemptFortyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2513,6 +2548,7 @@ }, "ActionAttemptFour": { "docs": "Unlocking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2540,6 +2576,7 @@ }, "ActionAttemptFourResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2547,6 +2584,7 @@ }, "ActionAttemptFourteen": { "docs": "Setting HVAC to heat mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2574,6 +2612,7 @@ }, "ActionAttemptFourteenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2584,6 +2623,7 @@ }, "ActionAttemptNine": { "docs": "Setting HVAC to cool.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2611,6 +2651,7 @@ }, "ActionAttemptNineteen": { "docs": "Setting fan mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2638,6 +2679,7 @@ }, "ActionAttemptNineteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2645,6 +2687,7 @@ }, "ActionAttemptOne": { "docs": "Locking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2672,6 +2715,7 @@ }, "ActionAttemptOneResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2679,6 +2723,7 @@ }, "ActionAttemptSeven": { "docs": "Resetting sandbox workspace succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2706,6 +2751,7 @@ }, "ActionAttemptSevenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2713,6 +2759,7 @@ }, "ActionAttemptSeventeen": { "docs": "Setting heat-cool mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2740,6 +2787,7 @@ }, "ActionAttemptSeventeenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2750,6 +2798,7 @@ }, "ActionAttemptSix": { "docs": "Resetting sandbox workspace.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2777,6 +2826,7 @@ }, "ActionAttemptSixteen": { "docs": "Setting HVAC to heat-cool mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2804,6 +2854,7 @@ }, "ActionAttemptSixteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2811,6 +2862,7 @@ }, "ActionAttemptTen": { "docs": "Setting HVAC to cool succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2838,6 +2890,7 @@ }, "ActionAttemptTenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2845,6 +2898,7 @@ }, "ActionAttemptThirteen": { "docs": "Setting HVAC to heat mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2872,6 +2926,7 @@ }, "ActionAttemptThirteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2879,6 +2934,7 @@ }, "ActionAttemptThirty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2906,6 +2962,7 @@ }, "ActionAttemptThirtyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2933,6 +2990,7 @@ }, "ActionAttemptThirtyEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2943,6 +3001,7 @@ }, "ActionAttemptThirtyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2970,6 +3029,7 @@ }, "ActionAttemptThirtyFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2980,6 +3040,7 @@ }, "ActionAttemptThirtyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3007,6 +3068,7 @@ }, "ActionAttemptThirtyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3034,6 +3096,7 @@ }, "ActionAttemptThirtyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3061,6 +3124,7 @@ }, "ActionAttemptThirtySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3088,6 +3152,7 @@ }, "ActionAttemptThirtySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3115,6 +3180,7 @@ }, "ActionAttemptThirtyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3142,6 +3208,7 @@ }, "ActionAttemptThirtyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3169,6 +3236,7 @@ }, "ActionAttemptThirtyTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3179,6 +3247,7 @@ }, "ActionAttemptThree": { "docs": "Unlocking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3206,6 +3275,7 @@ }, "ActionAttemptTwelve": { "docs": "Setting HVAC to heat mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3233,6 +3303,7 @@ }, "ActionAttemptTwenty": { "docs": "Setting fan mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3260,6 +3331,7 @@ }, "ActionAttemptTwentyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3287,6 +3359,7 @@ }, "ActionAttemptTwentyError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3297,6 +3370,7 @@ }, "ActionAttemptTwentyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3324,6 +3398,7 @@ }, "ActionAttemptTwentyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3351,6 +3426,7 @@ }, "ActionAttemptTwentyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3378,6 +3454,7 @@ }, "ActionAttemptTwentyNineError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3388,6 +3465,7 @@ }, "ActionAttemptTwentyOne": { "docs": "Turning HVAC off.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3415,6 +3493,7 @@ }, "ActionAttemptTwentySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3442,6 +3521,7 @@ }, "ActionAttemptTwentySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3469,6 +3549,7 @@ }, "ActionAttemptTwentySixError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3479,6 +3560,7 @@ }, "ActionAttemptTwentyThree": { "docs": "Turning HVAC off failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3506,6 +3588,7 @@ }, "ActionAttemptTwentyThreeError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3516,6 +3599,7 @@ }, "ActionAttemptTwentyTwo": { "docs": "Turning HVAC off succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3543,6 +3627,7 @@ }, "ActionAttemptTwentyTwoResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3550,6 +3635,7 @@ }, "ActionAttemptTwo": { "docs": "Locking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3577,6 +3663,7 @@ }, "ActionAttemptTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3587,6 +3674,7 @@ }, "ActionAttemptZero": { "docs": "Locking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3614,6 +3702,7 @@ }, "ClientSession": { "docs": undefined, + "inline": undefined, "properties": { "client_session_id": { "type": "string", @@ -3647,6 +3736,7 @@ }, "ClimateSettingSchedule": { "docs": undefined, + "inline": undefined, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -3698,6 +3788,7 @@ }, "ConnectWebview": { "docs": undefined, + "inline": undefined, "properties": { "accepted_devices": { "docs": " @@ -3789,6 +3880,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3819,6 +3911,7 @@ }, "ConnectedAccount": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "optional", "account_type_display_name": "string", @@ -3846,6 +3939,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3856,6 +3950,7 @@ }, "ConnectedAccountUserIdentifier": { "docs": undefined, + "inline": true, "properties": { "api_url": "optional", "email": "optional", @@ -3869,6 +3964,7 @@ }, "Device": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -3970,6 +4066,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -4021,6 +4118,7 @@ }, "DeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -4031,6 +4129,7 @@ }, "DeviceLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -4047,6 +4146,7 @@ }, "DeviceProperties": { "docs": "Properties of the device.", + "inline": true, "properties": { "_experimental_supported_code_from_access_codes_lengths": "optional>", "accessory_keypad": { @@ -4183,6 +4283,7 @@ }, "DevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", @@ -4199,6 +4300,7 @@ }, "DevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -4217,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.", @@ -4229,6 +4332,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -4239,6 +4343,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -4249,6 +4354,7 @@ }, "DevicePropertiesAugustMetadata": { "docs": undefined, + "inline": true, "properties": { "has_keypad": "boolean", "house_id": "optional", @@ -4264,6 +4370,7 @@ }, "DevicePropertiesAvigilonAltaMetadata": { "docs": undefined, + "inline": true, "properties": { "entry_name": "string", "entry_relays_total_count": "double", @@ -4279,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", @@ -4309,6 +4417,7 @@ }, "DevicePropertiesBrivoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", }, @@ -4320,6 +4429,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -4330,6 +4440,7 @@ }, "DevicePropertiesCodeConstraintsItemMaxLength": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemMaxLengthConstraintType", "max_length": "optional", @@ -4350,6 +4461,7 @@ }, "DevicePropertiesCodeConstraintsItemZero": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemZeroConstraintType", }, @@ -4375,6 +4487,7 @@ }, "DevicePropertiesControlbywebMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4386,6 +4499,7 @@ }, "DevicePropertiesDormakabaOracodeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "optional", "door_id": "double", @@ -4402,6 +4516,7 @@ }, "DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem": { "docs": undefined, + "inline": true, "properties": { "check_in_time": "string", "check_out_time": "string", @@ -4428,6 +4543,7 @@ }, "DevicePropertiesEcobeeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "ecobee_device_id": "string", @@ -4438,6 +4554,7 @@ }, "DevicePropertiesFourSuitesMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -4449,6 +4566,7 @@ }, "DevicePropertiesGenieMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "door_name": "string", @@ -4459,6 +4577,7 @@ }, "DevicePropertiesHoneywellResideoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "honeywell_resideo_device_id": "string", @@ -4469,6 +4588,7 @@ }, "DevicePropertiesHubitatMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_label": "string", @@ -4480,6 +4600,7 @@ }, "DevicePropertiesIglooMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "string", "device_id": "string", @@ -4491,6 +4612,7 @@ }, "DevicePropertiesIgloohomeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "optional", "bridge_name": "optional", @@ -4504,6 +4626,7 @@ }, "DevicePropertiesKeypadBattery": { "docs": undefined, + "inline": true, "properties": { "level": "double", }, @@ -4513,6 +4636,7 @@ }, "DevicePropertiesKwiksetMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4524,6 +4648,7 @@ }, "DevicePropertiesLocklyMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4535,6 +4660,7 @@ }, "DevicePropertiesMinutMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4546,6 +4672,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValues": { "docs": undefined, + "inline": true, "properties": { "accelerometer_z": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", "humidity": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", @@ -4559,6 +4686,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4569,6 +4697,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesHumidity": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4579,6 +4708,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesPressure": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4589,6 +4719,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesSound": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4599,6 +4730,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesTemperature": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4609,6 +4741,7 @@ }, "DevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -4649,6 +4782,7 @@ }, "DevicePropertiesNestMetadata": { "docs": undefined, + "inline": true, "properties": { "custom_name": "string", "device_name": "string", @@ -4660,6 +4794,7 @@ }, "DevicePropertiesNoiseawareMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_model": "DevicePropertiesNoiseawareMetadataDeviceModel", @@ -4682,6 +4817,7 @@ }, "DevicePropertiesNukiMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4695,6 +4831,7 @@ }, "DevicePropertiesSaltoMetadata": { "docs": undefined, + "inline": true, "properties": { "battery_level": "string", "customer_reference": "string", @@ -4709,6 +4846,7 @@ }, "DevicePropertiesSchlageMetadata": { "docs": undefined, + "inline": true, "properties": { "access_code_length": "optional", "device_id": "string", @@ -4721,6 +4859,7 @@ }, "DevicePropertiesSeamBridgeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_num": "double", "name": "string", @@ -4741,6 +4880,7 @@ }, "DevicePropertiesSmartthingsMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4753,6 +4893,7 @@ }, "DevicePropertiesTedeeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "double", "bridge_name": "string", @@ -4768,6 +4909,7 @@ }, "DevicePropertiesTtlockMetadata": { "docs": undefined, + "inline": true, "properties": { "feature_value": "string", "lock_alias": "string", @@ -4779,6 +4921,7 @@ }, "DevicePropertiesTwoNMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -4789,6 +4932,7 @@ }, "DevicePropertiesWyzeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_info_model": "string", @@ -4805,6 +4949,7 @@ }, "DeviceProvider": { "docs": undefined, + "inline": undefined, "properties": { "device_provider_name": "DeviceProviderDeviceProviderName", "display_name": "string", @@ -4873,6 +5018,7 @@ }, "DeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -4883,6 +5029,7 @@ }, "EnrollmentAutomation": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "credential_manager_acs_system_id": { @@ -4928,6 +5075,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_id": { "type": "optional", @@ -5020,6 +5168,7 @@ }, "Network": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": "string", @@ -5048,6 +5197,7 @@ }, "NoiseThreshold": { "docs": undefined, + "inline": undefined, "properties": { "device_id": { "type": "string", @@ -5079,6 +5229,7 @@ }, "Phone": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -5164,6 +5315,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -5183,6 +5335,7 @@ }, "PhoneErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -5193,6 +5346,7 @@ }, "PhoneLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -5209,6 +5363,7 @@ }, "PhoneProperties": { "docs": undefined, + "inline": true, "properties": { "assa_abloy_credential_service_metadata": "optional", }, @@ -5218,6 +5373,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -5228,6 +5384,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -5238,6 +5395,7 @@ }, "PhoneWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -5248,6 +5406,7 @@ }, "ServiceHealth": { "docs": undefined, + "inline": undefined, "properties": { "description": "string", "service": "string", @@ -5269,6 +5428,7 @@ }, "UnmanagedAccessCode": { "docs": undefined, + "inline": undefined, "properties": { "access_code_id": { "docs": "Unique identifier for the access code.", @@ -5335,6 +5495,7 @@ }, "UnmanagedDevice": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -5456,6 +5617,7 @@ }, "UnmanagedDeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -5466,6 +5628,7 @@ }, "UnmanagedDeviceProperties": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad": { "docs": "Represents the accessory keypad state.", @@ -5533,6 +5696,7 @@ }, "UnmanagedDevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", @@ -5549,6 +5713,7 @@ }, "UnmanagedDevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -5567,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", @@ -5597,6 +5763,7 @@ }, "UnmanagedDevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -5637,6 +5804,7 @@ }, "UnmanagedDeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -5647,6 +5815,7 @@ }, "UserIdentity": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": { @@ -5711,6 +5880,7 @@ }, "Webhook": { "docs": undefined, + "inline": undefined, "properties": { "event_types": "optional>", "secret": "optional", @@ -5723,6 +5893,7 @@ }, "Workspace": { "docs": undefined, + "inline": undefined, "properties": { "company_name": "string", "connect_partner_name": { @@ -6957,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: @@ -6981,12 +7154,14 @@ types: 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: @@ -7007,6 +7182,7 @@ types: error: ActionAttemptTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThree: docs: Unlocking door. properties: @@ -7027,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: @@ -7051,12 +7229,14 @@ types: 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: @@ -7077,6 +7257,7 @@ types: error: ActionAttemptFiveError source: openapi: ../openapi.json + inline: true ActionAttemptSix: docs: Resetting sandbox workspace. properties: @@ -7097,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: @@ -7121,12 +7304,14 @@ types: 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: @@ -7147,6 +7332,7 @@ types: error: ActionAttemptEightError source: openapi: ../openapi.json + inline: true ActionAttemptNine: docs: Setting HVAC to cool. properties: @@ -7167,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: @@ -7191,12 +7379,14 @@ types: 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: @@ -7217,6 +7407,7 @@ types: error: ActionAttemptElevenError source: openapi: ../openapi.json + inline: true ActionAttemptTwelve: docs: Setting HVAC to heat mode. properties: @@ -7237,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: @@ -7261,12 +7454,14 @@ types: 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: @@ -7287,6 +7482,7 @@ types: error: ActionAttemptFourteenError source: openapi: ../openapi.json + inline: true ActionAttemptFifteen: docs: Setting HVAC to heat-cool mode. properties: @@ -7307,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: @@ -7331,12 +7529,14 @@ types: 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: @@ -7357,6 +7557,7 @@ types: error: ActionAttemptSeventeenError source: openapi: ../openapi.json + inline: true ActionAttemptEighteen: docs: Setting fan mode. properties: @@ -7377,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: @@ -7401,12 +7604,14 @@ types: 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: @@ -7427,6 +7632,7 @@ types: error: ActionAttemptTwentyError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyOne: docs: Turning HVAC off. properties: @@ -7447,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: @@ -7471,12 +7679,14 @@ types: 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: @@ -7497,6 +7707,7 @@ types: error: ActionAttemptTwentyThreeError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFour: properties: action_attempt_id: @@ -7516,6 +7727,7 @@ types: action_type: literal<"SYNC_ACCESS_CODES"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFive: properties: action_attempt_id: @@ -7535,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: @@ -7560,6 +7774,7 @@ types: error: ActionAttemptTwentySixError source: openapi: ../openapi.json + inline: true ActionAttemptTwentySeven: properties: action_attempt_id: @@ -7579,6 +7794,7 @@ types: action_type: literal<"CREATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyEight: properties: action_attempt_id: @@ -7598,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: @@ -7623,6 +7841,7 @@ types: error: ActionAttemptTwentyNineError source: openapi: ../openapi.json + inline: true ActionAttemptThirty: properties: action_attempt_id: @@ -7642,6 +7861,7 @@ types: action_type: literal<"DELETE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyOne: properties: action_attempt_id: @@ -7661,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: @@ -7686,6 +7908,7 @@ types: error: ActionAttemptThirtyTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyThree: properties: action_attempt_id: @@ -7705,6 +7928,7 @@ types: action_type: literal<"UPDATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFour: properties: action_attempt_id: @@ -7724,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: @@ -7749,6 +7975,7 @@ types: error: ActionAttemptThirtyFiveError source: openapi: ../openapi.json + inline: true ActionAttemptThirtySix: properties: action_attempt_id: @@ -7768,6 +7995,7 @@ types: action_type: literal<"CREATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtySeven: properties: action_attempt_id: @@ -7787,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: @@ -7812,6 +8042,7 @@ types: error: ActionAttemptThirtyEightError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyNine: properties: action_attempt_id: @@ -7831,6 +8062,7 @@ types: action_type: literal<"DELETE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptForty: properties: action_attempt_id: @@ -7850,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: @@ -7875,6 +8109,7 @@ types: error: ActionAttemptFortyOneError source: openapi: ../openapi.json + inline: true ActionAttemptFortyTwo: properties: action_attempt_id: @@ -7894,6 +8129,7 @@ types: action_type: literal<"UPDATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptFortyThree: properties: action_attempt_id: @@ -7913,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: @@ -7938,6 +8176,7 @@ types: error: ActionAttemptActionAttemptIdError source: openapi: ../openapi.json + inline: true ActionAttempt: discriminated: false union: @@ -8086,6 +8325,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectWebview: properties: connect_webview_id: @@ -8150,6 +8390,7 @@ types: exclusive: optional source: openapi: ../openapi.json + inline: true ConnectedAccountCustomMetadataValue: discriminated: false union: @@ -8157,6 +8398,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccount: properties: connected_account_id: @@ -8231,6 +8473,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true DevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -8242,6 +8485,7 @@ types: docs: Indicates if the keypad battery properties. source: openapi: ../openapi.json + inline: true DevicePropertiesAppearance: properties: name: @@ -8251,6 +8495,7 @@ types: settable through Seam. source: openapi: ../openapi.json + inline: true DevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -8283,6 +8528,7 @@ types: source: openapi: ../openapi.json + inline: true DevicePropertiesBatteryStatus: enum: - critical @@ -8309,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 @@ -8332,6 +8581,7 @@ types: house_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesAvigilonAltaMetadata: properties: entry_name: string @@ -8343,6 +8593,7 @@ types: entry_relays_total_count: double source: openapi: ../openapi.json + inline: true DevicePropertiesSchlageMetadata: properties: device_id: string @@ -8351,6 +8602,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesSmartthingsMetadata: properties: device_id: string @@ -8359,6 +8611,7 @@ types: location_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesLocklyMetadata: properties: device_id: string @@ -8366,6 +8619,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNukiMetadata: properties: device_id: string @@ -8375,6 +8629,7 @@ types: keypad_2_paired: optional source: openapi: ../openapi.json + inline: true DevicePropertiesKwiksetMetadata: properties: device_id: string @@ -8382,6 +8637,7 @@ types: model_number: string source: openapi: ../openapi.json + inline: true DevicePropertiesSaltoMetadata: properties: lock_id: string @@ -8392,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 @@ -8410,6 +8669,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNoiseawareMetadataDeviceModel: enum: - indoor @@ -8425,36 +8685,42 @@ 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: DevicePropertiesMinutMetadataLatestSensorValuesTemperature @@ -8464,6 +8730,7 @@ types: accelerometer_z: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadata: properties: device_id: string @@ -8471,6 +8738,7 @@ types: latest_sensor_values: DevicePropertiesMinutMetadataLatestSensorValues source: openapi: ../openapi.json + inline: true DevicePropertiesFourSuitesMetadata: properties: device_id: double @@ -8478,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 @@ -8491,6 +8761,7 @@ types: relay_name: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTtlockMetadata: properties: lock_id: double @@ -8498,6 +8769,7 @@ types: feature_value: string source: openapi: ../openapi.json + inline: true DevicePropertiesSeamBridgeMetadataUnlockMethod: enum: - bridge @@ -8511,6 +8783,7 @@ types: name: string source: openapi: ../openapi.json + inline: true DevicePropertiesIgloohomeMetadata: properties: device_id: string @@ -8520,6 +8793,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNestMetadata: properties: nest_device_id: string @@ -8527,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 @@ -8546,6 +8823,7 @@ types: device_label: string source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem: properties: name: string @@ -8563,6 +8841,7 @@ types: format: uuid source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadata: properties: door_id: double @@ -8576,6 +8855,7 @@ types: optional> source: openapi: ../openapi.json + inline: true DevicePropertiesWyzeMetadata: properties: device_id: string @@ -8588,6 +8868,7 @@ types: locker_status_hardlock: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTedeeMetadata: properties: device_id: double @@ -8599,6 +8880,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemZeroConstraintType: enum: - no_zeros @@ -8617,6 +8899,7 @@ types: constraint_type: DevicePropertiesCodeConstraintsItemZeroConstraintType source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemMaxLengthConstraintType: enum: - name_length @@ -8630,6 +8913,7 @@ types: max_length: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItem: discriminated: false union: @@ -8637,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: @@ -8770,6 +9056,7 @@ types: door_open: optional source: openapi: ../openapi.json + inline: true DeviceLocation: docs: Location information for the device. properties: @@ -8781,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: @@ -8800,6 +9090,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Device: properties: device_id: @@ -8937,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: @@ -8953,6 +9246,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -8964,6 +9258,7 @@ types: docs: Indicates if the keypad battery properties. source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesBatteryStatus: enum: - critical @@ -8990,6 +9285,7 @@ types: status: UnmanagedDevicePropertiesBatteryStatus source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -9022,6 +9318,7 @@ types: source: openapi: ../openapi.json + inline: true UnmanagedDeviceProperties: properties: accessory_keypad: @@ -9082,6 +9379,7 @@ types: model: UnmanagedDevicePropertiesModel source: openapi: ../openapi.json + inline: true UnmanagedDevice: properties: device_id: @@ -9342,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: {} @@ -9360,6 +9660,7 @@ types: properties: {} source: openapi: ../openapi.json + inline: true AcsSystem: properties: acs_system_id: @@ -9475,6 +9776,7 @@ types: ends_at: datetime source: openapi: ../openapi.json + inline: true AcsUser: properties: acs_user_id: @@ -9527,6 +9829,7 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsEntranceLatchMetadata: properties: accessibility_type: string @@ -9535,6 +9838,7 @@ types: is_connected: boolean source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadataDoorCategory: enum: - entrance @@ -9559,6 +9863,7 @@ types: visionline_door_profile_type: AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadata: properties: door_name: string @@ -9566,6 +9871,7 @@ types: profiles: optional> source: openapi: ../openapi.json + inline: true AcsEntrance: properties: acs_system_id: @@ -9648,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 @@ -9668,6 +9976,7 @@ types: common_acs_entrance_ids: optional> source: openapi: ../openapi.json + inline: true AcsCredential: properties: acs_credential_id: @@ -9756,17 +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: optional source: openapi: ../openapi.json + inline: true PhoneLocation: docs: Location information for the device. properties: @@ -9778,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: @@ -9797,6 +10112,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Phone: properties: device_id: @@ -10691,6 +11007,7 @@ types: }, "AccessCodesCreateMultipleResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -10725,6 +11042,7 @@ types: }, "AccessCodesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "action_attempt": "root.ActionAttempt", @@ -10736,6 +11054,7 @@ types: }, "AccessCodesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -10746,6 +11065,7 @@ types: }, "AccessCodesGenerateCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "generated_code": "root.AccessCode", "ok": "boolean", @@ -10756,6 +11076,7 @@ types: }, "AccessCodesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "ok": "boolean", @@ -10766,6 +11087,7 @@ types: }, "AccessCodesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -10776,6 +11098,7 @@ types: }, "AccessCodesPullBackupAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "backup_access_code": "root.AccessCode", "ok": "boolean", @@ -10819,6 +11142,7 @@ types: }, "AccessCodesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -11527,6 +11851,7 @@ service: "types": { "SimulateCreateUnmanagedAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -11952,6 +12277,7 @@ service: "types": { "UnmanagedConvertToManagedResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -11961,6 +12287,7 @@ service: }, "UnmanagedDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -11971,6 +12298,7 @@ service: }, "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -11981,6 +12309,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -11991,6 +12320,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12590,6 +12920,7 @@ service: "types": { "AccessGroupsAddUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12599,6 +12930,7 @@ service: }, "AccessGroupsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_group": "root.AcsAccessGroup", "ok": "boolean", @@ -12609,6 +12941,7 @@ service: }, "AccessGroupsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_groups": "list", "ok": "boolean", @@ -12619,6 +12952,7 @@ service: }, "AccessGroupsListUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -12629,6 +12963,7 @@ service: }, "AccessGroupsRemoveUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12957,6 +13292,7 @@ service: "types": { "CredentialPoolsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pools": "list", "ok": "boolean", @@ -13127,6 +13463,7 @@ service: "types": { "CredentialProvisioningAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation": "root.AcsCredentialProvisioningAutomation", "ok": "boolean", @@ -13948,6 +14285,7 @@ service: "types": { "CredentialsAssignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -13968,6 +14306,7 @@ service: }, "CredentialsCreateRequestVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "assa_abloy_credential_service_mobile_endpoint_id": { "type": "optional", @@ -14019,6 +14358,7 @@ service: }, "CredentialsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14029,6 +14369,7 @@ service: }, "CredentialsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14038,6 +14379,7 @@ service: }, "CredentialsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14048,6 +14390,7 @@ service: }, "CredentialsListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -14058,6 +14401,7 @@ service: }, "CredentialsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -14068,6 +14412,7 @@ service: }, "CredentialsUnassignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14078,6 +14423,7 @@ service: }, "CredentialsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14139,6 +14485,7 @@ types: joiner_acs_credential_ids: optional> source: openapi: ../openapi.json + inline: true CredentialsCreateResponse: properties: acs_credential: root.AcsCredential @@ -14974,6 +15321,7 @@ service: "types": { "EntrancesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance": "root.AcsEntrance", "ok": "boolean", @@ -14984,6 +15332,7 @@ service: }, "EntrancesGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14993,6 +15342,7 @@ service: }, "EntrancesListCredentialsWithAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -15003,6 +15353,7 @@ service: }, "EntrancesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -15495,6 +15846,7 @@ service: "types": { "SystemsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_system": "root.AcsSystem", "ok": "boolean", @@ -15505,6 +15857,7 @@ service: }, "SystemsListCompatibleCredentialManagerAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -15515,6 +15868,7 @@ service: }, "SystemsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -16489,6 +16843,7 @@ service: "types": { "UsersAddToAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16498,6 +16853,7 @@ service: }, "UsersCreateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -16508,6 +16864,7 @@ service: }, "UsersCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -16518,6 +16875,7 @@ service: }, "UsersDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16527,6 +16885,7 @@ service: }, "UsersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -16537,6 +16896,7 @@ service: }, "UsersListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -16547,6 +16907,7 @@ service: }, "UsersListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -16557,6 +16918,7 @@ service: }, "UsersRemoveFromAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16566,6 +16928,7 @@ service: }, "UsersRevokeAccessToAllEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16575,6 +16938,7 @@ service: }, "UsersSuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16584,6 +16948,7 @@ service: }, "UsersUnsuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16593,6 +16958,7 @@ service: }, "UsersUpdateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -16603,6 +16969,7 @@ service: }, "UsersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16624,6 +16991,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersCreateResponse: properties: acs_user: root.AcsUser @@ -16679,6 +17047,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersUpdateResponse: properties: ok: boolean @@ -17275,6 +17644,7 @@ service: "types": { "ActionAttemptsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -17285,6 +17655,7 @@ service: }, "ActionAttemptsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempts": "list", "ok": "boolean", @@ -17835,6 +18206,7 @@ service: "types": { "ClientSessionsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -17845,6 +18217,7 @@ service: }, "ClientSessionsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -17854,6 +18227,7 @@ service: }, "ClientSessionsGetOrCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -17864,6 +18238,7 @@ service: }, "ClientSessionsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -17874,6 +18249,7 @@ service: }, "ClientSessionsGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -17884,6 +18260,7 @@ service: }, "ClientSessionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_sessions": "list", "ok": "boolean", @@ -17894,6 +18271,7 @@ service: }, "ClientSessionsRevokeResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18580,6 +18958,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18622,6 +19001,7 @@ service: }, "ConnectWebviewsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -18632,6 +19012,7 @@ service: }, "ConnectWebviewsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18641,6 +19022,7 @@ service: }, "ConnectWebviewsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -18653,6 +19035,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18663,6 +19046,7 @@ service: }, "ConnectWebviewsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webviews": "list", "ok": "boolean", @@ -18745,6 +19129,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectWebviewsCreateResponse: properties: connect_webview: root.ConnectWebview @@ -18769,6 +19154,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectWebviewsListResponse: properties: connect_webviews: list @@ -19256,6 +19642,7 @@ service: "types": { "ConnectedAccountsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19267,6 +19654,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -19277,6 +19665,7 @@ service: }, "ConnectedAccountsGetRequestConnectedAccountId": { "docs": undefined, + "inline": true, "properties": { "connected_account_id": { "type": "string", @@ -19294,6 +19683,7 @@ service: }, "ConnectedAccountsGetRequestEmail": { "docs": undefined, + "inline": true, "properties": { "email": { "type": "string", @@ -19311,6 +19701,7 @@ service: }, "ConnectedAccountsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -19323,6 +19714,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19333,6 +19725,7 @@ service: }, "ConnectedAccountsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_accounts": "list", "ok": "boolean", @@ -19345,6 +19738,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19364,6 +19758,7 @@ service: }, "ConnectedAccountsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -19388,6 +19783,7 @@ service: format: uuid source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequestEmail: properties: email: @@ -19396,6 +19792,7 @@ service: format: email source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequest: discriminated: false union: @@ -19416,6 +19813,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccountsListResponse: properties: connected_accounts: list @@ -19432,6 +19830,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectedAccountsUpdateResponse: properties: connected_account: root.ConnectedAccount @@ -20219,6 +20618,7 @@ service: "types": { "DevicesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -20228,6 +20628,7 @@ service: }, "DevicesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "ok": "boolean", @@ -20250,6 +20651,7 @@ service: }, "DevicesListDeviceProvidersResponse": { "docs": undefined, + "inline": undefined, "properties": { "device_providers": "list", "ok": "boolean", @@ -20262,6 +20664,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -20421,6 +20824,7 @@ service: }, "DevicesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -20433,6 +20837,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -20452,6 +20857,7 @@ service: }, "DevicesUpdateRequestProperties": { "docs": undefined, + "inline": true, "properties": { "name": "optional", }, @@ -20461,6 +20867,7 @@ service: }, "DevicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -20601,6 +21008,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true DevicesListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -20649,6 +21057,7 @@ service: name: optional source: openapi: ../openapi.json + inline: true DevicesUpdateRequestCustomMetadataValue: discriminated: false union: @@ -20659,6 +21068,7 @@ service: - optional source: openapi: ../openapi.json + inline: true DevicesUpdateResponse: properties: ok: boolean @@ -21244,6 +21654,7 @@ service: "types": { "SimulateConnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -21253,6 +21664,7 @@ service: }, "SimulateDisconnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -21262,6 +21674,7 @@ service: }, "SimulateRemoveResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -21668,6 +22081,7 @@ service: "types": { "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.UnmanagedDevice", "ok": "boolean", @@ -21680,6 +22094,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -21839,6 +22254,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -21849,6 +22265,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -21986,6 +22403,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true UnmanagedListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -22386,6 +22804,7 @@ service: "types": { "EventsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "event": "optional", "message": "optional", @@ -22399,6 +22818,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -22887,6 +23307,7 @@ service: }, "EventsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "events": "list", "ok": "boolean", @@ -22914,6 +23335,7 @@ types: - datetime source: openapi: ../openapi.json + inline: true EventsListRequestEventType: enum: - value: device.accessory_keypad_connected @@ -24144,6 +24566,7 @@ service: "types": { "LocksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "lock": "root.Device", @@ -24157,6 +24580,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -24316,6 +24740,7 @@ service: }, "LocksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "locks": "list", @@ -24327,6 +24752,7 @@ service: }, "LocksLockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -24337,6 +24763,7 @@ service: }, "LocksUnlockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -24476,6 +24903,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true LocksListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -25258,6 +25686,7 @@ service: "types": { "NetworksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "network": "root.Network", "ok": "boolean", @@ -25268,6 +25697,7 @@ service: }, "NetworksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "networks": "list", "ok": "boolean", @@ -25735,6 +26165,7 @@ service: "types": { "NoiseThresholdsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "noise_threshold": "root.NoiseThreshold", @@ -25746,6 +26177,7 @@ service: }, "NoiseThresholdsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25756,6 +26188,7 @@ service: }, "NoiseThresholdsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_threshold": "root.NoiseThreshold", "ok": "boolean", @@ -25766,6 +26199,7 @@ service: }, "NoiseThresholdsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_thresholds": "list", "ok": "boolean", @@ -25776,6 +26210,7 @@ service: }, "NoiseThresholdsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -26114,6 +26549,7 @@ service: "types": { "SimulateTriggerNoiseThresholdResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -26315,6 +26751,7 @@ service: "types": { "PhonesDeactivateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -26324,6 +26761,7 @@ service: }, "PhonesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phones": "list", @@ -26557,6 +26995,7 @@ service: "types": { "SimulateCreateSandboxPhoneRequestAssaAbloyMetadata": { "docs": undefined, + "inline": true, "properties": { "application_version": { "default": "1.0.0", @@ -26589,6 +27028,7 @@ service: }, "SimulateCreateSandboxPhoneRequestPhoneMetadata": { "docs": undefined, + "inline": true, "properties": { "device_manufacturer": { "default": "Samsung", @@ -26623,6 +27063,7 @@ service: }, "SimulateCreateSandboxPhoneResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phone": "root.Phone", @@ -26658,6 +27099,7 @@ service: default: Samsung Galaxy S10 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneRequestAssaAbloyMetadata: properties: ble_capability: @@ -26680,6 +27122,7 @@ service: default: 1 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneResponse: properties: phone: root.Phone @@ -27584,6 +28027,7 @@ service: "types": { "ThermostatsCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -27594,6 +28038,7 @@ service: }, "ThermostatsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostat": "root.Device", @@ -27604,6 +28049,7 @@ service: }, "ThermostatsHeatCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -27614,6 +28060,7 @@ service: }, "ThermostatsHeatResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -27626,6 +28073,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -27785,6 +28233,7 @@ service: }, "ThermostatsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostats": "list", @@ -27795,6 +28244,7 @@ service: }, "ThermostatsOffResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -27823,6 +28273,7 @@ service: }, "ThermostatsSetFanModeResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -27833,6 +28284,7 @@ service: }, "ThermostatsUpdateRequestDefaultClimateSetting": { "docs": undefined, + "inline": true, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -27860,6 +28312,7 @@ service: }, "ThermostatsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28015,6 +28468,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ThermostatsListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -28087,6 +28541,7 @@ types: manual_override_allowed: optional source: openapi: ../openapi.json + inline: true ThermostatsUpdateResponse: properties: ok: boolean @@ -29031,6 +29486,7 @@ service: }, "ClimateSettingSchedulesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -29041,6 +29497,7 @@ service: }, "ClimateSettingSchedulesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -29050,6 +29507,7 @@ service: }, "ClimateSettingSchedulesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -29060,6 +29518,7 @@ service: }, "ClimateSettingSchedulesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedules": "list", "ok": "boolean", @@ -29081,6 +29540,7 @@ service: }, "ClimateSettingSchedulesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -30276,6 +30736,7 @@ service: "types": { "UserIdentitiesAddAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30285,6 +30746,7 @@ service: }, "UserIdentitiesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -30295,6 +30757,7 @@ service: }, "UserIdentitiesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30306,6 +30769,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -30316,6 +30780,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityId": { "docs": undefined, + "inline": true, "properties": { "user_identity_id": { "type": "string", @@ -30333,6 +30798,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityKey": { "docs": undefined, + "inline": true, "properties": { "user_identity_key": "string", }, @@ -30342,6 +30808,7 @@ service: }, "UserIdentitiesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -30352,6 +30819,7 @@ service: }, "UserIdentitiesGrantAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30361,6 +30829,7 @@ service: }, "UserIdentitiesListAccessibleDevicesResponse": { "docs": undefined, + "inline": undefined, "properties": { "accessible_devices": { "docs": " @@ -30379,6 +30848,7 @@ service: }, "UserIdentitiesListAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -30389,6 +30859,7 @@ service: }, "UserIdentitiesListAcsUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -30399,6 +30870,7 @@ service: }, "UserIdentitiesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identities": "list", @@ -30409,6 +30881,7 @@ service: }, "UserIdentitiesRemoveAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30418,6 +30891,7 @@ service: }, "UserIdentitiesRevokeAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30427,6 +30901,7 @@ service: }, "UserIdentitiesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30461,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: @@ -31334,6 +31811,7 @@ service: "types": { "EnrollmentAutomationsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -31343,6 +31821,7 @@ service: }, "EnrollmentAutomationsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automation": "root.EnrollmentAutomation", "ok": "boolean", @@ -31353,6 +31832,7 @@ service: }, "EnrollmentAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automation": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", "ok": "boolean", @@ -31363,6 +31843,7 @@ service: }, "EnrollmentAutomationsLaunchResponseEnrollmentAutomation": { "docs": undefined, + "inline": true, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -31417,6 +31898,7 @@ service: }, "EnrollmentAutomationsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automations": "list", "ok": "boolean", @@ -31464,6 +31946,7 @@ service: format: uuid source: openapi: ../openapi.json + inline: true EnrollmentAutomationsLaunchResponse: properties: enrollment_automation: EnrollmentAutomationsLaunchResponseEnrollmentAutomation @@ -31894,6 +32377,7 @@ service: "types": { "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -31904,6 +32388,7 @@ service: }, "WebhooksDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -31913,6 +32398,7 @@ service: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -31923,6 +32409,7 @@ service: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhooks": "list", @@ -31933,6 +32420,7 @@ service: }, "WebhooksUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -32329,6 +32817,7 @@ service: }, "WorkspacesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -32339,6 +32828,7 @@ service: }, "WorkspacesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -32349,6 +32839,7 @@ service: }, "WorkspacesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspaces": "list", @@ -32359,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 33b57d2f7cc..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,6 +5552,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "canAccessApi": { "availability": "deprecated", @@ -5619,6 +5623,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -5650,6 +5655,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The languages.", @@ -5665,6 +5671,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "editors": { "docs": "The configured UI editors.", @@ -5693,6 +5700,7 @@ }, "ArrayFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -5713,6 +5721,7 @@ }, "AssetChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -5728,6 +5737,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata.", @@ -5838,6 +5848,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "folderName": { "docs": "The folder name.", @@ -5876,6 +5887,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets folders.", @@ -5896,6 +5908,7 @@ }, "AssetMeta": { "docs": undefined, + "inline": undefined, "properties": { "isDuplicate": { "docs": "Indicates whether the asset is a duplicate.", @@ -5922,6 +5935,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "annotate": { "docs": "The script that is executed when annotating a content.", @@ -5977,6 +5991,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets.", @@ -5993,6 +6008,7 @@ }, "AssetsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -6087,6 +6103,7 @@ }, "AssignContributorDto": { "docs": undefined, + "inline": undefined, "properties": { "contributorId": { "docs": "The id or email of the user to add to the app.", @@ -6113,6 +6130,7 @@ }, "AzureQueueRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "connectionString": { "docs": "The connection string to the storage account.", @@ -6148,6 +6166,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "handledAssets": { "docs": "The number of handled assets.", @@ -6183,6 +6202,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The backups.", @@ -6205,6 +6225,7 @@ }, "BooleanFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "defaultValue": { "docs": "The default value for the field value.", @@ -6229,6 +6250,7 @@ }, "BulkResultDto": { "docs": undefined, + "inline": undefined, "properties": { "contentId": { "availability": "deprecated", @@ -6265,6 +6287,7 @@ }, "BulkUpdateAssetsJobDto": { "docs": undefined, + "inline": undefined, "properties": { "expectedVersion": { "docs": "The expected version.", @@ -6328,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.", @@ -6380,6 +6404,7 @@ }, "CallsUsageDtoDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedBytes": { "docs": "The included API traffic.", @@ -6424,6 +6449,7 @@ }, "CallsUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "averageElapsedMs": { "docs": "The average duration in milliseconds.", @@ -6454,6 +6480,7 @@ }, "ChangePlanDto": { "docs": undefined, + "inline": undefined, "properties": { "planId": { "docs": "The new plan id.", @@ -6475,6 +6502,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "allowAnonymous": { "docs": "True to allow anonymous access without an access token for this client.", @@ -6514,6 +6542,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The clients.", @@ -6526,6 +6555,7 @@ }, "CommentDto": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the comment.", @@ -6560,6 +6590,7 @@ }, "CommentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -6582,6 +6613,7 @@ }, "CommentRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -6594,6 +6626,7 @@ }, "CommentsDto": { "docs": undefined, + "inline": undefined, "properties": { "createdComments": { "docs": "The created comments including the updates.", @@ -6618,6 +6651,7 @@ }, "ComponentFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "schemaIds": { "docs": "The ID of the embedded schemas.", @@ -6630,6 +6664,7 @@ }, "ComponentsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -6655,6 +6690,7 @@ "ConfigurePreviewUrlsDto": "map", "ContentChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "handleAll": { "docs": "Determines whether the trigger should handle all content changes events.", @@ -6679,6 +6715,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The date and time when the content item has been created.", @@ -6764,6 +6801,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The content items.", @@ -6787,6 +6825,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "contributorEmail": { "docs": "The email address.", @@ -6814,6 +6853,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata to provide information about this request.", @@ -6834,6 +6874,7 @@ }, "ContributorsMetadata": { "docs": undefined, + "inline": undefined, "properties": { "isInvited": { "docs": "Indicates whether the user has been invited.", @@ -6846,6 +6887,7 @@ }, "CreateContentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -6882,6 +6924,7 @@ }, "CreateRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -6898,6 +6941,7 @@ }, "CurrentStorageDto": { "docs": undefined, + "inline": undefined, "properties": { "maxAllowed": { "docs": "The maximum allowed asset size.", @@ -6934,6 +6978,7 @@ }, "DateTimeFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "calculatedDefaultValue": { "docs": "The calculated default value for the field value.", @@ -6970,6 +7015,7 @@ }, "DiscourseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key to authenticate to your discourse server.", @@ -7030,6 +7076,7 @@ }, "EditorDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the editor.", @@ -7046,6 +7093,7 @@ }, "ElasticSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -7090,6 +7138,7 @@ }, "EmailRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "messageBody": { "docs": "The message body.", @@ -7172,6 +7221,7 @@ }, "ErrorDto": { "docs": undefined, + "inline": undefined, "properties": { "details": { "docs": "Detailed error messages.", @@ -7213,6 +7263,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "count": { "docs": "The number of handled events.", @@ -7254,6 +7305,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -7267,6 +7319,7 @@ "ExposedValues": "map", "FastlyRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The API key to grant access to Squidex.", @@ -7295,6 +7348,7 @@ }, "FeatureDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the feature.", @@ -7311,6 +7365,7 @@ }, "FeaturesDto": { "docs": undefined, + "inline": undefined, "properties": { "features": { "docs": "The latest features.", @@ -7330,6 +7385,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -7469,6 +7525,7 @@ }, "FieldRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action to perform when the condition is met.", @@ -7499,6 +7556,7 @@ }, "GeolocationFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -7511,6 +7569,7 @@ }, "HistoryEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actor": { "docs": "The user who called the action.", @@ -7571,6 +7630,7 @@ }, "JsonFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "graphQLSchema": { "docs": "The GraphQL schema.", @@ -7583,6 +7643,7 @@ }, "LanguageDto": { "docs": undefined, + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -7608,6 +7669,7 @@ "LocalizedValueOfString": "map", "LogDownloadDto": { "docs": undefined, + "inline": undefined, "properties": { "downloadUrl": { "docs": "The url to download the log.", @@ -7620,6 +7682,7 @@ }, "ManualRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -7627,6 +7690,7 @@ }, "MediumRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": { "docs": "The self issued access token.", @@ -7684,6 +7748,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -7722,6 +7787,7 @@ }, "NotificationRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -7770,6 +7836,7 @@ }, "NumberFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -7810,6 +7877,7 @@ }, "OpenSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -7854,6 +7922,7 @@ }, "PatternDto": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The regex message.", @@ -7874,6 +7943,7 @@ }, "PlanChangedDto": { "docs": undefined, + "inline": undefined, "properties": { "redirectUri": { "docs": "Optional redirect uri.", @@ -7886,6 +7956,7 @@ }, "PlanDto": { "docs": undefined, + "inline": undefined, "properties": { "confirmText": { "docs": "An optional confirm text for the monthly subscription.", @@ -7938,6 +8009,7 @@ }, "PlansDto": { "docs": undefined, + "inline": undefined, "properties": { "currentPlanId": { "docs": "The current plan id.", @@ -7988,6 +8060,7 @@ }, "PrerenderRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "The prerender token from your account.", @@ -8017,6 +8090,7 @@ "PropertyPath": "list", "QueryDto": { "docs": undefined, + "inline": undefined, "properties": { "ids": { "docs": "The optional list of ids to query.", @@ -8038,6 +8112,7 @@ }, "QueryJsonDto": { "docs": undefined, + "inline": undefined, "properties": { "filter": "optional", "fullText": "optional", @@ -8066,6 +8141,7 @@ }, "ReferencesFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -8110,6 +8186,7 @@ }, "ReferralInfo": { "docs": undefined, + "inline": undefined, "properties": { "code": "string", "condition": "string", @@ -8121,6 +8198,7 @@ }, "ReorderFieldsDto": { "docs": undefined, + "inline": undefined, "properties": { "fieldIds": { "docs": "The field ids in the target order.", @@ -8148,6 +8226,7 @@ }, "Resource": { "docs": undefined, + "inline": undefined, "properties": { "_links": { "docs": "The links.", @@ -8160,6 +8239,7 @@ }, "ResourceLink": { "docs": undefined, + "inline": undefined, "properties": { "href": { "docs": "The link url.", @@ -8195,6 +8275,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -8202,6 +8283,7 @@ }, "RestoreJobDto": { "docs": undefined, + "inline": undefined, "properties": { "log": { "docs": "The status log.", @@ -8239,6 +8321,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "isDefaultRole": { "docs": "Indicates if the role is an builtin default role.", @@ -8274,6 +8357,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The roles.", @@ -8319,6 +8403,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -8380,6 +8465,7 @@ }, "RuleElementDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Describes the action or trigger type.", @@ -8416,6 +8502,7 @@ }, "RuleElementPropertyDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The optional description.", @@ -8455,6 +8542,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The time when the event has been created.", @@ -8502,6 +8590,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rule events.", @@ -8581,6 +8670,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rules.", @@ -8597,6 +8687,7 @@ }, "ScheduleJobDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the scheduled status.", @@ -8625,6 +8716,7 @@ }, "SchemaChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -8637,6 +8729,7 @@ }, "SchemaCondition": { "docs": undefined, + "inline": undefined, "properties": { "condition": "optional", "schemaId": "string", @@ -8650,6 +8743,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "category": { "docs": "The name of the category.", @@ -8749,6 +8843,7 @@ }, "SchemaPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "contentEditorUrl": { "docs": "The url to the editor plugin.", @@ -8797,6 +8892,7 @@ }, "SchemaScriptsDto": { "docs": undefined, + "inline": undefined, "properties": { "change": { "docs": "The script that is executed when change a content status.", @@ -8843,6 +8939,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The schemas.", @@ -8855,6 +8952,7 @@ }, "ScriptRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "script": { "docs": "The script to render.", @@ -8876,6 +8974,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "label": { "docs": "An optional label.", @@ -8910,6 +9009,7 @@ }, "SignalRRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "* Broadcast = send to all users. @@ -8956,6 +9056,7 @@ }, "SimulatedRuleEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actionData": { "docs": "The name of the action.", @@ -9015,6 +9116,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The simulated rule events.", @@ -9050,6 +9152,7 @@ }, "SlackRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The text that is sent as message to slack.", @@ -9078,6 +9181,7 @@ }, "SortNode": { "docs": undefined, + "inline": undefined, "properties": { "order": "SortOrder", "path": "PropertyPath", @@ -9098,6 +9202,7 @@ }, "StatusInfoDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the status.", @@ -9114,6 +9219,7 @@ }, "StorageUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "date": { "docs": "The date when the usage was tracked.", @@ -9169,6 +9275,7 @@ }, "StringFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -9264,6 +9371,7 @@ }, "TagsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -9303,6 +9411,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The timestamp when the team has been created.", @@ -9338,6 +9447,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "details": { "docs": "The details of the template.", @@ -9353,6 +9463,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "description": { "docs": "The description of the template.", @@ -9380,6 +9491,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -9392,6 +9504,7 @@ }, "TranslationDto": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "The result of the translation.", @@ -9422,6 +9535,7 @@ }, "TweetRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessSecret": { "docs": " The generated access secret.", @@ -9460,6 +9574,7 @@ }, "TypesenseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key.", @@ -9510,6 +9625,7 @@ }, "UiFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -9522,6 +9638,7 @@ }, "UiSettingsDto": { "docs": undefined, + "inline": undefined, "properties": { "canCreateApps": { "docs": "True when the user can create apps.", @@ -9538,6 +9655,7 @@ }, "UpdateFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "properties": { "docs": "The field properties.", @@ -9550,6 +9668,7 @@ }, "UpdateSettingDto": { "docs": undefined, + "inline": undefined, "properties": { "value": "unknown", }, @@ -9559,6 +9678,7 @@ }, "UpsertCommentDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The comment text.", @@ -9587,6 +9707,7 @@ }, "UpsertSchemaDto": { "docs": undefined, + "inline": undefined, "properties": { "category": { "docs": "The category.", @@ -9631,6 +9752,7 @@ }, "UpsertSchemaFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -9673,6 +9795,7 @@ }, "UpsertSchemaNestedFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -9707,6 +9830,7 @@ }, "UsageRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "The number of monthly api calls.", @@ -9733,6 +9857,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "displayName": { "docs": "The display name (usually first name and last name) of the user.", @@ -9761,6 +9886,7 @@ }, "UserProperty": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "string", @@ -9790,6 +9916,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The users.", @@ -9819,6 +9946,7 @@ }, "WebhookRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "headers": { "docs": "The message headers in the format '[Key]=[Value]', one entry per line.", @@ -9860,6 +9988,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "id": { "docs": "The workflow id.", @@ -9888,6 +10017,7 @@ }, "WorkflowStepDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The optional color.", @@ -9920,6 +10050,7 @@ }, "WorkflowTransitionDto": { "docs": undefined, + "inline": undefined, "properties": { "expression": { "docs": "The optional expression.", @@ -9939,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 bbb088c9c6a..d7619a2c760 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,6 +926,7 @@ }, "ContentInfo": { "docs": "Information about file content.", + "inline": undefined, "properties": { "image": "optional", "mime": { @@ -938,6 +941,7 @@ }, "ContentInfoMime": { "docs": "MIME type.", + "inline": true, "properties": { "mime": { "docs": "Full MIME type.", @@ -960,6 +964,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -979,6 +984,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1045,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": { @@ -1117,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. @@ -1146,6 +1154,7 @@ page for a full list of all possible error codes. "extends": [ "FileUploadInfo", ], + "inline": undefined, "properties": { "type": "optional>", }, @@ -1155,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. @@ -1184,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", }, @@ -1197,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", }, @@ -1210,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.", @@ -1222,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. @@ -1239,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. @@ -1254,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", }, @@ -1266,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", }, @@ -1281,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", }, @@ -1314,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", }, @@ -1332,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.", @@ -1363,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.", @@ -1419,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.", @@ -1489,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.", @@ -1505,6 +1528,7 @@ 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.", @@ -1533,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.", @@ -1557,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.", @@ -1618,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", }, @@ -1639,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", }, @@ -1651,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", }, @@ -1682,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", }, @@ -1743,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.", @@ -1813,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.", @@ -1926,6 +1958,7 @@ change the value to `auto`. }, "VideoInfo": { "docs": "Video metadata.", + "inline": undefined, "properties": { "audio": "list", "bitrate": { @@ -1948,6 +1981,7 @@ change the value to `auto`. }, "VideoInfoAudioItem": { "docs": "Audio stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Audio stream's bitrate.", @@ -1972,6 +2006,7 @@ change the value to `auto`. }, "VideoInfoVideoItem": { "docs": "Video stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Video stream's bitrate.", @@ -2619,6 +2654,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true ImageInfo: docs: Image metadata. properties: @@ -2673,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: @@ -2693,6 +2730,7 @@ change the value to `auto`. docs: Video stream codec. source: openapi: ../openapi.json + inline: true LegacyVideoInfo: docs: Video metadata. properties: @@ -2740,6 +2778,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true SchemasImageInfo: docs: Image metadata. properties: @@ -2794,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: @@ -2814,6 +2854,7 @@ change the value to `auto`. docs: Video stream's codec. source: openapi: ../openapi.json + inline: true VideoInfo: docs: Video metadata. properties: @@ -2844,6 +2885,7 @@ change the value to `auto`. docs: Subtype of MIME type. source: openapi: ../openapi.json + inline: true ContentInfo: docs: Information about file content. properties: @@ -3398,7 +3440,6 @@ Log.d("TAG", group.toString()) "body": { "cdn_url": "https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/", "datetime_created": "2018-09-12T10:03:38Z", - "datetime_stored": "2024-01-15T09:30:00Z", "files": [ { "content_info": { @@ -3600,7 +3641,6 @@ Log.d("TAG", group.toString()) "body": { "cdn_url": "https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/", "datetime_created": "2018-09-12T10:03:38Z", - "datetime_stored": "2024-01-15T09:30:00Z", "files": [ { "content_info": { @@ -3758,7 +3798,6 @@ service: body: id: 0d712319-b970-4602-850c-bae1ced521a6~1 datetime_created: '2018-09-12T10:03:38Z' - datetime_stored: '2024-01-15T09:30:00Z' files_count: 1 cdn_url: https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/ url: >- @@ -3940,7 +3979,6 @@ service: body: id: 0d712319-b970-4602-850c-bae1ced521a6~1 datetime_created: '2018-09-12T10:03:38Z' - datetime_stored: '2024-01-15T09:30:00Z' files_count: 1 cdn_url: https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/ url: >- @@ -6107,6 +6145,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", @@ -6165,6 +6204,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -6177,6 +6217,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -6190,6 +6231,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 cb5e76975ef..9fe9e1bf06a 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", @@ -151,6 +152,7 @@ }, "BasicValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -169,6 +171,7 @@ }, "BasicValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -233,6 +236,7 @@ }, "EmailsSendRequestInternalServerErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "error": "string", }, @@ -242,6 +246,7 @@ }, "EvalGetRequestBadRequestErrorBody": { "docs": "The function throw an error or had invalid syntax", + "inline": undefined, "properties": { "error": "string", "type": "literal<"error">", @@ -252,6 +257,7 @@ }, "EvalPostRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "error": "string", "type": "literal<"error">", @@ -262,6 +268,7 @@ }, "ExtendedVal": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -352,6 +359,7 @@ }, "ExtendedValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -370,6 +378,7 @@ }, "ExtendedValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -434,6 +443,7 @@ }, "PaginationLinks": { "docs": "Links to use for pagination", + "inline": undefined, "properties": { "next": { "docs": "URL of the next page, if any", @@ -472,6 +482,7 @@ }, "ResultSet": { "docs": "Result of executing an SQL statement.", + "inline": undefined, "properties": { "columnTypes": { "docs": "Types of columns. @@ -516,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", }, @@ -526,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", @@ -573,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", @@ -619,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: @@ -661,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: @@ -748,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: @@ -758,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: @@ -859,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: @@ -869,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: @@ -1103,6 +1123,7 @@ API endpoints", "types": { "AliasValResponse": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -1193,6 +1214,7 @@ API endpoints", }, "AliasValResponseAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -1211,6 +1233,7 @@ API endpoints", }, "AliasValResponseLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -1403,6 +1426,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true AliasValResponseAuthor: docs: The user who created this val properties: @@ -1413,6 +1437,7 @@ types: username: optional source: openapi: ../openapi.yml + inline: true AliasValResponse: docs: A Val properties: @@ -1605,6 +1630,7 @@ types: "types": { "BlobListingItem": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "lastModified": { @@ -1811,6 +1837,7 @@ docs: Blobs "types": { "AttachmentObject": { "docs": undefined, + "inline": true, "properties": { "content": "string", "contentId": { @@ -1832,6 +1859,7 @@ docs: Blobs "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1847,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", }, @@ -1862,6 +1891,7 @@ docs: Blobs }, "EmailNameAndAddress": { "docs": "An email address and name", + "inline": true, "properties": { "email": "string", "name": { @@ -1874,6 +1904,7 @@ docs: Blobs }, "EmailsSendResponse": { "docs": "Successfully sent email", + "inline": undefined, "properties": { "message": "string", }, @@ -1885,6 +1916,7 @@ docs: Blobs "discriminated": false, "docs": "A reply-to list of email addresses", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1909,6 +1941,7 @@ docs: Blobs email: string source: openapi: ../openapi.yml + inline: true EmailData: discriminated: false union: @@ -1917,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 @@ -1926,6 +1960,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true AttachmentObject: properties: content: string @@ -1938,6 +1973,7 @@ docs: Blobs type: optional source: openapi: ../openapi.yml + inline: true ReplyToList: discriminated: false docs: A reply-to list of email addresses @@ -1947,6 +1983,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true EmailsSendResponse: docs: Successfully sent email properties: @@ -2327,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", @@ -2337,6 +2375,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItem": { "docs": undefined, + "inline": true, "properties": { "author": "MeCommentsResponseDataItemAuthor", "comment": { @@ -2362,6 +2401,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemAuthor": { "docs": undefined, + "inline": true, "properties": { "id": { "type": "string", @@ -2380,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", @@ -2419,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", @@ -2448,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", @@ -2503,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", @@ -2531,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", @@ -2541,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", @@ -2551,6 +2597,7 @@ 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", @@ -2568,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", @@ -2604,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", @@ -2650,6 +2699,7 @@ give access to details and data from the requesting user.", format: uri source: openapi: ../openapi.yml + inline: true MeGetResponseTier: enum: - free @@ -2716,6 +2766,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemValPrivacy: enum: - public @@ -2736,6 +2787,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemVal: properties: name: @@ -2759,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: @@ -2774,6 +2827,7 @@ give access to details and data from the requesting user.", val: MeCommentsResponseDataItemVal source: openapi: ../openapi.yml + inline: true MeCommentsResponse: docs: A paginated result set properties: @@ -2802,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: @@ -2823,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 @@ -2837,6 +2893,7 @@ give access to details and data from the requesting user.", referencedAt: datetime source: openapi: ../openapi.yml + inline: true MeReferencesResponse: docs: A paginated result set properties: @@ -3145,6 +3202,7 @@ imports: "types": { "SearchValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -3265,7 +3323,6 @@ docs: Search "columns": [ "id", ], - "lastInsertRowid": "lastInsertRowid", "rows": [ [ 1, @@ -3392,6 +3449,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", @@ -3421,6 +3479,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3439,6 +3498,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3457,6 +3517,7 @@ docs: Search "discriminated": false, "docs": "List of arguments to be used in the given statement", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3469,6 +3530,7 @@ docs: Search "discriminated": false, "docs": "A value to be used as a parameter", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3490,6 +3552,7 @@ docs: Search - boolean source: openapi: ../openapi.yml + inline: true StatementArg: discriminated: false docs: List of arguments to be used in the given statement @@ -3498,6 +3561,7 @@ docs: Search - map> source: openapi: ../openapi.yml + inline: true ParameterizedQuery: docs: >- A parameterized SQL query. See @@ -3512,6 +3576,7 @@ docs: Search docs: List of arguments to be used in the given statement source: openapi: ../openapi.yml + inline: true SqliteExecuteRequestStatement: discriminated: false union: @@ -3524,6 +3589,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestStatementsItem: discriminated: false union: @@ -3536,6 +3602,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestMode: enum: - write @@ -3626,7 +3693,6 @@ service: rows: - - 1 rowsAffected: 0 - lastInsertRowid: lastInsertRowid source: openapi: ../openapi.yml display-name: sqlite @@ -3781,6 +3847,7 @@ docs: SQLite "types": { "UsersValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4740,6 +4807,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4755,6 +4823,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4768,6 +4837,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", @@ -4826,6 +4896,7 @@ let you get, create, and run vals.", }, "ValsListResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4836,6 +4907,7 @@ let you get, create, and run vals.", }, "ValsListResponseDataItem": { "docs": undefined, + "inline": true, "properties": { "createdAt": "datetime", "val_id": { @@ -4965,6 +5037,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 c777f33b6e3..40b3411d3d4 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: @@ -9324,7 +9458,6 @@ service: { "displayName": "660d83ce30f3a599ddb0bdb3_Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png", "format": "png", - "height": 900, "hostedUrl": "https://s3.amazonaws.com/webflow-prod-assets/6258612d1ee792848f805dcf/660d83ce30f3a599ddb0bdb3_Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png", "originalFileName": "Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png", "quality": 100, @@ -9382,7 +9515,6 @@ service: "displayName": "emoji icons", "id": "6390c49774a71f0e3c1a08ee", "lastUpdated": "2022-12-07T16:51:37Z", - "parentFolder": "6390c49774a71f99f21a08eb", "siteId": "6390c49674a71f84b51a08d8", }, ], @@ -9499,6 +9631,7 @@ service: "types": { "AssetsCreateFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -9535,6 +9668,7 @@ service: }, "AssetsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "assetUrl": { "docs": "S3 link to the asset", @@ -9594,6 +9728,7 @@ service: }, "AssetsCreateResponseUploadDetails": { "docs": "Metadata for uploading the asset binary", + "inline": true, "properties": { "Cache-Control": "optional", "Policy": "optional", @@ -9613,6 +9748,7 @@ service: }, "AssetsGetFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -9649,6 +9785,7 @@ service: }, "AssetsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -9704,6 +9841,7 @@ service: }, "AssetsGetResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -9750,6 +9888,7 @@ service: }, "AssetsListFoldersResponse": { "docs": "The Asset Folders object", + "inline": undefined, "properties": { "assetFolders": { "docs": "A list of Asset folders", @@ -9766,6 +9905,7 @@ service: }, "AssetsListFoldersResponseAssetFoldersItem": { "docs": "Asset Folder details", + "inline": true, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -9802,6 +9942,7 @@ service: }, "AssetsListFoldersResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -9822,6 +9963,7 @@ service: }, "AssetsListResponse": { "docs": "A list of assets", + "inline": undefined, "properties": { "assets": "optional>", }, @@ -9831,6 +9973,7 @@ service: }, "AssetsListResponseAssetsItem": { "docs": undefined, + "inline": true, "properties": { "altText": { "docs": "The visual description of the asset", @@ -9886,6 +10029,7 @@ service: }, "AssetsListResponseAssetsItemVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -9932,6 +10076,7 @@ service: }, "AssetsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -9987,6 +10132,7 @@ service: }, "AssetsUpdateResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -10064,6 +10210,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsListResponseAssetsItem: properties: id: @@ -10101,6 +10248,7 @@ service: docs: The visual description of the asset source: openapi: ../openapi.yml + inline: true AssetsListResponse: docs: A list of assets properties: @@ -10123,6 +10271,7 @@ service: Cache-Control: optional source: openapi: ../openapi.yml + inline: true AssetsCreateResponse: properties: uploadDetails: @@ -10190,6 +10339,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsGetResponse: properties: id: @@ -10257,6 +10407,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsUpdateResponse: properties: id: @@ -10320,6 +10471,7 @@ service: docs: Date that the Asset Folder was last updated on source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponsePagination: docs: Pagination object properties: @@ -10334,6 +10486,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponse: docs: The Asset Folders object properties: @@ -10449,7 +10602,6 @@ service: 660d83ce30f3a599ddb0bdb3_Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png format: png width: 500 - height: 900 quality: 100 altText: A red chair create: @@ -10679,7 +10831,6 @@ service: assetFolders: - id: 6390c49774a71f0e3c1a08ee displayName: emoji icons - parentFolder: 6390c49774a71f99f21a08eb assets: - 63e5889e7fe4eafa7384cea4 - 659595234426a9fcbad57043 @@ -10823,7 +10974,6 @@ service: "fields": [ { "displayName": "Name", - "helpText": "helpText", "id": "23cc2d952d4e4631ffd4345d2743db4e", "isEditable": true, "isRequired": true, @@ -10969,7 +11119,6 @@ service: "fields": [ { "displayName": "Name", - "helpText": "helpText", "id": "23cc2d952d4e4631ffd4345d2743db4e", "isEditable": true, "isRequired": true, @@ -11075,6 +11224,7 @@ service: "types": { "CollectionsCreateResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -11111,6 +11261,7 @@ service: }, "CollectionsCreateResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -11168,6 +11319,7 @@ service: }, "CollectionsGetResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -11204,6 +11356,7 @@ service: }, "CollectionsGetResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -11261,6 +11414,7 @@ service: }, "CollectionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "collections": { "docs": "An array of Collections", @@ -11273,6 +11427,7 @@ service: }, "CollectionsListResponseCollectionsItem": { "docs": "A collection object", + "inline": true, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -11331,6 +11486,7 @@ service: docs: The date the collection was last updated source: openapi: ../openapi.yml + inline: true CollectionsListResponse: properties: collections: @@ -11384,6 +11540,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsCreateResponse: docs: A collection object properties: @@ -11458,6 +11615,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsGetResponse: docs: A collection object properties: @@ -11596,7 +11754,6 @@ service: type: PlainText slug: name displayName: Name - helpText: helpText get: path: /collections/{collection_id} method: GET @@ -11638,7 +11795,6 @@ service: type: PlainText slug: name displayName: Name - helpText: helpText delete-collection: path: /collections/{collection_id} method: DELETE @@ -11892,6 +12048,7 @@ service: }, "FieldsCreateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -11949,6 +12106,7 @@ service: }, "FieldsUpdateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -13227,6 +13385,7 @@ service: "ItemsCreateItemForMultipleLocalesRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13244,6 +13403,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", @@ -13284,6 +13444,7 @@ service: "ItemsCreateItemForMultipleLocalesResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13301,6 +13462,7 @@ service: "ItemsCreateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13318,6 +13480,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", @@ -13358,6 +13521,7 @@ service: "ItemsCreateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13375,6 +13539,7 @@ service: "ItemsCreateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13392,6 +13557,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", @@ -13432,6 +13598,7 @@ service: "ItemsCreateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13449,6 +13616,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", @@ -13489,6 +13657,7 @@ service: "ItemsGetItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13506,6 +13675,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", @@ -13546,6 +13716,7 @@ service: "ItemsGetItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13581,6 +13752,7 @@ service: }, "ItemsListItemsLiveResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", @@ -13595,6 +13767,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", @@ -13635,6 +13808,7 @@ service: "ItemsListItemsLiveResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13651,6 +13825,7 @@ service: }, "ItemsListItemsLiveResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -13692,6 +13867,7 @@ service: }, "ItemsListItemsResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", @@ -13706,6 +13882,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", @@ -13746,6 +13923,7 @@ service: "ItemsListItemsResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13762,6 +13940,7 @@ service: }, "ItemsListItemsResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -13784,6 +13963,7 @@ service: }, "ItemsPublishItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "publishedItemIds": "optional>", @@ -13795,6 +13975,7 @@ service: "ItemsUpdateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13812,6 +13993,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", @@ -13852,6 +14034,7 @@ service: "ItemsUpdateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13869,6 +14052,7 @@ service: "ItemsUpdateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13886,6 +14070,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", @@ -13926,6 +14111,7 @@ service: "ItemsUpdateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13969,6 +14155,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 @@ -14002,6 +14189,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsResponsePagination: properties: limit: @@ -14017,6 +14205,7 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsResponse: docs: Results from collection items list properties: @@ -14039,6 +14228,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemResponseFieldData: properties: name: @@ -14052,6 +14242,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 @@ -14111,6 +14302,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 @@ -14144,6 +14336,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponsePagination: properties: limit: @@ -14159,6 +14352,7 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponse: docs: Results from collection items list properties: @@ -14181,6 +14375,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemLiveResponseFieldData: properties: name: @@ -14194,6 +14389,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 @@ -14240,6 +14436,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemForMultipleLocalesResponseFieldData: properties: name: @@ -14253,6 +14450,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 @@ -14299,6 +14497,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 @@ -14345,6 +14544,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemResponseFieldData: properties: name: @@ -14358,6 +14558,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 @@ -14404,6 +14605,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 @@ -14450,6 +14652,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemLiveResponseFieldData: properties: name: @@ -14463,6 +14666,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 @@ -15321,6 +15525,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", @@ -15441,7 +15646,6 @@ service: }, "660d5bcc9c0772150459dfb1": { "displayName": "Name", - "placeholder": "Enter your email", "type": "Plain", "userVisible": true, }, @@ -15452,7 +15656,6 @@ service: "pageId": "6419db964a9c43f6a3af6348", "pageName": "Home", "responseSettings": { - "redirectAction": "POST https://example.com", "redirectMethod": "GET", "redirectUrl": "https://example.com", "sendEmailConfirmation": true, @@ -15797,6 +16000,7 @@ 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", @@ -15813,6 +16017,7 @@ service: }, "FormSubmissionPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "data": { "docs": "The data submitted in the form", @@ -15853,6 +16058,7 @@ service: }, "FormsGetResponse": { "docs": "A form and its corresponding metadata", + "inline": undefined, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -15909,6 +16115,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", @@ -15946,6 +16153,7 @@ service: }, "FormsGetResponseResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -15970,6 +16178,7 @@ service: }, "FormsGetSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -16002,6 +16211,7 @@ service: }, "FormsListResponse": { "docs": "A list of forms", + "inline": undefined, "properties": { "forms": "optional>", "pagination": { @@ -16015,6 +16225,7 @@ service: }, "FormsListResponseFormsItem": { "docs": "A Webflow form", + "inline": true, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -16071,6 +16282,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", @@ -16108,6 +16320,7 @@ service: }, "FormsListResponseFormsItemResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -16132,6 +16345,7 @@ service: }, "FormsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -16152,6 +16366,7 @@ service: }, "FormsListSubmissionsResponse": { "docs": "A list of form submissions", + "inline": undefined, "properties": { "formSubmissions": "optional>", "pagination": { @@ -16165,6 +16380,7 @@ service: }, "FormsListSubmissionsResponseFormSubmissionsItem": { "docs": undefined, + "inline": true, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -16197,6 +16413,7 @@ service: }, "FormsListSubmissionsResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -16217,6 +16434,7 @@ service: }, "FormsUpdateSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -16334,6 +16552,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItemResponseSettings: docs: Settings for form responses properties: @@ -16351,6 +16570,7 @@ service: docs: Whether to send an email confirmation to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItem: docs: A Webflow form properties: @@ -16392,6 +16612,7 @@ service: docs: The unique id of the Workspace the Site belongs to source: openapi: ../openapi.yml + inline: true FormsListResponsePagination: docs: Pagination object properties: @@ -16406,6 +16627,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListResponse: docs: A list of forms properties: @@ -16442,6 +16664,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsGetResponseResponseSettings: docs: Settings for form responses properties: @@ -16459,6 +16682,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: @@ -16522,6 +16746,7 @@ service: docs: The data submitted in the Form source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponsePagination: docs: Pagination object properties: @@ -16536,6 +16761,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponse: docs: A list of form submissions properties: @@ -16620,6 +16846,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: @@ -16756,7 +16983,6 @@ service: 660d5bcc9c0772150459dfb1: displayName: Name type: Plain - placeholder: Enter your email userVisible: true 589a331aa51e760df7ccb89d: displayName: Email @@ -16766,7 +16992,6 @@ service: responseSettings: redirectUrl: https://example.com redirectMethod: GET - redirectAction: POST https://example.com sendEmailConfirmation: true id: 589a331aa51e760df7ccb89e siteId: 580e63e98c9a982ac9b8b741 @@ -17113,6 +17338,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", @@ -17143,6 +17369,7 @@ Required scope | `ecommerce:write` }, "InventoryListResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -17183,6 +17410,7 @@ Required scope | `ecommerce:write` }, "InventoryUpdateResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -17438,6 +17666,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", @@ -17478,6 +17707,7 @@ webhooks: "CollectionItemChangedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -17495,6 +17725,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", @@ -17535,6 +17766,7 @@ webhooks: "CollectionItemCreatedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -17551,6 +17783,7 @@ webhooks: }, "CollectionItemDeletedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", @@ -17567,6 +17800,7 @@ webhooks: }, "CollectionItemDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -17591,6 +17825,7 @@ webhooks: }, "CollectionItemUnpublishedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", @@ -17607,6 +17842,7 @@ webhooks: }, "CollectionItemUnpublishedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -17747,6 +17983,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 @@ -17793,6 +18030,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 @@ -17843,6 +18081,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemDeletedPayload: properties: triggerType: @@ -17870,6 +18109,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemUnpublishedPayload: properties: triggerType: @@ -18071,14 +18311,6 @@ Required scope | `ecommerce:read` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -18164,12 +18396,10 @@ Required scope | `ecommerce:read` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -18318,9 +18548,6 @@ Required scope | `ecommerce:read` "unit": "USD", "value": "5892", }, - "disputeLastStatus": "warning_needs_response", - "disputeUpdatedOn": "2018-12-03T22:06:15Z", - "disputedOn": "2018-12-03T22:06:15Z", "downloadFiles": [ { "id": "5e9a5eba75e0ac242e1b6f64", @@ -18328,7 +18555,6 @@ Required scope | `ecommerce:read` "url": "https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa", }, ], - "fulfilledOn": "2018-12-03T22:06:15Z", "hasDownloads": false, "isCustomerDeleted": false, "isShippingRequired": false, @@ -18343,14 +18569,6 @@ Required scope | `ecommerce:read` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "7c1-9fd", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 2, @@ -18407,7 +18625,6 @@ Required scope | `ecommerce:read` }, ], "purchasedItemsCount": 3, - "refundedOn": "2018-12-03T22:06:15Z", "shippingAddress": { "addressee": "Arthur Dent", "city": "New York", @@ -18507,9 +18724,6 @@ Required scope | `ecommerce:read` "unit": "USD", "value": "5892", }, - "disputeLastStatus": "warning_needs_response", - "disputeUpdatedOn": "2018-12-03T22:06:15Z", - "disputedOn": "2018-12-03T22:06:15Z", "downloadFiles": [ { "id": "5e9a5eba75e0ac242e1b6f64", @@ -18517,7 +18731,6 @@ Required scope | `ecommerce:read` "url": "https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa", }, ], - "fulfilledOn": "2018-12-03T22:06:15Z", "hasDownloads": false, "isCustomerDeleted": false, "isShippingRequired": true, @@ -18532,14 +18745,6 @@ Required scope | `ecommerce:read` "orderComment": "", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -18826,14 +19031,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -18919,12 +19116,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -19116,14 +19311,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -19209,12 +19396,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -19418,14 +19603,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -19511,12 +19688,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -19708,14 +19883,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -19801,12 +19968,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -19885,6 +20050,7 @@ Required scope | `ecommerce:write` "types": { "EcommNewOrderPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -20038,6 +20204,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -20102,6 +20269,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", @@ -20122,6 +20290,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -20186,6 +20355,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", @@ -20208,6 +20378,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", @@ -20245,6 +20416,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -20271,6 +20443,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -20280,6 +20453,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", @@ -20300,6 +20474,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -20332,6 +20507,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -20397,6 +20573,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", @@ -20417,6 +20594,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -20436,6 +20614,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -20472,6 +20651,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -20503,6 +20683,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", @@ -20523,6 +20704,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -20606,6 +20788,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)", @@ -20651,6 +20834,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -20667,6 +20851,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", @@ -20707,6 +20892,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.", @@ -20727,6 +20913,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.", @@ -20751,6 +20938,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", @@ -20786,6 +20974,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20806,6 +20995,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20826,6 +21016,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -20979,6 +21170,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21043,6 +21235,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", @@ -21063,6 +21256,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21127,6 +21321,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", @@ -21149,6 +21344,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", @@ -21186,6 +21382,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -21212,6 +21409,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -21221,6 +21419,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", @@ -21241,6 +21440,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -21273,6 +21473,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -21338,6 +21539,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", @@ -21358,6 +21560,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -21377,6 +21580,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -21413,6 +21617,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -21444,6 +21649,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", @@ -21464,6 +21670,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21547,6 +21754,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)", @@ -21592,6 +21800,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -21608,6 +21817,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", @@ -21648,6 +21858,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.", @@ -21668,6 +21879,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.", @@ -21692,6 +21904,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", @@ -21727,6 +21940,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21747,6 +21961,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21767,6 +21982,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -21920,6 +22136,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21984,6 +22201,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", @@ -22004,6 +22222,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -22068,6 +22287,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", @@ -22090,6 +22310,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", @@ -22127,6 +22348,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -22153,6 +22375,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -22162,6 +22385,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", @@ -22182,6 +22406,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -22214,6 +22439,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -22279,6 +22505,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", @@ -22299,6 +22526,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -22318,6 +22546,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -22354,6 +22583,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -22385,6 +22615,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", @@ -22405,6 +22636,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -22488,6 +22720,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)", @@ -22533,6 +22766,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -22549,6 +22783,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", @@ -22589,6 +22824,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.", @@ -22609,6 +22845,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.", @@ -22633,6 +22870,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", @@ -22668,6 +22906,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22688,6 +22927,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22724,6 +22964,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponse": { "docs": "Results from order list", + "inline": undefined, "properties": { "orders": { "docs": "List of orders", @@ -22740,6 +22981,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItem": { "docs": undefined, + "inline": true, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -22893,6 +23135,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -22957,6 +23200,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", @@ -22977,6 +23221,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -23041,6 +23286,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", @@ -23063,6 +23309,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", @@ -23100,6 +23347,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -23126,6 +23374,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -23135,6 +23384,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", @@ -23155,6 +23405,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -23187,6 +23438,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -23252,6 +23504,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", @@ -23272,6 +23525,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -23291,6 +23545,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -23327,6 +23582,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -23358,6 +23614,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", @@ -23378,6 +23635,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -23461,6 +23719,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)", @@ -23506,6 +23765,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -23522,6 +23782,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", @@ -23562,6 +23823,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.", @@ -23582,6 +23844,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.", @@ -23606,6 +23869,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", @@ -23641,6 +23905,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23661,6 +23926,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23681,6 +23947,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -23712,6 +23979,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -23865,6 +24133,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -23929,6 +24198,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", @@ -23949,6 +24219,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24013,6 +24284,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", @@ -24035,6 +24307,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", @@ -24072,6 +24345,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -24098,6 +24372,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -24107,6 +24382,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", @@ -24127,6 +24403,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -24159,6 +24436,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -24224,6 +24502,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", @@ -24244,6 +24523,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -24263,6 +24543,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -24299,6 +24580,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -24330,6 +24612,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", @@ -24350,6 +24633,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24433,6 +24717,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)", @@ -24478,6 +24763,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -24494,6 +24780,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", @@ -24534,6 +24821,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.", @@ -24554,6 +24842,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.", @@ -24578,6 +24867,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", @@ -24613,6 +24903,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24633,6 +24924,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24653,6 +24945,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -24806,6 +25099,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24870,6 +25164,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", @@ -24890,6 +25185,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24954,6 +25250,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", @@ -24976,6 +25273,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", @@ -25013,6 +25311,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -25039,6 +25338,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -25048,6 +25348,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", @@ -25068,6 +25369,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -25100,6 +25402,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -25165,6 +25468,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", @@ -25185,6 +25489,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -25204,6 +25509,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -25240,6 +25546,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -25271,6 +25578,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", @@ -25291,6 +25599,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25374,6 +25683,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)", @@ -25419,6 +25729,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -25435,6 +25746,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", @@ -25475,6 +25787,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.", @@ -25495,6 +25808,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.", @@ -25519,6 +25833,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", @@ -25554,6 +25869,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25574,6 +25890,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25594,6 +25911,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -25747,6 +26065,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25811,6 +26130,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", @@ -25831,6 +26151,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25895,6 +26216,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", @@ -25917,6 +26239,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", @@ -25954,6 +26277,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -25980,6 +26304,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -25989,6 +26314,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", @@ -26009,6 +26335,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -26041,6 +26368,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -26106,6 +26434,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", @@ -26126,6 +26455,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -26145,6 +26475,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -26181,6 +26512,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -26212,6 +26544,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", @@ -26232,6 +26565,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -26315,6 +26649,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)", @@ -26360,6 +26695,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -26376,6 +26712,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", @@ -26416,6 +26753,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.", @@ -26436,6 +26774,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.", @@ -26460,6 +26799,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", @@ -26495,6 +26835,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26515,6 +26856,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26535,6 +26877,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -26688,6 +27031,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -26752,6 +27096,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", @@ -26772,6 +27117,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -26836,6 +27182,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", @@ -26858,6 +27205,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", @@ -26895,6 +27243,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -26921,6 +27270,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -26930,6 +27280,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", @@ -26950,6 +27301,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -26982,6 +27334,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -27047,6 +27400,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", @@ -27067,6 +27421,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -27086,6 +27441,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -27122,6 +27478,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -27153,6 +27510,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", @@ -27173,6 +27531,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -27256,6 +27615,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)", @@ -27301,6 +27661,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -27317,6 +27678,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", @@ -27357,6 +27719,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.", @@ -27377,6 +27740,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.", @@ -27401,6 +27765,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", @@ -27436,6 +27801,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27456,6 +27822,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27984,6 +28351,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: @@ -27998,6 +28366,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: @@ -28012,6 +28381,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemAllAddressesItemType: enum: - shipping @@ -28062,6 +28432,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemShippingAddressType: enum: - shipping @@ -28112,6 +28483,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemBillingAddressType: enum: - shipping @@ -28162,6 +28534,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: @@ -28175,6 +28548,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -28189,6 +28563,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -28208,6 +28583,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile: properties: size: @@ -28234,6 +28610,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImage: properties: url: @@ -28244,6 +28621,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -28258,6 +28636,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: @@ -28306,6 +28685,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 @@ -28337,6 +28717,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeCardBrand: enum: - Visa @@ -28362,6 +28743,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 @@ -28381,6 +28763,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPaypalDetails: properties: orderId: @@ -28403,11 +28786,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: @@ -28422,6 +28807,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsExtrasItemType: enum: - discount @@ -28446,6 +28832,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: @@ -28463,6 +28850,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsTotal: docs: The total price properties: @@ -28477,6 +28865,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: @@ -28491,6 +28880,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemDownloadFilesItem: properties: id: @@ -28506,6 +28896,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItem: properties: orderId: @@ -28642,6 +29033,7 @@ Required scope | `ecommerce:write` docs: An array of downloadable file objects. source: openapi: ../openapi.yml + inline: true OrdersListResponsePagination: docs: Pagination object properties: @@ -28656,6 +29048,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true OrdersListResponse: docs: Results from order list properties: @@ -28709,6 +29102,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: @@ -28723,6 +29117,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: @@ -28737,6 +29132,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseAllAddressesItemType: enum: - shipping @@ -28787,6 +29183,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseShippingAddressType: enum: - shipping @@ -28837,6 +29234,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseBillingAddressType: enum: - shipping @@ -28887,6 +29285,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: @@ -28900,6 +29299,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -28914,6 +29314,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -28933,6 +29334,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -28959,6 +29361,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImage: properties: url: @@ -28969,6 +29372,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -28983,6 +29387,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: @@ -29031,6 +29436,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 @@ -29062,6 +29468,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeCardBrand: enum: - Visa @@ -29087,6 +29494,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 @@ -29106,6 +29514,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersGetResponsePaypalDetails: properties: orderId: @@ -29128,11 +29537,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: @@ -29147,6 +29558,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsExtrasItemType: enum: - discount @@ -29171,6 +29583,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: @@ -29188,6 +29601,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsTotal: docs: The total price properties: @@ -29202,6 +29616,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: @@ -29216,6 +29631,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersGetResponseDownloadFilesItem: properties: id: @@ -29231,6 +29647,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersGetResponse: properties: orderId: @@ -29409,6 +29826,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: @@ -29423,6 +29841,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: @@ -29437,6 +29856,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseAllAddressesItemType: enum: - shipping @@ -29487,6 +29907,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseShippingAddressType: enum: - shipping @@ -29537,6 +29958,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseBillingAddressType: enum: - shipping @@ -29587,6 +30009,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: @@ -29600,6 +30023,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -29614,6 +30038,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -29633,6 +30058,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -29659,6 +30085,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImage: properties: url: @@ -29669,6 +30096,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -29683,6 +30111,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: @@ -29731,6 +30160,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 @@ -29762,6 +30192,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeCardBrand: enum: - Visa @@ -29787,6 +30218,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 @@ -29806,6 +30238,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePaypalDetails: properties: orderId: @@ -29828,11 +30261,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: @@ -29847,6 +30282,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsExtrasItemType: enum: - discount @@ -29871,6 +30307,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: @@ -29888,6 +30325,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsTotal: docs: The total price properties: @@ -29902,6 +30340,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: @@ -29916,6 +30355,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseDownloadFilesItem: properties: id: @@ -29931,6 +30371,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateResponse: properties: orderId: @@ -30109,6 +30550,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: @@ -30123,6 +30565,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: @@ -30137,6 +30580,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseAllAddressesItemType: enum: - shipping @@ -30187,6 +30631,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseShippingAddressType: enum: - shipping @@ -30237,6 +30682,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseBillingAddressType: enum: - shipping @@ -30287,6 +30733,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: @@ -30300,6 +30747,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -30314,6 +30762,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -30333,6 +30782,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -30359,6 +30809,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -30369,6 +30820,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -30383,6 +30835,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: @@ -30431,6 +30884,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 @@ -30462,6 +30916,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeCardBrand: enum: - Visa @@ -30487,6 +30942,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 @@ -30506,6 +30962,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePaypalDetails: properties: orderId: @@ -30528,11 +30985,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: @@ -30547,6 +31006,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsExtrasItemType: enum: - discount @@ -30571,6 +31031,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: @@ -30588,6 +31049,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsTotal: docs: The total price properties: @@ -30602,6 +31064,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: @@ -30616,6 +31079,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseDownloadFilesItem: properties: id: @@ -30631,6 +31095,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponse: properties: orderId: @@ -30809,6 +31274,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: @@ -30823,6 +31289,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: @@ -30837,6 +31304,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseAllAddressesItemType: enum: - shipping @@ -30887,6 +31355,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseShippingAddressType: enum: - shipping @@ -30937,6 +31406,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseBillingAddressType: enum: - shipping @@ -30987,6 +31457,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: @@ -31000,6 +31471,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -31014,6 +31486,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -31033,6 +31506,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -31059,6 +31533,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -31070,6 +31545,7 @@ Required scope | `ecommerce:write` optional source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -31084,6 +31560,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: @@ -31132,6 +31609,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 @@ -31163,6 +31641,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeCardBrand: enum: - Visa @@ -31188,6 +31667,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 @@ -31207,6 +31687,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePaypalDetails: properties: orderId: @@ -31229,11 +31710,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: @@ -31248,6 +31731,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsExtrasItemType: enum: - discount @@ -31272,6 +31756,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: @@ -31289,6 +31774,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsTotal: docs: The total price properties: @@ -31303,6 +31789,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: @@ -31317,6 +31804,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseDownloadFilesItem: properties: id: @@ -31332,6 +31820,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponse: properties: orderId: @@ -31518,6 +32007,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: @@ -31532,6 +32022,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: @@ -31546,6 +32037,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseAllAddressesItemType: enum: - shipping @@ -31596,6 +32088,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseShippingAddressType: enum: - shipping @@ -31646,6 +32139,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseBillingAddressType: enum: - shipping @@ -31696,6 +32190,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: @@ -31709,6 +32204,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -31723,6 +32219,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -31742,6 +32239,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -31768,6 +32266,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImage: properties: url: @@ -31778,6 +32277,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -31792,6 +32292,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: @@ -31840,6 +32341,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 @@ -31871,6 +32373,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeCardBrand: enum: - Visa @@ -31896,6 +32399,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 @@ -31915,6 +32419,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePaypalDetails: properties: orderId: @@ -31937,11 +32442,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: @@ -31956,6 +32463,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsExtrasItemType: enum: - discount @@ -31980,6 +32488,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: @@ -31997,6 +32506,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsTotal: docs: The total price properties: @@ -32011,6 +32521,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: @@ -32025,6 +32536,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersRefundResponseDownloadFilesItem: properties: id: @@ -32040,6 +32552,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersRefundResponse: properties: orderId: @@ -32218,6 +32731,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: @@ -32232,6 +32746,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: @@ -32246,6 +32761,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadAllAddressesItemType: enum: - shipping @@ -32296,6 +32812,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadShippingAddressType: enum: - shipping @@ -32346,6 +32863,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadBillingAddressType: enum: - shipping @@ -32396,6 +32914,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: @@ -32409,6 +32928,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -32423,6 +32943,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -32442,6 +32963,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -32468,6 +32990,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImage: properties: url: @@ -32478,6 +33001,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -32492,6 +33016,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: @@ -32540,6 +33065,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 @@ -32571,6 +33097,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeCardBrand: enum: - Visa @@ -32596,6 +33123,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 @@ -32615,6 +33143,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPaypalDetails: properties: orderId: @@ -32637,11 +33166,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: @@ -32656,6 +33187,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsExtrasItemType: enum: - discount @@ -32680,6 +33212,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: @@ -32697,6 +33230,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsTotal: docs: The total price properties: @@ -32711,6 +33245,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: @@ -32725,6 +33260,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadDownloadFilesItem: properties: id: @@ -32740,6 +33276,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommNewOrderPayload: properties: orderId: @@ -32918,6 +33455,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: @@ -32932,6 +33470,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: @@ -32946,6 +33485,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadAllAddressesItemType: enum: - shipping @@ -32996,6 +33536,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadShippingAddressType: enum: - shipping @@ -33046,6 +33587,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadBillingAddressType: enum: - shipping @@ -33096,6 +33638,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: @@ -33109,6 +33652,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -33123,6 +33667,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -33142,6 +33687,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -33168,6 +33714,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImage: properties: url: @@ -33178,6 +33725,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -33192,6 +33740,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: @@ -33240,6 +33789,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 @@ -33271,6 +33821,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeCardBrand: enum: - Visa @@ -33296,6 +33847,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 @@ -33315,6 +33867,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPaypalDetails: properties: orderId: @@ -33337,11 +33890,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: @@ -33356,6 +33911,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsExtrasItemType: enum: - discount @@ -33380,6 +33936,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: @@ -33397,6 +33954,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsTotal: docs: The total price properties: @@ -33411,6 +33969,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: @@ -33425,6 +33984,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadDownloadFilesItem: properties: id: @@ -33440,6 +34000,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayload: properties: orderId: @@ -33638,11 +34199,6 @@ service: Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉 acceptedOn: '2024-04-10T13:16:21Z' - fulfilledOn: '2018-12-03T22:06:15Z' - refundedOn: '2018-12-03T22:06:15Z' - disputedOn: '2018-12-03T22:06:15Z' - disputeUpdatedOn: '2018-12-03T22:06:15Z' - disputeLastStatus: warning_needs_response customerPaid: unit: USD value: '5892' @@ -33758,13 +34314,6 @@ service: expires: year: 2025 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -33792,11 +34341,7 @@ service: comment: Example comment to myself orderComment: '' acceptedOn: '2024-03-29T21:29:21Z' - fulfilledOn: '2018-12-03T22:06:15Z' refundedOn: '2024-04-08T18:25:04Z' - disputedOn: '2018-12-03T22:06:15Z' - disputeUpdatedOn: '2018-12-03T22:06:15Z' - disputeLastStatus: warning_needs_response customerPaid: unit: USD value: '5892' @@ -33916,13 +34461,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -34129,12 +34667,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -34144,13 +34680,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -34372,12 +34901,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -34387,13 +34914,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -34604,12 +35124,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -34619,13 +35137,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -34826,12 +35337,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -34841,13 +35350,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -35059,12 +35561,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -35074,13 +35574,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -35629,7 +36122,6 @@ webhooks: "body": { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-03-11T10:42:00Z", "draft": false, "id": "6596da6045e56dee495bcbba", @@ -35642,7 +36134,6 @@ webhooks: "title": "Explore the Cosmos with The Ultimate Guide", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/guide-to-the-galaxy", "seo": { "description": "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels.", @@ -35706,7 +36197,6 @@ webhooks: { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-03-11T10:42:00Z", "draft": false, "id": "6596da6045e56dee495bcbba", @@ -35719,7 +36209,6 @@ webhooks: "title": "Explore the Cosmos with The Ultimate Guide", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/guide-to-the-galaxy", "seo": { "description": "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels.", @@ -35732,7 +36221,6 @@ webhooks: { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-05-25T09:00:00Z", "draft": false, "id": "6596da6045e56dee495bcbad", @@ -35745,7 +36233,6 @@ webhooks: "title": "Towel Day - Don't Panic", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/towel-day", "seo": { "description": "A guide to celebrating Towel Day, in honor of the most massively useful thing an interstellar hitchhiker can have.", @@ -35836,7 +36323,6 @@ webhooks: "body": { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-03-11T10:42:00Z", "draft": false, "id": "6596da6045e56dee495bcbba", @@ -35849,7 +36335,6 @@ webhooks: "title": "Explore the Cosmos with The Ultimate Guide", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/guide-to-the-galaxy", "seo": { "description": "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels.", @@ -36002,6 +36487,7 @@ 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", @@ -36018,6 +36504,7 @@ Required scope | `pages:write` }, "PageCreatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "createdOn": "optional", "pageId": "optional", @@ -36030,6 +36517,7 @@ 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", @@ -36046,6 +36534,7 @@ Required scope | `pages:write` }, "PageDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "deletedOn": "optional", "pageId": "optional", @@ -36058,6 +36547,7 @@ 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", @@ -36074,6 +36564,7 @@ Required scope | `pages:write` }, "PageMetadataUpdatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "lastUpdated": "optional", "pageId": "optional", @@ -36087,6 +36578,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": { @@ -36105,6 +36597,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", @@ -36133,6 +36626,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", @@ -36144,6 +36638,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", @@ -36163,6 +36658,7 @@ Required scope | `pages:write` }, "PagesGetContentResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -36183,6 +36679,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -36259,6 +36756,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", @@ -36285,6 +36783,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", @@ -36301,6 +36800,7 @@ Required scope | `pages:write` }, "PagesListResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "pages": "optional>", "pagination": { @@ -36314,6 +36814,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItem": { "docs": "The Page object", + "inline": true, "properties": { "archived": { "default": false, @@ -36390,6 +36891,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", @@ -36416,6 +36918,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", @@ -36432,6 +36935,7 @@ Required scope | `pages:write` }, "PagesListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -36452,6 +36956,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", @@ -36478,6 +36983,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", @@ -36494,6 +37000,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -36570,6 +37077,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", @@ -36596,6 +37104,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", @@ -36612,6 +37121,7 @@ Required scope | `pages:write` }, "UpdateStaticContentRequestNodesItem": { "docs": undefined, + "inline": true, "properties": { "nodeId": { "docs": "Node UUID", @@ -36628,6 +37138,7 @@ Required scope | `pages:write` }, "UpdateStaticContentResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": { "docs": "A list of error messages, if any.", @@ -36726,6 +37237,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: @@ -36747,6 +37259,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesListResponsePagesItem: docs: The Page object properties: @@ -36810,6 +37323,7 @@ Required scope | `pages:write` docs: Relative path of the published page URL source: openapi: ../openapi.yml + inline: true PagesListResponsePagination: docs: Pagination object properties: @@ -36824,6 +37338,7 @@ Required scope | `pages:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true PagesListResponse: docs: The Page object properties: @@ -36844,6 +37359,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: @@ -36865,6 +37381,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesGetMetadataResponse: docs: The Page object properties: @@ -36939,6 +37456,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: @@ -36960,6 +37478,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponseSeo: docs: SEO-related fields for the Page properties: @@ -36971,6 +37490,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: @@ -36992,6 +37512,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponse: docs: The Page object properties: @@ -37072,6 +37593,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, @@ -37083,6 +37605,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 @@ -37113,6 +37636,7 @@ Required scope | `pages:write` docs: The custom attributes of the node source: openapi: ../openapi.yml + inline: true PagesGetContentResponsePagination: docs: Pagination object properties: @@ -37127,6 +37651,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 @@ -37157,6 +37682,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: @@ -37173,6 +37699,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: @@ -37193,6 +37720,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: @@ -37213,6 +37741,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: @@ -37279,8 +37808,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Guide to the Galaxy slug: guide-to-the-galaxy - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-03-11T10:42:00Z' lastUpdated: '2024-03-11T10:42:42Z' archived: false @@ -37305,8 +37832,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Towel Day Celebrations slug: towel-day - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-05-25T09:00:00Z' lastUpdated: '2024-05-25T09:42:00Z' archived: false @@ -37375,8 +37900,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Guide to the Galaxy slug: guide-to-the-galaxy - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-03-11T10:42:00Z' lastUpdated: '2024-03-11T10:42:42Z' archived: false @@ -37469,8 +37992,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Guide to the Galaxy slug: guide-to-the-galaxy - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-03-11T10:42:00Z' lastUpdated: '2024-03-11T10:42:42Z' archived: false @@ -37876,6 +38397,7 @@ webhooks: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -37896,6 +38418,7 @@ webhooks: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -37932,6 +38455,7 @@ webhooks: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -37968,6 +38492,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -37988,6 +38513,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -38056,6 +38582,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -38100,6 +38627,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -38131,6 +38659,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -39096,6 +39625,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.", @@ -39108,6 +39638,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.", @@ -39164,6 +39695,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", @@ -39184,6 +39716,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", @@ -39336,6 +39869,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -39368,6 +39902,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -39408,6 +39943,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -39436,6 +39972,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -39469,6 +40006,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -39500,6 +40038,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -39516,6 +40055,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", @@ -39532,6 +40072,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -39574,6 +40115,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.", @@ -39630,6 +40172,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", @@ -39650,6 +40193,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", @@ -39791,6 +40335,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -39823,6 +40368,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -39863,6 +40409,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -39891,6 +40438,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -39924,6 +40472,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -39955,6 +40504,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -39982,6 +40532,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40014,6 +40565,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -40054,6 +40606,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40082,6 +40635,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40115,6 +40669,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -40146,6 +40701,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40162,6 +40718,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponse": { "docs": undefined, + "inline": undefined, "properties": { "skus": "optional>", }, @@ -40171,6 +40728,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40203,6 +40761,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -40243,6 +40802,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40271,6 +40831,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40304,6 +40865,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -40335,6 +40897,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40351,6 +40914,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", @@ -40367,6 +40931,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40409,6 +40974,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.", @@ -40465,6 +41031,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", @@ -40485,6 +41052,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", @@ -40626,6 +41194,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40658,6 +41227,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -40698,6 +41268,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40726,6 +41297,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40759,6 +41331,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -40790,6 +41363,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40806,6 +41380,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", @@ -40822,6 +41397,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItem": { "docs": "A product and its SKUs.", + "inline": true, "properties": { "product": { "docs": "The Product object", @@ -40838,6 +41414,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40880,6 +41457,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.", @@ -40936,6 +41514,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", @@ -40956,6 +41535,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", @@ -41097,6 +41677,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41129,6 +41710,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -41169,6 +41751,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41197,6 +41780,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -41230,6 +41814,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -41261,6 +41846,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41277,6 +41863,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -41297,6 +41884,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41339,6 +41927,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.", @@ -41395,6 +41984,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", @@ -41415,6 +42005,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", @@ -41567,6 +42158,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41599,6 +42191,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -41639,6 +42232,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41667,6 +42261,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -41700,6 +42295,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -41731,6 +42327,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41747,6 +42344,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponse": { "docs": "The Product object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41789,6 +42387,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.", @@ -41845,6 +42444,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", @@ -41865,6 +42465,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", @@ -42017,6 +42618,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -42049,6 +42651,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -42089,6 +42692,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42117,6 +42721,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -42150,6 +42755,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -42181,6 +42787,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42197,6 +42804,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponse": { "docs": "The SKU object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -42229,6 +42837,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -42269,6 +42878,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42297,6 +42907,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -42330,6 +42941,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -42361,6 +42973,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42392,6 +43005,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: @@ -42409,6 +43023,7 @@ Required scope | `ecommerce:write` list source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -42524,6 +43139,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProduct: docs: The Product object properties: @@ -42558,6 +43174,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataPrice: docs: price of SKU properties: @@ -42569,6 +43186,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -42580,6 +43198,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -42618,6 +43237,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -42634,6 +43254,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -42669,6 +43290,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: @@ -42692,6 +43314,7 @@ 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: @@ -42703,6 +43326,7 @@ Required scope | `ecommerce:write` docs: A list of SKU Objects source: openapi: ../openapi.yml + inline: true ProductsListResponsePagination: docs: Pagination object properties: @@ -42717,6 +43341,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true ProductsListResponse: docs: Results from product list properties: @@ -42752,6 +43377,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: @@ -42768,6 +43394,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -42882,6 +43509,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProduct: docs: The Product object properties: @@ -42893,6 +43521,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -42904,6 +43533,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -42915,6 +43545,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -42953,6 +43584,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -42969,6 +43601,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43002,6 +43635,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: @@ -43025,6 +43659,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: @@ -43039,6 +43674,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: @@ -43055,6 +43691,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -43170,6 +43807,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProduct: docs: The Product object properties: @@ -43204,6 +43842,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -43215,6 +43854,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -43226,6 +43866,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -43264,6 +43905,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -43280,6 +43922,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43313,6 +43956,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: @@ -43336,6 +43980,7 @@ 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: @@ -43361,6 +44006,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: @@ -43377,6 +44023,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsGetResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -43491,6 +44138,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsGetResponseProduct: docs: The Product object properties: @@ -43525,6 +44173,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -43536,6 +44185,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -43547,6 +44197,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -43585,6 +44236,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -43601,6 +44253,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43634,6 +44287,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: @@ -43657,6 +44311,7 @@ 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: @@ -43690,6 +44345,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: @@ -43706,6 +44362,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -43820,6 +44477,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProduct: docs: The Product object properties: @@ -43854,6 +44512,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -43865,6 +44524,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -43876,6 +44536,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -43914,6 +44575,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -43930,6 +44592,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43963,6 +44626,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: @@ -43986,6 +44650,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: @@ -44000,6 +44665,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: @@ -44016,6 +44682,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataTaxCategory: enum: - value: standard-taxable @@ -44130,6 +44797,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateResponse: docs: The Product object properties: @@ -44183,6 +44851,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44194,6 +44863,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44232,6 +44902,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44248,6 +44919,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44281,6 +44953,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: @@ -44304,6 +44977,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: @@ -44315,6 +44989,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44326,6 +45001,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44364,6 +45040,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44380,6 +45057,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44414,6 +45092,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: @@ -44437,6 +45116,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponse: properties: skus: optional> @@ -44461,6 +45141,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44472,6 +45153,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44510,6 +45192,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44526,6 +45209,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44559,6 +45243,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: @@ -44582,6 +45267,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: @@ -44593,6 +45279,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44604,6 +45291,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44642,6 +45330,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44658,6 +45347,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44691,6 +45381,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: @@ -45358,7 +46049,6 @@ service: "displayName": "Alert", "hostedLocation": "https://cdn.webflow.io/.../alert-0.0.1.js", "id": "alert", - "integrityHash": "integrityHash", "lastUpdated": "lastUpdated", "version": "0.0.1", }, @@ -45368,7 +46058,6 @@ service: "displayName": "Alert", "hostedLocation": "https://cdn.webflow.io/.../alert-0.0.2.js", "id": "alert", - "integrityHash": "integrityHash", "lastUpdated": "lastUpdated", "version": "0.0.2", }, @@ -45520,7 +46209,6 @@ service: "displayName": "Alert", "hostedLocation": "https://uploads-ssl.webflow.com/6258612d1ee792848f805dcf%2F64b6c769ff52ba6c3d904a91%2F660d6e15b3d1696f2d2b1447%2Falert-0.0.1.js", "id": "alert", - "integrityHash": "integrityHash", "lastUpdated": "lastUpdated", "version": "0.0.1", }, @@ -45584,6 +46272,7 @@ service: "types": { "ScriptsListResponse": { "docs": "A list of scripts registered to the site", + "inline": undefined, "properties": { "registeredScripts": "optional>", }, @@ -45593,6 +46282,7 @@ service: }, "ScriptsListResponseRegisteredScriptsItem": { "docs": "Registered custom code for application", + "inline": true, "properties": { "canCopy": { "default": false, @@ -45634,6 +46324,7 @@ service: }, "ScriptsRegisterHostedResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -45675,6 +46366,7 @@ service: }, "ScriptsRegisterInlineResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -45753,6 +46445,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: @@ -45877,7 +46570,6 @@ service: canCopy: false displayName: Alert hostedLocation: https://cdn.webflow.io/.../alert-0.0.1.js - integrityHash: integrityHash createdOn: '2022-10-26T00:28:54.191Z' lastUpdated: lastUpdated version: 0.0.1 @@ -45885,7 +46577,6 @@ service: canCopy: false displayName: Alert hostedLocation: https://cdn.webflow.io/.../alert-0.0.2.js - integrityHash: integrityHash createdOn: '2022-10-26T00:28:54.191Z' lastUpdated: lastUpdated version: 0.0.2 @@ -46050,7 +46741,6 @@ service: displayName: Alert hostedLocation: >- https://uploads-ssl.webflow.com/6258612d1ee792848f805dcf%2F64b6c769ff52ba6c3d904a91%2F660d6e15b3d1696f2d2b1447%2Falert-0.0.1.js - integrityHash: integrityHash createdOn: '2022-10-26T00:28:54.191Z' lastUpdated: lastUpdated version: 0.0.1 @@ -46297,7 +46987,6 @@ service: }, ], }, - "parentFolderId": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", "previewUrl": "https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b742/198110121200.png", "shortName": "paranoid-android", "timeZone": "DeepSpace/Depression", @@ -46337,7 +47026,6 @@ service: }, ], }, - "parentFolderId": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", "previewUrl": "https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b743/198210121200.png", "shortName": "vogon-poetry", "timeZone": "Vogsphere/PoetryHall", @@ -46434,6 +47122,7 @@ 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", @@ -46450,6 +47139,7 @@ service: }, "SitePublishPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "domains": { "docs": "The domains that were published", @@ -46474,6 +47164,7 @@ service: }, "SitesGetCustomDomainResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": "optional>", }, @@ -46483,6 +47174,7 @@ service: }, "SitesGetCustomDomainResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -46499,6 +47191,7 @@ service: }, "SitesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -46555,6 +47248,7 @@ service: }, "SitesGetResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -46571,6 +47265,7 @@ service: }, "SitesGetResponseLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", @@ -46587,6 +47282,7 @@ service: }, "SitesGetResponseLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -46627,6 +47323,7 @@ service: }, "SitesGetResponseLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -46667,6 +47364,7 @@ service: }, "SitesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "sites": "optional>", }, @@ -46676,6 +47374,7 @@ service: }, "SitesListResponseSitesItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -46732,6 +47431,7 @@ service: }, "SitesListResponseSitesItemCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -46748,6 +47448,7 @@ service: }, "SitesListResponseSitesItemLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", @@ -46764,6 +47465,7 @@ service: }, "SitesListResponseSitesItemLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -46804,6 +47506,7 @@ service: }, "SitesListResponseSitesItemLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -46844,6 +47547,7 @@ service: }, "SitesPublishResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": { "docs": "Array of domains objects", @@ -46861,6 +47565,7 @@ service: }, "SitesPublishResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -46918,6 +47623,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -46949,6 +47655,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesSecondaryItem: properties: id: @@ -46979,6 +47686,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocales: properties: primary: @@ -46989,6 +47697,7 @@ service: docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItem: properties: id: @@ -47027,6 +47736,7 @@ service: locales: optional source: openapi: ../openapi.yml + inline: true SitesListResponse: properties: sites: optional> @@ -47042,6 +47752,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -47073,6 +47784,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesSecondaryItem: properties: id: @@ -47103,6 +47815,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocales: properties: primary: @@ -47113,6 +47826,7 @@ service: docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesGetResponse: properties: id: @@ -47161,6 +47875,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetCustomDomainResponse: properties: customDomains: optional> @@ -47176,6 +47891,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesPublishResponse: properties: customDomains: @@ -47204,6 +47920,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: @@ -47290,7 +48007,6 @@ service: previewUrl: >- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b742/198110121200.png timeZone: DeepSpace/Depression - parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6 customDomains: - id: 589a331aa51e760df7ccb89f url: marvin.blog @@ -47321,7 +48037,6 @@ service: previewUrl: >- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b743/198210121200.png timeZone: Vogsphere/PoetryHall - parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6 customDomains: - id: 589a331aa51e760df7ccb8a0 url: vogonpoetry.galaxy @@ -47540,11 +48255,6 @@ webhooks: "event": "cms_collection", "id": "654c16c7b229e56bcf26872d", "lastUpdated": "2023-11-08T23:16:23Z", - "newValue": "newValue", - "payload": { - "key": "value", - }, - "previousValue": "previousValue", "resourceId": "654c16c7b229e56bcf26870c", "resourceName": "foo-bar", "resourceOperation": "CREATED", @@ -47601,6 +48311,7 @@ webhooks: "types": { "ActivityLogsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "items": "optional>", "pagination": { @@ -47614,6 +48325,7 @@ webhooks: }, "ActivityLogsListResponseItemsItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": "optional", "event": "optional", @@ -47645,6 +48357,7 @@ webhooks: }, "ActivityLogsListResponseItemsItemUser": { "docs": undefined, + "inline": true, "properties": { "displayName": "optional", "id": "optional", @@ -47655,6 +48368,7 @@ webhooks: }, "ActivityLogsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -47691,6 +48405,7 @@ webhooks: displayName: optional source: openapi: ../openapi.yml + inline: true ActivityLogsListResponseItemsItem: properties: id: optional @@ -47706,6 +48421,7 @@ webhooks: payload: optional> source: openapi: ../openapi.yml + inline: true ActivityLogsListResponsePagination: docs: Pagination object properties: @@ -47720,6 +48436,7 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true ActivityLogsListResponse: properties: items: optional> @@ -47783,10 +48500,6 @@ service: displayName: John Doe resourceId: 654c16c7b229e56bcf26870c resourceName: foo-bar - newValue: newValue - previousValue: previousValue - payload: - key: value pagination: limit: 25 offset: 0 @@ -47920,7 +48633,6 @@ service: { "createdOn": "2024-04-03T16:49:15Z", "lastUpdated": "2024-04-03T16:49:15Z", - "pageId": "pageId", "scripts": [ { "attributes": { @@ -48099,6 +48811,7 @@ service: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -48119,6 +48832,7 @@ service: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48155,6 +48869,7 @@ service: }, "ScriptsListCustomCodeBlocksResponse": { "docs": "Custom Code Blocks corresponding to where scripts were applied", + "inline": undefined, "properties": { "blocks": "optional>", "pagination": { @@ -48168,6 +48883,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", @@ -48200,6 +48916,7 @@ service: }, "ScriptsListCustomCodeBlocksResponseBlocksItemScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48246,6 +48963,7 @@ service: }, "ScriptsListCustomCodeBlocksResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -48266,6 +48984,7 @@ service: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48302,6 +49021,7 @@ service: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -48322,6 +49042,7 @@ service: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48390,6 +49111,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -48434,6 +49156,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -48465,6 +49188,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -48516,6 +49240,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponseBlocksItem: docs: A specific instance of Custom Code applied to a Site or Page properties: @@ -48542,6 +49267,7 @@ service: docs: The date the Block was most recently updated source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponsePagination: docs: Pagination object properties: @@ -48556,6 +49282,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: @@ -48750,7 +49477,6 @@ service: body: blocks: - siteId: 6258612d1ee792848f805dcf - pageId: pageId type: site scripts: - id: chartjs @@ -48885,6 +49611,7 @@ service: "types": { "TokenAuthorizedByResponse": { "docs": undefined, + "inline": undefined, "properties": { "email": { "docs": "The user's email address", @@ -48915,6 +49642,7 @@ service: }, "TokenIntrospectResponse": { "docs": undefined, + "inline": undefined, "properties": { "application": "optional", "authorization": { @@ -48928,6 +49656,7 @@ service: }, "TokenIntrospectResponseAuthorization": { "docs": "The Authorization object", + "inline": true, "properties": { "authorizedTo": "optional", "createdOn": { @@ -48961,6 +49690,7 @@ service: }, "TokenIntrospectResponseAuthorizationAuthorizedTo": { "docs": undefined, + "inline": true, "properties": { "siteIds": { "docs": "Array of Sites this app is authorized to", @@ -49013,6 +49743,7 @@ service: docs: Array of Users this app is authorized to source: openapi: ../openapi.yml + inline: true TokenIntrospectResponseAuthorization: docs: The Authorization object properties: @@ -49037,6 +49768,7 @@ service: authorizedTo: optional source: openapi: ../openapi.yml + inline: true TokenIntrospectResponse: properties: authorization: @@ -49576,6 +50308,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 @@ -49594,6 +50327,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", @@ -49638,6 +50372,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", @@ -49670,6 +50405,7 @@ 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": "optional", }, @@ -49679,6 +50415,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 @@ -49733,6 +50470,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 @@ -49751,6 +50489,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", @@ -49795,6 +50534,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", @@ -49827,6 +50567,7 @@ 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": "optional", }, @@ -49836,6 +50577,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 @@ -49890,6 +50632,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 @@ -49908,6 +50651,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", @@ -49952,6 +50696,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", @@ -49984,6 +50729,7 @@ 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": "optional", }, @@ -49993,6 +50739,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 @@ -50048,6 +50795,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", @@ -50092,6 +50840,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", @@ -50124,6 +50873,7 @@ 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": "optional", }, @@ -50133,6 +50883,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 @@ -50177,6 +50928,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", @@ -50221,6 +50973,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", @@ -50253,6 +51006,7 @@ 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": "optional", }, @@ -50262,6 +51016,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 @@ -50362,6 +51117,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", @@ -50393,6 +51149,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", @@ -50437,6 +51194,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", @@ -50469,6 +51227,7 @@ 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": "optional", }, @@ -50478,6 +51237,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 @@ -50521,6 +51281,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 @@ -50545,6 +51306,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", @@ -50589,6 +51351,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", @@ -50621,6 +51384,7 @@ 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": "optional", }, @@ -50630,6 +51394,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 @@ -50829,6 +51594,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: @@ -50852,12 +51618,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: optional source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItem: docs: > The fields that define the schema for a given Item are based on the @@ -50894,6 +51662,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UsersListResponse: docs: The list users results properties: @@ -50948,6 +51717,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: @@ -50971,12 +51741,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: optional source: openapi: ../openapi.yml + inline: true UsersGetResponse: docs: > The fields that define the schema for a given Item are based on the @@ -51029,6 +51801,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 @@ -51061,6 +51834,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: @@ -51084,12 +51858,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: optional source: openapi: ../openapi.yml + inline: true UsersUpdateResponse: docs: > The fields that define the schema for a given Item are based on the @@ -51158,6 +51934,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: @@ -51181,12 +51958,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: optional source: openapi: ../openapi.yml + inline: true UsersInviteResponse: docs: > The fields that define the schema for a given Item are based on the @@ -51263,6 +52042,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: @@ -51286,12 +52066,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: optional source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -51328,6 +52110,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UserAccountAddedPayload: properties: triggerType: @@ -51382,6 +52165,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: @@ -51405,12 +52189,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: optional source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -51447,6 +52233,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayload: properties: triggerType: @@ -51501,6 +52288,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: @@ -51524,12 +52312,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: optional source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -51566,6 +52356,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayload: properties: triggerType: @@ -51996,9 +52787,6 @@ webhooks: "response": { "body": { "createdOn": "2022-11-08T23:59:28Z", - "filter": { - "name": "My Form", - }, "id": "582266e0cd48de0f0e3c6d8b", "lastTriggered": "2023-02-08T23:59:28Z", "siteId": "562ac0395358780a1f5e6fbd", @@ -52114,9 +52902,6 @@ webhooks: "response": { "body": { "createdOn": "2022-11-08T23:59:28Z", - "filter": { - "name": "My Form", - }, "id": "582266e0cd48de0f0e3c6d8b", "lastTriggered": "2023-02-08T23:59:28Z", "siteId": "562ac0395358780a1f5e6fbd", @@ -52235,6 +53020,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.", @@ -52285,6 +53071,7 @@ webhooks: }, "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -52340,6 +53127,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.", @@ -52390,6 +53178,7 @@ webhooks: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -52445,6 +53234,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.", @@ -52495,6 +53285,7 @@ webhooks: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Pagination object", @@ -52508,6 +53299,7 @@ webhooks: }, "WebhooksListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -52528,6 +53320,7 @@ webhooks: }, "WebhooksListResponseWebhooksItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -52583,6 +53376,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.", @@ -52648,6 +53442,7 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItemTriggerType: enum: - form_submission @@ -52718,6 +53513,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItem: properties: id: @@ -52789,6 +53585,7 @@ webhooks: docs: Date the Webhook registration was created source: openapi: ../openapi.yml + inline: true WebhooksListResponse: properties: pagination: @@ -52867,6 +53664,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 @@ -52937,6 +53735,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksCreateResponse: properties: id: @@ -53078,6 +53877,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksGetResponse: properties: id: @@ -53313,8 +54113,6 @@ service: url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f workspaceId: 4f4e46fd476ea8c507000001 siteId: 562ac0395358780a1f5e6fbd - filter: - name: My Form lastTriggered: '2023-02-08T23:59:28Z' createdOn: '2022-11-08T23:59:28Z' get: @@ -53348,8 +54146,6 @@ service: url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f workspaceId: 4f4e46fd476ea8c507000001 siteId: 562ac0395358780a1f5e6fbd - filter: - name: My Form lastTriggered: '2023-02-08T23:59:28Z' createdOn: '2022-11-08T23:59:28Z' delete: 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 9ea17ce95a6..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,6 +51,7 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "audiences": [ 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 6adeac7a1c8..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,6 +8,7 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "name": "renamed_id", 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 9827abc0503..c8e236c0355 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 @@ -302,86 +302,7 @@ "headers": [], "response": { "value": { - "properties": { - "result": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "description": { - "value": { - "value": "This menu presents options", - "type": "string" - }, - "type": "primitive" - }, - "errormsg": { - "value": { - "value": "Error: item not found", - "type": "string" - }, - "type": "primitive" - }, - "options": { - "value": [ - { - "properties": { - "description": { - "value": { - "value": "Window display preferences", - "type": "string" - }, - "type": "primitive" - }, - "disabled": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "window_prefs", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "Window Preferences", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "title": { - "value": { - "value": "My Menu", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, + "properties": {}, "type": "object" }, "type": "withoutStreaming" @@ -4177,180 +4098,6 @@ } }, "type": "object" - }, - "txn": { - "properties": { - "_type": { - "value": { - "value": "101", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endorser_write_txn": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - }, - "messages_attach": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_request": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_response": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "transaction_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" } }, "type": "object" @@ -4688,126 +4435,6 @@ ], "type": "map" }, - "value": { - "properties": { - "primary": { - "properties": { - "n": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "rctxt": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "s": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "z": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revocation": { - "properties": { - "g": { - "value": { - "value": "1 1F14F&ECB578F 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "g_dash": { - "value": { - "value": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h": { - "value": { - "value": "1 16675DAE54BFAE8 2 095E45DD417D", - "type": "string" - }, - "type": "primitive" - }, - "h0": { - "value": { - "value": "1 21E5EF9476EAF18 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h1": { - "value": { - "value": "1 236D1D99236090 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h2": { - "value": { - "value": "1 1C3AE8D1F1E277 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h_cap": { - "value": { - "value": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000", - "type": "string" - }, - "type": "primitive" - }, - "htilde": { - "value": { - "value": "1 1D8549E8C0F8 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "pk": { - "value": { - "value": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "u": { - "value": { - "value": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000", - "type": "string" - }, - "type": "primitive" - }, - "y": { - "value": { - "value": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "ver": { "value": { "value": "1.0", @@ -4947,126 +4574,6 @@ ], "type": "map" }, - "value": { - "properties": { - "primary": { - "properties": { - "n": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "rctxt": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "s": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "z": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revocation": { - "properties": { - "g": { - "value": { - "value": "1 1F14F&ECB578F 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "g_dash": { - "value": { - "value": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h": { - "value": { - "value": "1 16675DAE54BFAE8 2 095E45DD417D", - "type": "string" - }, - "type": "primitive" - }, - "h0": { - "value": { - "value": "1 21E5EF9476EAF18 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h1": { - "value": { - "value": "1 236D1D99236090 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h2": { - "value": { - "value": "1 1C3AE8D1F1E277 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "h_cap": { - "value": { - "value": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000", - "type": "string" - }, - "type": "primitive" - }, - "htilde": { - "value": { - "value": "1 1D8549E8C0F8 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "pk": { - "value": { - "value": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D", - "type": "string" - }, - "type": "primitive" - }, - "u": { - "value": { - "value": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000", - "type": "string" - }, - "type": "primitive" - }, - "y": { - "value": { - "value": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "ver": { "value": { "value": "1.0", @@ -7177,112 +6684,6 @@ }, "type": "primitive" }, - "did_doc~attach": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "label": { "value": { "value": "Request to connect with Bob", @@ -8047,147 +7448,7 @@ "headers": [], "response": { "value": { - "properties": { - "results": { - "properties": { - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "disclosures": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "disclosures": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "discovery_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "queries_msg": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "queries": { - "value": [ - { - "properties": { - "feature-type": { - "value": "protocol", - "type": "enum" - }, - "match": { - "value": { - "value": "match", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, + "properties": {}, "type": "object" }, "type": "withoutStreaming" @@ -8640,42 +7901,6 @@ }, "type": "primitive" }, - "disclose": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "protocols": { - "value": [ - { - "properties": { - "pid": { - "value": { - "value": "pid", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "discovery_exchange_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -8683,39 +7908,6 @@ }, "type": "primitive" }, - "query_msg": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "query": { - "value": { - "value": "query", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "state": { "value": { "value": "active", @@ -8840,42 +8032,6 @@ }, "type": "primitive" }, - "disclose": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "protocols": { - "value": [ - { - "properties": { - "pid": { - "value": { - "value": "pid", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "discovery_exchange_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -8883,32 +8039,6 @@ }, "type": "primitive" }, - "query_msg": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "query": { - "value": { - "value": "query", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "state": { "value": { "value": "active", @@ -8956,42 +8086,6 @@ }, "type": "primitive" }, - "disclose": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "protocols": { - "value": [ - { - "properties": { - "pid": { - "value": { - "value": "pid", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "discovery_exchange_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -8999,32 +8093,6 @@ }, "type": "primitive" }, - "query_msg": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "query": { - "value": { - "value": "query", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "state": { "value": { "value": "active", @@ -9275,467 +8343,642 @@ }, "type": "primitive" }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" + "error_msg": { + "value": { + "value": "The front fell off", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "state": { + "value": "done", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Create a credential offer, independent of any proposal or connection", + "audiences": [], + "operationId": "create_free_credential_offer", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "CreateFreeCredentialOfferRequest", + "request": { + "schema": { + "generatedName": "CreateFreeCredentialOfferRequest", + "schema": "V20CredOfferConnFreeRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "CreateFreeCredentialOfferResponse", + "schema": "V20CredExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential-2.0/create-offer", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_issue": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "credential_preview": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/2.0/credential-preview", + "type": "string" }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" + "name": { + "value": { + "value": "favourite_drink", + "type": "string" }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" + "value": { + "value": "martini", + "type": "string" }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "filter": { + "properties": {}, + "type": "object" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "The front fell off", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "state": { + "value": "done", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch all credential exchange records", + "audiences": [], + "operationId": "get_matching_cred_ex_records-v2", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "Connection identifier", + "name": "connection_id", + "schema": { + "generatedName": "GetMatchingCredExRecordsV2RequestConnectionId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingCredExRecordsV2RequestConnectionId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Role assigned in credential exchange", + "name": "role", + "schema": { + "generatedName": "GetMatchingCredExRecordsV2RequestRole", + "value": { + "generatedName": "GetMatchingCredExRecordsV2RequestRole", + "values": [ + { + "generatedName": "issuer", + "value": "issuer", + "casing": {} + }, + { + "generatedName": "holder", + "value": "holder", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Credential exchange state", + "name": "state", + "schema": { + "generatedName": "GetMatchingCredExRecordsV2RequestState", + "value": { + "generatedName": "GetMatchingCredExRecordsV2RequestState", + "values": [ + { + "generatedName": "ProposalSent", + "value": "proposal-sent", + "casing": {} + }, + { + "generatedName": "ProposalReceived", + "value": "proposal-received", + "casing": {} + }, + { + "generatedName": "OfferSent", + "value": "offer-sent", + "casing": {} + }, + { + "generatedName": "OfferReceived", + "value": "offer-received", + "casing": {} + }, + { + "generatedName": "RequestSent", + "value": "request-sent", + "casing": {} + }, + { + "generatedName": "RequestReceived", + "value": "request-received", + "casing": {} + }, + { + "generatedName": "CredentialIssued", + "value": "credential-issued", + "casing": {} + }, + { + "generatedName": "CredentialReceived", + "value": "credential-received", + "casing": {} + }, + { + "generatedName": "done", + "value": "done", + "casing": {} + }, + { + "generatedName": "CredentialRevoked", + "value": "credential-revoked", + "casing": {} + }, + { + "generatedName": "abandoned", + "value": "abandoned", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Thread identifier", + "name": "thread_id", + "schema": { + "generatedName": "GetMatchingCredExRecordsV2RequestThreadId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingCredExRecordsV2RequestThreadId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetMatchingCredExRecordsV2Request", + "response": { + "description": "", + "schema": { + "generatedName": "GetMatchingCredExRecordsV2Response", + "schema": "V20CredExRecordListResult", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/issue-credential-2.0/records", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "results": { + "value": [ + { + "properties": { + "indy": { "properties": { - "attach_id": { + "created_at": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "format": { + "cred_ex_id": { "value": { - "value": "aries/ld-proof-vc-detail@v1.0", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { + }, + "cred_ex_indy_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "byte_count": { + "cred_id_stored": { "value": { - "value": 1234, - "type": "int" + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, "type": "primitive" }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { + "cred_rev_id": { "value": { - "value": "view from doorway, facing east, with lights off", + "value": "12345", "type": "string" }, "type": "primitive" }, - "filename": { + "rev_reg_id": { "value": { - "value": "IMG1092348.png", + "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "type": "string" }, "type": "primitive" }, - "lastmod_time": { + "state": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "active", "type": "string" }, "type": "primitive" }, - "mime-type": { + "updated_at": { "value": { - "value": "image/png", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" } }, "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { + }, + "ld_proof": { "properties": { - "mime-type": { + "created_at": { "value": { - "value": "image/jpeg", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "name": { + "cred_ex_id": { "value": { - "value": "favourite_drink", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "value": { + "cred_ex_ld_proof_id": { "value": { - "value": "martini", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { + }, + "cred_id_stored": { "value": { - "value": "image/jpeg", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "name": { + "state": { "value": { - "value": "favourite_drink", + "value": "active", "type": "string" }, "type": "primitive" }, - "value": { + "updated_at": { "value": { - "value": "martini", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" @@ -9743,390 +8986,112 @@ }, "type": "object" } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } }, "type": "object" }, - "filters~attach": { - "value": [ - { + { + "properties": { + "indy": { "properties": { - "@id": { + "created_at": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "byte_count": { + "cred_ex_id": { "value": { - "value": 1234, - "type": "int" + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, "type": "primitive" }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { + "cred_ex_indy_id": { "value": { - "value": "view from doorway, facing east, with lights off", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "filename": { + "cred_id_stored": { "value": { - "value": "IMG1092348.png", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "lastmod_time": { + "cred_rev_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "12345", "type": "string" }, "type": "primitive" }, - "mime-type": { + "rev_reg_id": { "value": { - "value": "image/png", + "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "type": "string" }, "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { + }, + "state": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "active", "type": "string" }, "type": "primitive" }, - "format": { + "updated_at": { "value": { - "value": "aries/ld-proof-vc-detail@v1.0", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" } }, "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { + }, + "ld_proof": { "properties": { - "attach_id": { + "created_at": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { + "cred_ex_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { + "cred_ex_ld_proof_id": { "value": { - "value": "view from doorway, facing east, with lights off", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "filename": { + "cred_id_stored": { "value": { - "value": "IMG1092348.png", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "lastmod_time": { + "state": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "active", "type": "string" }, "type": "primitive" }, - "mime-type": { + "updated_at": { "value": { - "value": "image/png", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" @@ -10134,58 +9099,11 @@ }, "type": "object" } - ], - "type": "array" + }, + "type": "object" } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" + ], + "type": "array" } }, "type": "object" @@ -10202,40 +9120,39 @@ } }, { - "summary": "Create a credential offer, independent of any proposal or connection", + "summary": "Fetch a single credential exchange record", "audiences": [], - "operationId": "create_free_credential_offer", + "operationId": "get_cred_ex_record", "tags": [ "issue-credential v2.0" ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "CreateFreeCredentialOfferRequest", - "request": { - "schema": { - "generatedName": "CreateFreeCredentialOfferRequest", - "schema": "V20CredOfferConnFreeRequest", + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "GetCredExRecordRequestCredExId", + "groupName": [], + "type": "primitive" + }, "source": { "file": "../openapi.yml", "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetCredExRecordRequest", "response": { "description": "", "schema": { - "generatedName": "CreateFreeCredentialOfferResponse", - "schema": "V20CredExRecord", + "generatedName": "GetCredExRecordResponse", + "schema": "V20CredExRecordDetail", "source": { "file": "../openapi.yml", "type": "openapi" @@ -10252,325 +9169,81 @@ "errors": {}, "server": [], "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/create-offer", + "method": "GET", + "path": "/issue-credential-2.0/records/{cred_ex_id}", "examples": [ { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_issue": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { "value": { - "value": "comment", + "value": "cred_ex_id", "type": "string" }, "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filter": { - "properties": {}, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" } - }, - "type": "object" - }, + } + ], + "queryParameters": [], + "headers": [], "response": { "value": { "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { + "indy": { "properties": { - "@id": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "@type": { + "cred_ex_indy_id": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "comment": { + "cred_id_stored": { "value": { - "value": "comment", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "cred_rev_id": { + "value": { + "value": "12345", + "type": "string" + }, + "type": "primitive" }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "rev_reg_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", + "type": "string" + }, + "type": "primitive" }, - "replacement_id": { + "state": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" @@ -10578,702 +9251,659 @@ }, "type": "object" }, - "cred_offer": { + "ld_proof": { "properties": { - "@id": { + "created_at": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "@type": { + "cred_ex_id": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "comment": { + "cred_ex_ld_proof_id": { "value": { - "value": "comment", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { + "cred_id_stored": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { + }, + "state": { "value": { - "value": "issue-credential/2.0/credential-preview", + "value": "active", "type": "string" }, "type": "primitive" }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Remove an existing credential exchange record", + "audiences": [], + "operationId": "delete_cred_ex_record", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "DeleteCredExRecordRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "DeleteCredExRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "DeleteCredExRecordResponse", + "schema": "V20IssueCredentialModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "DELETE", + "path": "/issue-credential-2.0/records/{cred_ex_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send holder a credential", + "audiences": [], + "operationId": "issue_credential_to_holder", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "IssueCredentialToHolderRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "IssueCredentialToHolderRequest", + "request": { + "schema": { + "generatedName": "IssueCredentialToHolderRequest", + "schema": "V20CredIssueRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "IssueCredentialToHolderResponse", + "schema": "V20CredExRecordDetail", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential-2.0/records/{cred_ex_id}/issue", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "comment": { + "value": { + "value": "comment", + "type": "string" }, - "cred_proposal": { + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "indy": { "properties": { - "@id": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "@type": { + "cred_ex_indy_id": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_id_stored": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "comment": { + "cred_rev_id": { "value": { - "value": "comment", + "value": "12345", "type": "string" }, "type": "primitive" }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } + "rev_reg_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" }, - "cred_request": { + "ld_proof": { "properties": { - "@id": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "@type": { + "cred_ex_ld_proof_id": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "comment": { + "cred_id_stored": { "value": { - "value": "comment", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send a problem report for credential exchange", + "audiences": [], + "operationId": "report_cred_ex_problem", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "ReportCredExProblemRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "ReportCredExProblemRequest", + "request": { + "schema": { + "generatedName": "ReportCredExProblemRequest", + "schema": "V20CredIssueProblemReportRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "ReportCredExProblemResponse", + "schema": "V20IssueCredentialModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential-2.0/records/{cred_ex_id}/problem-report", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "description": { + "value": { + "value": "description", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send holder a credential offer in reference to a proposal with preview", + "audiences": [], + "operationId": "send_credential_offer", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "SendCredentialOfferRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendCredentialOfferRequest", + "request": { + "schema": { + "generatedName": "SendCredentialOfferRequest", + "schema": "V20CredBoundOfferRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendCredentialOfferResponse", + "schema": "V20CredExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential-2.0/records/{cred_ex_id}/send-offer", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": {}, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "error_msg": { "value": { @@ -11337,165 +9967,229 @@ } }, { - "summary": "Fetch all credential exchange records", + "summary": "Send issuer a credential request", "audiences": [], - "operationId": "get_matching_cred_ex_records-v2", + "operationId": "send_credential_request", "tags": [ "issue-credential v2.0" ], - "pathParameters": [], - "queryParameters": [ + "pathParameters": [ { - "description": "Connection identifier", - "name": "connection_id", + "description": "Credential exchange identifier", + "name": "cred_ex_id", "schema": { - "generatedName": "GetMatchingCredExRecordsV2RequestConnectionId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingCredExRecordsV2RequestConnectionId", - "groupName": [], - "type": "primitive" + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" }, + "generatedName": "SendCredentialRequestRequestCredExId", "groupName": [], - "type": "nullable" + "type": "primitive" }, "source": { "file": "../openapi.yml", "type": "openapi" } - }, - { - "description": "Role assigned in credential exchange", - "name": "role", - "schema": { - "generatedName": "GetMatchingCredExRecordsV2RequestRole", - "value": { - "generatedName": "GetMatchingCredExRecordsV2RequestRole", - "values": [ - { - "generatedName": "issuer", - "value": "issuer", - "casing": {} - }, - { - "generatedName": "holder", - "value": "holder", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendCredentialRequestRequest", + "request": { + "schema": { + "generatedName": "SendCredentialRequestRequest", + "schema": "V20CredRequestRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendCredentialRequestResponse", + "schema": "V20CredExRecord", "source": { "file": "../openapi.yml", "type": "openapi" - } + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential-2.0/records/{cred_ex_id}/send-request", + "examples": [ { - "description": "Credential exchange state", - "name": "state", - "schema": { - "generatedName": "GetMatchingCredExRecordsV2RequestState", - "value": { - "generatedName": "GetMatchingCredExRecordsV2RequestState", - "values": [ - { - "generatedName": "ProposalSent", - "value": "proposal-sent", - "casing": {} - }, - { - "generatedName": "ProposalReceived", - "value": "proposal-received", - "casing": {} + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" }, - { - "generatedName": "OfferSent", - "value": "offer-sent", - "casing": {} + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "holder_did": { + "value": { + "value": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", + "type": "string" }, - { - "generatedName": "OfferReceived", - "value": "offer-received", - "casing": {} + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" }, - { - "generatedName": "RequestSent", - "value": "request-sent", - "casing": {} + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" }, - { - "generatedName": "RequestReceived", - "value": "request-received", - "casing": {} + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" }, - { - "generatedName": "CredentialIssued", - "value": "credential-issued", - "casing": {} + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, - { - "generatedName": "CredentialReceived", - "value": "credential-received", - "casing": {} + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" }, - { - "generatedName": "done", + "cred_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "The front fell off", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "state": { "value": "done", - "casing": {} + "type": "enum" }, - { - "generatedName": "CredentialRevoked", - "value": "credential-revoked", - "casing": {} + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, - { - "generatedName": "abandoned", - "value": "abandoned", - "casing": {} + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" }, - "type": "enum" + "type": "object" }, - "groupName": [], - "type": "nullable" + "type": "withoutStreaming" }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Store a received credential", + "audiences": [], + "operationId": "store_received_credential", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [ { - "description": "Thread identifier", - "name": "thread_id", + "description": "Credential exchange identifier", + "name": "cred_ex_id", "schema": { - "generatedName": "GetMatchingCredExRecordsV2RequestThreadId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingCredExRecordsV2RequestThreadId", - "groupName": [], - "type": "primitive" + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" }, + "generatedName": "StoreReceivedCredentialRequestCredExId", "groupName": [], - "type": "nullable" + "type": "primitive" }, "source": { "file": "../openapi.yml", @@ -11503,13 +10197,33 @@ } } ], + "queryParameters": [], "headers": [], - "generatedRequestName": "GetMatchingCredExRecordsV2Request", + "generatedRequestName": "StoreReceivedCredentialRequest", + "request": { + "schema": { + "generatedName": "StoreReceivedCredentialRequest", + "schema": "V20CredStoreRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "GetMatchingCredExRecordsV2Response", - "schema": "V20CredExRecordListResult", + "generatedName": "StoreReceivedCredentialResponse", + "schema": "V20CredExRecordDetail", "source": { "file": "../openapi.yml", "type": "openapi" @@ -11526,26711 +10240,423 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/issue-credential-2.0/records", + "method": "POST", + "path": "/issue-credential-2.0/records/{cred_ex_id}/store", "examples": [ { - "pathParameters": [], + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], "queryParameters": [], "headers": [], + "request": { + "properties": { + "credential_id": { + "value": { + "value": "credential_id", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, "response": { "value": { "properties": { - "results": { - "value": [ - { - "properties": { - "cred_ex_record": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" + "indy": { + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_indy_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_id_stored": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_rev_id": { + "value": { + "value": "12345", + "type": "string" + }, + "type": "primitive" + }, + "rev_reg_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "ld_proof": { + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_ex_ld_proof_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_id_stored": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send holder a credential, automating entire flow", + "audiences": [], + "operationId": "send_free_credential", + "tags": [ + "issue-credential v2.0" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendFreeCredentialRequest", + "request": { + "schema": { + "generatedName": "SendFreeCredentialRequest", + "schema": "V20CredExFree", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendFreeCredentialResponse", + "schema": "V20CredExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential-2.0/send", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_remove": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_preview": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/2.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "indy": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_indy_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ld_proof": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_ld_proof_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - { - "properties": { - "cred_ex_record": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "indy": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_indy_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ld_proof": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_ld_proof_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch a single credential exchange record", - "audiences": [], - "operationId": "get_cred_ex_record", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "GetCredExRecordRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetCredExRecordRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetCredExRecordResponse", - "schema": "V20CredExRecordDetail", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/issue-credential-2.0/records/{cred_ex_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "cred_ex_record": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "indy": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_indy_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ld_proof": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_ld_proof_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Remove an existing credential exchange record", - "audiences": [], - "operationId": "delete_cred_ex_record", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "DeleteCredExRecordRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "DeleteCredExRecordRequest", - "response": { - "description": "", - "schema": { - "generatedName": "DeleteCredExRecordResponse", - "schema": "V20IssueCredentialModuleResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "DELETE", - "path": "/issue-credential-2.0/records/{cred_ex_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential", - "audiences": [], - "operationId": "issue_credential_to_holder", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "IssueCredentialToHolderRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "IssueCredentialToHolderRequest", - "request": { - "schema": { - "generatedName": "IssueCredentialToHolderRequest", - "schema": "V20CredIssueRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "IssueCredentialToHolderResponse", - "schema": "V20CredExRecordDetail", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/records/{cred_ex_id}/issue", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "cred_ex_record": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "indy": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_indy_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ld_proof": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_ld_proof_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send a problem report for credential exchange", - "audiences": [], - "operationId": "report_cred_ex_problem", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "ReportCredExProblemRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "ReportCredExProblemRequest", - "request": { - "schema": { - "generatedName": "ReportCredExProblemRequest", - "schema": "V20CredIssueProblemReportRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "ReportCredExProblemResponse", - "schema": "V20IssueCredentialModuleResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/records/{cred_ex_id}/problem-report", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "description": { - "value": { - "value": "description", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential offer in reference to a proposal with preview", - "audiences": [], - "operationId": "send_credential_offer", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "SendCredentialOfferRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendCredentialOfferRequest", - "request": { - "schema": { - "generatedName": "SendCredentialOfferRequest", - "schema": "V20CredBoundOfferRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendCredentialOfferResponse", - "schema": "V20CredExRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/records/{cred_ex_id}/send-offer", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "counter_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send issuer a credential request", - "audiences": [], - "operationId": "send_credential_request", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "SendCredentialRequestRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendCredentialRequestRequest", - "request": { - "schema": { - "generatedName": "SendCredentialRequestRequest", - "schema": "V20CredRequestRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendCredentialRequestResponse", - "schema": "V20CredExRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/records/{cred_ex_id}/send-request", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "holder_did": { - "value": { - "value": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Store a received credential", - "audiences": [], - "operationId": "store_received_credential", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "StoreReceivedCredentialRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "StoreReceivedCredentialRequest", - "request": { - "schema": { - "generatedName": "StoreReceivedCredentialRequest", - "schema": "V20CredStoreRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "StoreReceivedCredentialResponse", - "schema": "V20CredExRecordDetail", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/records/{cred_ex_id}/store", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "credential_id": { - "value": { - "value": "credential_id", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "cred_ex_record": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "indy": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_indy_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ld_proof": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_ld_proof_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_id_stored": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential, automating entire flow", - "audiences": [], - "operationId": "send_free_credential", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialRequest", - "schema": "V20CredExFree", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialResponse", - "schema": "V20CredExRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/send", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filter": { - "properties": {}, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "verification_method": { - "value": { - "value": "verification_method", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential offer, independent of any proposal", - "audiences": [], - "operationId": "send_free_credential_offer", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialOfferRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialOfferRequest", - "schema": "V20CredOfferRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialOfferResponse", - "schema": "V20CredExRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/send-offer", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_issue": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filter": { - "properties": {}, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send issuer a credential proposal", - "audiences": [], - "operationId": "send_free_credential_proposal", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialProposalRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialProposalRequest", - "schema": "V20CredExFree", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialProposalResponse", - "schema": "V20CredExRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/send-proposal", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filter": { - "properties": {}, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "verification_method": { - "value": { - "value": "verification_method", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send issuer a credential request not bound to an existing thread. Indy credentials cannot start at a request", - "audiences": [], - "operationId": "send_free_credential_request", - "tags": [ - "issue-credential v2.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialRequestRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialRequestRequest", - "schema": "V20CredRequestFree", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialRequestResponse", - "schema": "V20CredExRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential-2.0/send-request", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "filter": { - "properties": { - "ld_proof": { - "properties": { - "credential": { - "properties": { - "@context": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - } - ], - "type": "array" - }, - "credentialSubject": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "issuanceDate": { - "value": { - "value": "2010-01-01 19:23:24+00:00", - "type": "string" - }, - "type": "primitive" - }, - "issuer": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": { - "value": [ - { - "value": { - "value": "VerifiableCredential", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "AlumniCredential", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "options": { - "properties": { - "proofType": { - "value": { - "value": "Ed25519Signature2018", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "holder_did": { - "value": { - "value": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "cred_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_issue": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credentials~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_offer": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "replacement_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "cred_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/2.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "filters~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "cred_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "aries/ld-proof-vc-detail@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "The front fell off", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "state": { - "value": "done", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Create a credential record without sending (generally for use with Out-Of-Band)", - "audiences": [], - "operationId": "create_credential_record", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "CreateCredentialRecordRequest", - "request": { - "schema": { - "generatedName": "CreateCredentialRecordRequest", - "schema": "V10CredentialCreate", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "CreateCredentialRecordResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/create", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "preferences", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Create a credential offer, independent of any proposal or connection", - "audiences": [], - "operationId": "create_free_credential_offer", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "CreateFreeCredentialOfferRequest", - "request": { - "schema": { - "generatedName": "CreateFreeCredentialOfferRequest", - "schema": "V10CredentialConnFreeOfferRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "CreateFreeCredentialOfferResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/create-offer", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_issue": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch all credential exchange records", - "audiences": [], - "operationId": "get_matching_cred_ex_records", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "Connection identifier", - "name": "connection_id", - "schema": { - "generatedName": "GetMatchingCredExRecordsRequestConnectionId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingCredExRecordsRequestConnectionId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Role assigned in credential exchange", - "name": "role", - "schema": { - "generatedName": "GetMatchingCredExRecordsRequestRole", - "value": { - "generatedName": "GetMatchingCredExRecordsRequestRole", - "values": [ - { - "generatedName": "issuer", - "value": "issuer", - "casing": {} - }, - { - "generatedName": "holder", - "value": "holder", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Credential exchange state", - "name": "state", - "schema": { - "generatedName": "GetMatchingCredExRecordsRequestState", - "value": { - "generatedName": "GetMatchingCredExRecordsRequestState", - "values": [ - { - "generatedName": "proposal_sent", - "value": "proposal_sent", - "casing": {} - }, - { - "generatedName": "proposal_received", - "value": "proposal_received", - "casing": {} - }, - { - "generatedName": "offer_sent", - "value": "offer_sent", - "casing": {} - }, - { - "generatedName": "offer_received", - "value": "offer_received", - "casing": {} - }, - { - "generatedName": "request_sent", - "value": "request_sent", - "casing": {} - }, - { - "generatedName": "request_received", - "value": "request_received", - "casing": {} - }, - { - "generatedName": "credential_issued", - "value": "credential_issued", - "casing": {} - }, - { - "generatedName": "credential_received", - "value": "credential_received", - "casing": {} - }, - { - "generatedName": "credential_acked", - "value": "credential_acked", - "casing": {} - }, - { - "generatedName": "credential_revoked", - "value": "credential_revoked", - "casing": {} - }, - { - "generatedName": "abandoned", - "value": "abandoned", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Thread identifier", - "name": "thread_id", - "schema": { - "generatedName": "GetMatchingCredExRecordsRequestThreadId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingCredExRecordsRequestThreadId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetMatchingCredExRecordsRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetMatchingCredExRecordsResponse", - "schema": "V10CredentialExchangeListResult", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/issue-credential/records", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "results": { - "value": [ - { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch a single credential exchange record", - "audiences": [], - "operationId": "get_cred_ex_record", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "GetCredExRecordRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetCredExRecordRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetCredExRecordResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/issue-credential/records/{cred_ex_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Remove an existing credential exchange record", - "audiences": [], - "operationId": "delete_cred_ex_record", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "DeleteCredExRecordRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "DeleteCredExRecordRequest", - "response": { - "description": "", - "schema": { - "generatedName": "DeleteCredExRecordResponse", - "schema": "IssueCredentialModuleResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "DELETE", - "path": "/issue-credential/records/{cred_ex_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential", - "audiences": [], - "operationId": "issue_credential_to_holder", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "IssueCredentialToHolderRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "IssueCredentialToHolderRequest", - "request": { - "schema": { - "generatedName": "IssueCredentialToHolderRequest", - "schema": "V10CredentialIssueRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "IssueCredentialToHolderResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/records/{cred_ex_id}/issue", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send a problem report for credential exchange", - "audiences": [], - "operationId": "report_cred_ex_problem", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "ReportCredExProblemRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "ReportCredExProblemRequest", - "request": { - "schema": { - "generatedName": "ReportCredExProblemRequest", - "schema": "V10CredentialProblemReportRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "ReportCredExProblemResponse", - "schema": "IssueCredentialModuleResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/records/{cred_ex_id}/problem-report", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "description": { - "value": { - "value": "description", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential offer in reference to a proposal with preview", - "audiences": [], - "operationId": "send_credential_offer", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "SendCredentialOfferRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendCredentialOfferRequest", - "request": { - "schema": { - "generatedName": "SendCredentialOfferRequest", - "schema": "V10CredentialBoundOfferRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendCredentialOfferResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/records/{cred_ex_id}/send-offer", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": {}, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send issuer a credential request", - "audiences": [], - "operationId": "send_credential_request", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "SendCredentialRequestRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendCredentialRequestRequest", - "response": { - "description": "", - "schema": { - "generatedName": "SendCredentialRequestResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/records/{cred_ex_id}/send-request", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Store a received credential", - "audiences": [], - "operationId": "store_received_credential", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [ - { - "description": "Credential exchange identifier", - "name": "cred_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "StoreReceivedCredentialRequestCredExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "StoreReceivedCredentialRequest", - "request": { - "schema": { - "generatedName": "StoreReceivedCredentialRequest", - "schema": "V10CredentialStoreRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "StoreReceivedCredentialResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/records/{cred_ex_id}/store", - "examples": [ - { - "pathParameters": [ - { - "name": "cred_ex_id", - "value": { - "value": { - "value": "cred_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "credential_id": { - "value": { - "value": "credential_id", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential, automating entire flow", - "audiences": [], - "operationId": "send_free_credential", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialRequest", - "schema": "V10CredentialProposalRequestMand", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/send", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "preferences", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send holder a credential offer, independent of any proposal", - "audiences": [], - "operationId": "send_free_credential_offer", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialOfferRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialOfferRequest", - "schema": "V10CredentialFreeOfferRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialOfferResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/send-offer", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_issue": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send issuer a credential proposal", - "audiences": [], - "operationId": "send_free_credential_proposal", - "tags": [ - "issue-credential v1.0" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendFreeCredentialProposalRequest", - "request": { - "schema": { - "generatedName": "SendFreeCredentialProposalRequest", - "schema": "V10CredentialProposalRequestOpt", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendFreeCredentialProposalResponse", - "schema": "V10CredentialExchange", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/issue-credential/send-proposal", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "auto_remove": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "preferences", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_issue": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_offer": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_remove": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "credential": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_definition_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "credential_offer": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "key_correctness_proof": { - "properties": { - "c": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "xr_cap": { - "value": [ - { - "value": [ - { - "value": { - "value": "xr_cap", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - ], - "type": "array" - }, - "xz_cap": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_offer_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "credential_preview": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "offers~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "credential_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "credential_proposal": { - "properties": { - "@type": { - "value": { - "value": "issue-credential/1.0/credential-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "schema_issuer_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "schema_name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "schema_version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "credential_request": { - "properties": { - "blinded_ms": { - "properties": {}, - "type": "object" - }, - "blinded_ms_correctness_proof": { - "properties": {}, - "type": "object" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "prover_did": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "error_msg": { - "value": { - "value": "Credential definition identifier is not set in proposal", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "parent_thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "raw_credential": { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "signature": { - "properties": {}, - "type": "object" - }, - "signature_correctness_proof": { - "properties": {}, - "type": "object" - }, - "values": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "encoded": { - "value": { - "value": "-1", - "type": "string" - }, - "type": "primitive" - }, - "raw": { - "value": { - "value": "raw", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - }, - "revoc_reg_id": { - "value": { - "value": "revoc_reg_id", - "type": "string" - }, - "type": "primitive" - }, - "revocation_id": { - "value": { - "value": "revocation_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": "issuer", - "type": "enum" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "credential_acked", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Sign a JSON-LD structure and return it", - "audiences": [], - "operationId": "sign", - "tags": [ - "jsonld" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SignRequest", - "request": { - "schema": { - "generatedName": "SignRequest", - "schema": "SignRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SignResponse", - "schema": "SignResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/jsonld/sign", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "doc": { - "properties": { - "credential": { - "properties": {}, - "type": "object" - }, - "options": { - "properties": { - "proofPurpose": { - "value": { - "value": "proofPurpose", - "type": "string" - }, - "type": "primitive" - }, - "verificationMethod": { - "value": { - "value": "verificationMethod", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "verkey": { - "value": { - "value": "verkey", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "error": { - "value": { - "value": "error", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Verify a JSON-LD structure.", - "audiences": [], - "operationId": "verify", - "tags": [ - "jsonld" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "VerifyRequest", - "request": { - "schema": { - "generatedName": "VerifyRequest", - "schema": "VerifyRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "VerifyResponse", - "schema": "VerifyResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/jsonld/verify", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "doc": { - "properties": { - "proof": { - "properties": { - "proofPurpose": { - "value": { - "value": "proofPurpose", - "type": "string" - }, - "type": "primitive" - }, - "verificationMethod": { - "value": { - "value": "verificationMethod", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "verkey": { - "value": { - "value": "verkey", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "error": { - "value": { - "value": "error", - "type": "string" - }, - "type": "primitive" - }, - "valid": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Get the endpoint for a DID from the ledger.", - "audiences": [], - "operationId": "get_published_did_endpoint", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "DID of interest", - "name": "did", - "schema": { - "schema": { - "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", - "type": "string" - }, - "generatedName": "GetPublishedDidEndpointRequestDid", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Endpoint type of interest (default 'Endpoint')", - "name": "endpoint_type", - "schema": { - "generatedName": "GetPublishedDidEndpointRequestEndpointType", - "value": { - "generatedName": "GetPublishedDidEndpointRequestEndpointType", - "values": [ - { - "generatedName": "Endpoint", - "value": "Endpoint", - "casing": {} - }, - { - "generatedName": "Profile", - "value": "Profile", - "casing": {} - }, - { - "generatedName": "LinkedDomains", - "value": "LinkedDomains", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetPublishedDidEndpointRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetPublishedDidEndpointResponse", - "schema": "GetDIDEndpointResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/ledger/did-endpoint", - "examples": [ - { - "pathParameters": [], - "queryParameters": [ - { - "name": "did", - "value": { - "value": { - "value": "did", - "type": "string" - }, - "type": "primitive" - } - } - ], - "headers": [], - "response": { - "value": { - "properties": { - "endpoint": { - "value": { - "value": "https://myhost:8021", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Get the verkey for a DID from the ledger.", - "audiences": [], - "operationId": "get_did_verkey", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "DID of interest", - "name": "did", - "schema": { - "schema": { - "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", - "type": "string" - }, - "generatedName": "GetDidVerkeyRequestDid", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetDidVerkeyRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetDidVerkeyResponse", - "schema": "GetDIDVerkeyResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/ledger/did-verkey", - "examples": [ - { - "pathParameters": [], - "queryParameters": [ - { - "name": "did", - "value": { - "value": { - "value": "did", - "type": "string" - }, - "type": "primitive" - } - } - ], - "headers": [], - "response": { - "value": { - "properties": { - "verkey": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Get the role from the NYM registration of a public DID.", - "audiences": [], - "operationId": "get_did_nym_role", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "DID of interest", - "name": "did", - "schema": { - "schema": { - "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", - "type": "string" - }, - "generatedName": "GetDidNymRoleRequestDid", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetDidNymRoleRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetDidNymRoleResponse", - "schema": "GetNymRoleResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/ledger/get-nym-role", - "examples": [ - { - "pathParameters": [], - "queryParameters": [ - { - "name": "did", - "value": { - "value": { - "value": "did", - "type": "string" - }, - "type": "primitive" - } - } - ], - "headers": [], - "response": { - "value": { - "properties": { - "role": { - "value": "ENDORSER", - "type": "enum" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch the multiple ledger configuration currently in use", - "audiences": [], - "operationId": "get_multiple_ledger_config", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetMultipleLedgerConfigRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetMultipleLedgerConfigResponse", - "schema": "LedgerConfigList", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/ledger/multiple/config", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "ledger_config_list": { - "value": [ - { - "properties": { - "genesis_file": { - "value": { - "value": "genesis_file", - "type": "string" - }, - "type": "primitive" - }, - "genesis_transactions": { - "value": { - "value": "genesis_transactions", - "type": "string" - }, - "type": "primitive" - }, - "genesis_url": { - "value": { - "value": "genesis_url", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "id", - "type": "string" - }, - "type": "primitive" - }, - "is_production": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "genesis_file": { - "value": { - "value": "genesis_file", - "type": "string" - }, - "type": "primitive" - }, - "genesis_transactions": { - "value": { - "value": "genesis_transactions", - "type": "string" - }, - "type": "primitive" - }, - "genesis_url": { - "value": { - "value": "genesis_url", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "id", - "type": "string" - }, - "type": "primitive" - }, - "is_production": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch the current write ledger", - "audiences": [], - "operationId": "get_write_ledger", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetWriteLedgerRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetWriteLedgerResponse", - "schema": "WriteLedgerRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/ledger/multiple/get-write-ledger", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "ledger_id": { - "value": { - "value": "ledger_id", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send a NYM registration to the ledger.", - "audiences": [], - "operationId": "register_nym", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "DID to register", - "name": "did", - "schema": { - "schema": { - "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", - "type": "string" - }, - "generatedName": "RegisterNymRequestDid", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Verification key", - "name": "verkey", - "schema": { - "schema": { - "pattern": "^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$", - "type": "string" - }, - "generatedName": "RegisterNymRequestVerkey", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Alias", - "name": "alias", - "schema": { - "generatedName": "RegisterNymRequestAlias", - "value": { - "schema": { - "type": "string" - }, - "generatedName": "RegisterNymRequestAlias", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Connection identifier", - "name": "conn_id", - "schema": { - "generatedName": "RegisterNymRequestConnId", - "value": { - "schema": { - "type": "string" - }, - "generatedName": "RegisterNymRequestConnId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Create Transaction For Endorser's signature", - "name": "create_transaction_for_endorser", - "schema": { - "generatedName": "RegisterNymRequestCreateTransactionForEndorser", - "value": { - "schema": { - "type": "boolean" - }, - "generatedName": "RegisterNymRequestCreateTransactionForEndorser", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Role", - "name": "role", - "schema": { - "generatedName": "RegisterNymRequestRole", - "value": { - "generatedName": "RegisterNymRequestRole", - "values": [ - { - "generatedName": "STEWARD", - "value": "STEWARD", - "casing": {} - }, - { - "generatedName": "TRUSTEE", - "value": "TRUSTEE", - "casing": {} - }, - { - "generatedName": "ENDORSER", - "value": "ENDORSER", - "casing": {} - }, - { - "generatedName": "NETWORK_MONITOR", - "value": "NETWORK_MONITOR", - "casing": {} - }, - { - "generatedName": "reset", - "value": "reset", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "RegisterNymRequest", - "response": { - "description": "", - "schema": { - "generatedName": "RegisterNymResponse", - "schema": "TxnOrRegisterLedgerNymResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/ledger/register-nym", - "examples": [ - { - "pathParameters": [], - "queryParameters": [ - { - "name": "did", - "value": { - "value": { - "value": "did", - "type": "string" - }, - "type": "primitive" - } - }, - { - "name": "verkey", - "value": { - "value": { - "value": "verkey", - "type": "string" - }, - "type": "primitive" - } - } - ], - "headers": [], - "response": { - "value": { - "properties": { - "success": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "txn": { - "properties": { - "_type": { - "value": { - "value": "101", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endorser_write_txn": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - }, - "messages_attach": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_request": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_response": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "transaction_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Rotate key pair for public DID.", - "audiences": [], - "operationId": "rotate_public_did_keypair", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "RotatePublicDidKeypairRequest", - "response": { - "description": "", - "schema": { - "generatedName": "RotatePublicDidKeypairResponse", - "schema": "LedgerModulesResult", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "PATCH", - "path": "/ledger/rotate-public-did-keypair", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch the current transaction author agreement, if any", - "audiences": [], - "operationId": "get_taa", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetTaaRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetTaaResponse", - "schema": "TAAResult", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/ledger/taa", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "result": { - "properties": { - "aml_record": { - "properties": { - "aml": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "aml", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "amlContext": { - "value": { - "value": "amlContext", - "type": "string" - }, - "type": "primitive" - }, - "version": { - "value": { - "value": "version", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "taa_accepted": { - "properties": { - "mechanism": { - "value": { - "value": "mechanism", - "type": "string" - }, - "type": "primitive" - }, - "time": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "taa_record": { - "properties": { - "digest": { - "value": { - "value": "digest", - "type": "string" - }, - "type": "primitive" - }, - "text": { - "value": { - "value": "text", - "type": "string" - }, - "type": "primitive" - }, - "version": { - "value": { - "value": "version", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "taa_required": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Accept the transaction author agreement", - "audiences": [], - "operationId": "accept_taa", - "tags": [ - "ledger" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "AcceptTaaRequest", - "request": { - "schema": { - "generatedName": "AcceptTaaRequest", - "schema": "TAAAccept", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "AcceptTaaResponse", - "schema": "LedgerModulesResult", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/ledger/taa/accept", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "mechanism": { - "value": { - "value": "mechanism", - "type": "string" - }, - "type": "primitive" - }, - "text": { - "value": { - "value": "text", - "type": "string" - }, - "type": "primitive" - }, - "version": { - "value": { - "value": "version", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Get default mediator", - "audiences": [], - "operationId": "get_default_mediator", - "tags": [ - "mediation" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetDefaultMediatorRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetDefaultMediatorResponse", - "schema": "MediationRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/mediation/default-mediator", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Clear default mediator", - "audiences": [], - "operationId": "clear_default_mediator", - "tags": [ - "mediation" - ], - "pathParameters": [], - "queryParameters": [], - "headers": [], - "generatedRequestName": "ClearDefaultMediatorRequest", - "response": { - "description": "", - "schema": { - "generatedName": "ClearDefaultMediatorResponse", - "schema": "MediationRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "DELETE", - "path": "/mediation/default-mediator", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Retrieve keylists by connection or role", - "audiences": [], - "operationId": "get_keylists", - "tags": [ - "mediation" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "Connection identifier (optional)", - "name": "conn_id", - "schema": { - "generatedName": "GetKeylistsRequestConnId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetKeylistsRequestConnId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Filer on role, 'client' for keys mediated by other agents, 'server' for keys mediated by this agent", - "name": "role", - "schema": { - "generatedName": "GetKeylistsRequestRole", - "value": { - "generatedName": "GetKeylistsRequestRole", - "values": [ - { - "generatedName": "client", - "value": "client", - "casing": {} - }, - { - "generatedName": "server", - "value": "server", - "casing": {} - } - ], - "default": { - "generatedName": "server", - "value": "server", - "casing": {} - }, - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetKeylistsRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetKeylistsResponse", - "schema": "Keylist", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/mediation/keylists", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "results": { - "value": [ - { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "recipient_key": { - "value": { - "value": "recipient_key", - "type": "string" - }, - "type": "primitive" - }, - "record_id": { - "value": { - "value": "record_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "wallet_id": { - "value": { - "value": "wallet_id", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "recipient_key": { - "value": { - "value": "recipient_key", - "type": "string" - }, - "type": "primitive" - }, - "record_id": { - "value": { - "value": "record_id", - "type": "string" - }, - "type": "primitive" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "wallet_id": { - "value": { - "value": "wallet_id", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send keylist query to mediator", - "audiences": [], - "operationId": "send_keylist_query_to_mediator", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "SendKeylistQueryToMediatorRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [ - { - "description": "limit number of results", - "name": "paginate_limit", - "schema": { - "generatedName": "SendKeylistQueryToMediatorRequestPaginateLimit", - "value": { - "schema": { - "default": -1, - "type": "int" - }, - "generatedName": "SendKeylistQueryToMediatorRequestPaginateLimit", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "offset to use in pagination", - "name": "paginate_offset", - "schema": { - "generatedName": "SendKeylistQueryToMediatorRequestPaginateOffset", - "value": { - "schema": { - "default": 0, - "type": "int" - }, - "generatedName": "SendKeylistQueryToMediatorRequestPaginateOffset", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "SendKeylistQueryToMediatorRequest", - "request": { - "schema": { - "generatedName": "SendKeylistQueryToMediatorRequestBody", - "schema": "KeylistQueryFilterRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendKeylistQueryToMediatorResponse", - "schema": "KeylistQuery", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/mediation/keylists/{mediation_id}/send-keylist-query", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": {}, - "type": "object" - }, - "response": { - "value": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "paginate": { - "properties": { - "limit": { - "value": { - "value": 30, - "type": "int" - }, - "type": "primitive" - }, - "offset": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Send keylist update to mediator", - "audiences": [], - "operationId": "send_keylist_update_to_mediator", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "SendKeylistUpdateToMediatorRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendKeylistUpdateToMediatorRequest", - "request": { - "schema": { - "generatedName": "SendKeylistUpdateToMediatorRequest", - "schema": "KeylistUpdateRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "SendKeylistUpdateToMediatorResponse", - "schema": "KeylistUpdate", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/mediation/keylists/{mediation_id}/send-keylist-update", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "updates": { - "value": [ - { - "properties": { - "action": { - "value": "add", - "type": "enum" - }, - "recipient_key": { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "action": { - "value": "add", - "type": "enum" - }, - "recipient_key": { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "updates": { - "value": [ - { - "properties": { - "action": { - "value": "add", - "type": "enum" - }, - "recipient_key": { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "action": { - "value": "add", - "type": "enum" - }, - "recipient_key": { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Request mediation from connection", - "audiences": [], - "operationId": "request_mediation_for_connection", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Connection identifier", - "name": "conn_id", - "schema": { - "schema": { - "type": "string" - }, - "generatedName": "RequestMediationForConnectionRequestConnId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "RequestMediationForConnectionRequest", - "request": { - "schema": { - "generatedName": "RequestMediationForConnectionRequest", - "schema": "MediationCreateRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "RequestMediationForConnectionResponse", - "schema": "MediationRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/mediation/request/{conn_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "conn_id", - "value": { - "value": { - "value": "conn_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Query mediation requests, returns list of all mediation records", - "audiences": [], - "operationId": "get_matching_mediation_records", - "tags": [ - "mediation" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "Connection identifier (optional)", - "name": "conn_id", - "schema": { - "generatedName": "GetMatchingMediationRecordsRequestConnId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingMediationRecordsRequestConnId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "List of mediator rules for recipient", - "name": "mediator_terms", - "schema": { - "generatedName": "GetMatchingMediationRecordsRequestMediatorTerms", - "value": { - "value": { - "description": "Indicate terms to which the mediator requires the recipient to agree", - "schema": { - "type": "string" - }, - "generatedName": "GetMatchingMediationRecordsRequestMediatorTermsItem", - "groupName": [], - "type": "primitive" - }, - "generatedName": "GetMatchingMediationRecordsRequestMediatorTerms", - "groupName": [], - "type": "array" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "List of recipient rules for mediation", - "name": "recipient_terms", - "schema": { - "generatedName": "GetMatchingMediationRecordsRequestRecipientTerms", - "value": { - "value": { - "description": "Indicate terms to which the recipient requires the mediator to agree", - "schema": { - "type": "string" - }, - "generatedName": "GetMatchingMediationRecordsRequestRecipientTermsItem", - "groupName": [], - "type": "primitive" - }, - "generatedName": "GetMatchingMediationRecordsRequestRecipientTerms", - "groupName": [], - "type": "array" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Mediation state (optional)", - "name": "state", - "schema": { - "generatedName": "GetMatchingMediationRecordsRequestState", - "value": { - "generatedName": "GetMatchingMediationRecordsRequestState", - "values": [ - { - "generatedName": "request", - "value": "request", - "casing": {} - }, - { - "generatedName": "granted", - "value": "granted", - "casing": {} - }, - { - "generatedName": "denied", - "value": "denied", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetMatchingMediationRecordsRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetMatchingMediationRecordsResponse", - "schema": "MediationList", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/mediation/requests", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "results": { - "value": [ - { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Retrieve mediation request record", - "audiences": [], - "operationId": "get_mediation_record", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMediationRecordRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetMediationRecordRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetMediationRecordResponse", - "schema": "MediationRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/mediation/requests/{mediation_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Delete mediation request by ID", - "audiences": [], - "operationId": "delete_mediation_record", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "DeleteMediationRecordRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "DeleteMediationRecordRequest", - "response": { - "description": "", - "schema": { - "generatedName": "DeleteMediationRecordResponse", - "schema": "MediationRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "DELETE", - "path": "/mediation/requests/{mediation_id}", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "connection_id": { - "value": { - "value": "connection_id", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endpoint": { - "value": { - "value": "endpoint", - "type": "string" - }, - "type": "primitive" - }, - "mediation_id": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "role": { - "value": { - "value": "role", - "type": "string" - }, - "type": "primitive" - }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Deny a stored mediation request", - "audiences": [], - "operationId": "deny_mediation_request", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "DenyMediationRequestRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "DenyMediationRequestRequest", - "request": { - "schema": { - "generatedName": "DenyMediationRequestRequest", - "schema": "AdminMediationDeny", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "DenyMediationRequestResponse", - "schema": "MediationDeny", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/mediation/requests/{mediation_id}/deny", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { - "value": { - "value": "mediation_id", - "type": "string" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Grant received mediation", - "audiences": [], - "operationId": "grant_mediation_request", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GrantMediationRequestRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GrantMediationRequestRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GrantMediationRequestResponse", - "schema": "MediationGrant", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/mediation/requests/{mediation_id}/grant", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "filter": { + "properties": {}, + "type": "object" + }, + "trace": { "value": { - "value": "mediation_id", + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "verification_method": { + "value": { + "value": "verification_method", "type": "string" }, "type": "primitive" } - } - ], - "queryParameters": [], - "headers": [], + }, + "type": "object" + }, "response": { "value": { "properties": { - "@id": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "@type": { + "created_at": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "endpoint": { + "cred_ex_id": { "value": { - "value": "http://192.168.56.102:8020/", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "routing_keys": { - "value": [ - { - "value": { - "value": "routing_keys", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "routing_keys", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "error_msg": { + "value": { + "value": "The front fell off", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "state": { + "value": "done", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -38247,37 +10673,20 @@ } }, { - "summary": "Update keylist for a connection", + "summary": "Send holder a credential offer, independent of any proposal", "audiences": [], - "operationId": "update_keylist_for_conn_id", + "operationId": "send_free_credential_offer", "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Connection identifier", - "name": "conn_id", - "schema": { - "schema": { - "type": "string" - }, - "generatedName": "UpdateKeylistForConnIdRequestConnId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } + "issue-credential v2.0" ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "UpdateKeylistForConnIdRequest", + "generatedRequestName": "SendFreeCredentialOfferRequest", "request": { "schema": { - "generatedName": "UpdateKeylistForConnIdRequest", - "schema": "MediationIdMatchInfo", + "generatedName": "SendFreeCredentialOfferRequest", + "schema": "V20CredOfferRequest", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38296,8 +10705,8 @@ "response": { "description": "", "schema": { - "generatedName": "UpdateKeylistForConnIdResponse", - "schema": "KeylistUpdate", + "generatedName": "SendFreeCredentialOfferResponse", + "schema": "V20CredExRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38315,31 +10724,121 @@ "server": [], "authed": true, "method": "POST", - "path": "/mediation/update-keylist/{conn_id}", + "path": "/issue-credential-2.0/send-offer", "examples": [ { - "pathParameters": [ - { - "name": "conn_id", - "value": { - "value": { - "value": "conn_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "request": { "properties": { - "mediation_id": { + "auto_issue": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" + }, + "credential_preview": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/2.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "filter": { + "properties": {}, + "type": "object" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" @@ -38347,145 +10846,30 @@ "response": { "value": { "properties": { - "@id": { + "auto_issue": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" + "value": false, + "type": "boolean" }, "type": "primitive" }, - "@type": { + "auto_offer": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" + "value": false, + "type": "boolean" }, "type": "primitive" }, - "updates": { - "value": [ - { - "properties": { - "action": { - "value": "add", - "type": "enum" - }, - "recipient_key": { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "action": { - "value": "add", - "type": "enum" - }, - "recipient_key": { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Set default mediator", - "audiences": [], - "operationId": "set_default_mediator", - "tags": [ - "mediation" - ], - "pathParameters": [ - { - "description": "Mediation record identifier", - "name": "mediation_id", - "schema": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "SetDefaultMediatorRequestMediationId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SetDefaultMediatorRequest", - "response": { - "description": "", - "schema": { - "generatedName": "SetDefaultMediatorResponse", - "schema": "MediationRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "PUT", - "path": "/mediation/{mediation_id}/default-mediator", - "examples": [ - { - "pathParameters": [ - { - "name": "mediation_id", - "value": { - "value": { - "value": "mediation_id", - "type": "string" + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { "connection_id": { "value": { - "value": "connection_id", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" @@ -38497,88 +10881,50 @@ }, "type": "primitive" }, - "endpoint": { + "cred_ex_id": { "value": { - "value": "endpoint", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "mediation_id": { + "error_msg": { "value": { - "value": "mediation_id", + "value": "The front fell off", "type": "string" }, "type": "primitive" }, - "mediator_terms": { - "value": [ - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "mediator_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "initiator": { + "value": "self", + "type": "enum" }, - "recipient_terms": { - "value": [ - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "recipient_terms", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "role": { + "value": "issuer", + "type": "enum" + }, + "state": { + "value": "done", + "type": "enum" + }, + "thread_id": { "value": { - "value": "role", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "routing_keys": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "state": { + "trace": { "value": { - "value": "active", - "type": "string" + "value": true, + "type": "boolean" }, "type": "primitive" }, @@ -38604,20 +10950,20 @@ } }, { - "summary": "Create a subwallet", + "summary": "Send issuer a credential proposal", "audiences": [], - "operationId": "create_wallet", + "operationId": "send_free_credential_proposal", "tags": [ - "multitenancy" + "issue-credential v2.0" ], "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "CreateWalletRequest", + "generatedRequestName": "SendFreeCredentialProposalRequest", "request": { "schema": { - "generatedName": "CreateWalletRequest", - "schema": "CreateWalletRequest", + "generatedName": "SendFreeCredentialProposalRequest", + "schema": "V20CredExFree", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38636,8 +10982,8 @@ "response": { "description": "", "schema": { - "generatedName": "CreateWalletResponse", - "schema": "CreateWalletResponse", + "generatedName": "SendFreeCredentialProposalResponse", + "schema": "V20CredExRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38655,7 +11001,7 @@ "server": [], "authed": true, "method": "POST", - "path": "/multitenancy/wallet", + "path": "/issue-credential-2.0/send-proposal", "examples": [ { "pathParameters": [], @@ -38663,71 +11009,113 @@ "headers": [], "request": { "properties": { - "image_url": { + "auto_remove": { "value": { - "value": "https://aries.ca/images/sample.png", - "type": "string" + "value": true, + "type": "boolean" }, "type": "primitive" }, - "key_management_mode": { + "comment": { "value": { - "value": "managed", + "value": "comment", "type": "string" }, - "type": "literal" + "type": "primitive" }, - "label": { + "connection_id": { "value": { - "value": "Alice", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "wallet_dispatch_type": { - "value": "default", - "type": "enum" + "credential_preview": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/2.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" }, - "wallet_key": { + "filter": { + "properties": {}, + "type": "object" + }, + "trace": { "value": { - "value": "MySecretKey123", - "type": "string" + "value": true, + "type": "boolean" }, "type": "primitive" }, - "wallet_key_derivation": { - "value": "RAW", - "type": "enum" - }, - "wallet_name": { + "verification_method": { "value": { - "value": "MyNewWallet", + "value": "verification_method", "type": "string" }, "type": "primitive" - }, - "wallet_type": { - "value": "indy", - "type": "enum" - }, - "wallet_webhook_urls": { - "value": [ - { - "value": { - "value": "http://localhost:8022/webhooks", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "http://localhost:8022/webhooks", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" } }, "type": "object" @@ -38735,6 +11123,34 @@ "response": { "value": { "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, "created_at": { "value": { "value": "2021-12-31 23:59:59+00:00", @@ -38742,37 +11158,59 @@ }, "type": "primitive" }, - "key_management_mode": { - "value": "managed", - "type": "enum" - }, - "state": { + "cred_ex_id": { "value": { - "value": "active", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "token": { + "error_msg": { "value": { - "value": "eyJhbGciOiJFZERTQSJ9.eyJhIjogIjAifQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk", + "value": "The front fell off", "type": "string" }, "type": "primitive" }, - "updated_at": { + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "wallet_id": { + "role": { + "value": "issuer", + "type": "enum" + }, + "state": { + "value": "done", + "type": "enum" + }, + "thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -38789,38 +11227,40 @@ } }, { - "summary": "Get a single subwallet", + "summary": "Send issuer a credential request not bound to an existing thread. Indy credentials cannot start at a request", "audiences": [], - "operationId": "get_wallet_record", + "operationId": "send_free_credential_request", "tags": [ - "multitenancy" + "issue-credential v2.0" ], - "pathParameters": [ - { - "description": "Subwallet identifier", - "name": "wallet_id", - "schema": { - "schema": { - "type": "string" - }, - "generatedName": "GetWalletRecordRequestWalletId", - "groupName": [], - "type": "primitive" - }, + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendFreeCredentialRequestRequest", + "request": { + "schema": { + "generatedName": "SendFreeCredentialRequestRequest", + "schema": "V20CredRequestFree", "source": { "file": "../openapi.yml", "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetWalletRecordRequest", + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "GetWalletRecordResponse", - "schema": "WalletRecord", + "generatedName": "SendFreeCredentialRequestResponse", + "schema": "V20CredExRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38837,27 +11277,226 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/multitenancy/wallet/{wallet_id}", + "method": "POST", + "path": "/issue-credential-2.0/send-request", "examples": [ { - "pathParameters": [ - { - "name": "wallet_id", - "value": { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_remove": { "value": { - "value": "wallet_id", + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "filter": { + "properties": { + "ld_proof": { + "properties": { + "credential": { + "properties": { + "@context": { + "value": [ + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + } + ], + "type": "array" + }, + "credentialSubject": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "issuanceDate": { + "value": { + "value": "2010-01-01 19:23:24+00:00", + "type": "string" + }, + "type": "primitive" + }, + "issuer": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": { + "value": [ + { + "value": { + "value": "VerifiableCredential", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "AlumniCredential", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "options": { + "properties": { + "proofType": { + "value": { + "value": "Ed25519Signature2018", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "holder_did": { + "value": { + "value": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", "type": "string" }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { + "type": "primitive" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, "created_at": { "value": { "value": "2021-12-31 23:59:59+00:00", @@ -38865,30 +11504,59 @@ }, "type": "primitive" }, - "key_management_mode": { - "value": "managed", - "type": "enum" + "cred_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, - "state": { + "error_msg": { "value": { - "value": "active", + "value": "The front fell off", "type": "string" }, "type": "primitive" }, - "updated_at": { + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "wallet_id": { + "role": { + "value": "issuer", + "type": "enum" + }, + "state": { + "value": "done", + "type": "enum" + }, + "thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -38905,37 +11573,20 @@ } }, { - "summary": "Update a subwallet", + "summary": "Create a credential record without sending (generally for use with Out-Of-Band)", "audiences": [], - "operationId": "update_wallet", + "operationId": "create_credential_record", "tags": [ - "multitenancy" - ], - "pathParameters": [ - { - "description": "Subwallet identifier", - "name": "wallet_id", - "schema": { - "schema": { - "type": "string" - }, - "generatedName": "UpdateWalletRequestWalletId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } + "issue-credential v1.0" ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "UpdateWalletRequest", + "generatedRequestName": "CreateCredentialRecordRequest", "request": { "schema": { - "generatedName": "UpdateWalletRequest", - "schema": "UpdateWalletRequest", + "generatedName": "CreateCredentialRecordRequest", + "schema": "V10CredentialCreate", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38954,8 +11605,8 @@ "response": { "description": "", "schema": { - "generatedName": "UpdateWalletResponse", - "schema": "WalletRecord", + "generatedName": "CreateCredentialRecordResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -38972,62 +11623,146 @@ "errors": {}, "server": [], "authed": true, - "method": "PUT", - "path": "/multitenancy/wallet/{wallet_id}", + "method": "POST", + "path": "/issue-credential/create", "examples": [ { - "pathParameters": [ - { - "name": "wallet_id", - "value": { - "value": { - "value": "wallet_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "request": { "properties": { - "image_url": { + "auto_remove": { "value": { - "value": "https://aries.ca/images/sample.png", - "type": "string" + "value": true, + "type": "boolean" }, "type": "primitive" }, - "label": { + "comment": { "value": { - "value": "Alice", + "value": "comment", "type": "string" }, "type": "primitive" }, - "wallet_dispatch_type": { - "value": "default", - "type": "enum" + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" }, - "wallet_webhook_urls": { - "value": [ - { + "credential_proposal": { + "properties": { + "@type": { "value": { - "value": "http://localhost:8022/webhooks", + "value": "issue-credential/1.0/credential-preview", "type": "string" }, "type": "primitive" }, - { - "value": { - "value": "http://localhost:8022/webhooks", - "type": "string" - }, - "type": "primitive" + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" } - ], - "type": "array" + }, + "type": "object" + }, + "issuer_did": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "schema_issuer_did": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "schema_name": { + "value": { + "value": "preferences", + "type": "string" + }, + "type": "primitive" + }, + "schema_version": { + "value": { + "value": "1.0", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" @@ -39035,6 +11770,34 @@ "response": { "value": { "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, "created_at": { "value": { "value": "2021-12-31 23:59:59+00:00", @@ -39042,207 +11805,127 @@ }, "type": "primitive" }, - "key_management_mode": { - "value": "managed", - "type": "enum" + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" }, - "state": { + "credential_exchange_id": { "value": { - "value": "active", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "updated_at": { + "credential_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "wallet_id": { + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Remove a subwallet", - "audiences": [], - "operationId": "delete_wallet", - "tags": [ - "multitenancy" - ], - "pathParameters": [ - { - "description": "Subwallet identifier", - "name": "wallet_id", - "schema": { - "schema": { - "type": "string" - }, - "generatedName": "DeleteWalletRequestWalletId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "DeleteWalletRequest", - "request": { - "schema": { - "generatedName": "DeleteWalletRequest", - "schema": "RemoveWalletRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "response": { - "description": "", - "schema": { - "generatedName": "DeleteWalletResponse", - "schema": "MultitenantModuleResponse", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/multitenancy/wallet/{wallet_id}/remove", - "examples": [ - { - "pathParameters": [ - { - "name": "wallet_id", - "value": { - "value": { - "value": "wallet_id", - "type": "string" }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "wallet_key": { - "value": { - "value": "MySecretKey123", - "type": "string" + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "value": [ - { - "key": { - "value": "key", + "revocation_id": { + "value": { + "value": "revocation_id", "type": "string" }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } - ], - "type": "map" + }, + "type": "object" }, "type": "withoutStreaming" }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Get auth token for a subwallet", - "audiences": [], - "operationId": "get_auth_token", - "tags": [ - "multitenancy" - ], - "pathParameters": [ - { - "name": "wallet_id", - "schema": { - "schema": { - "type": "string" - }, - "generatedName": "GetAuthTokenRequestWalletId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } + "codeSamples": [], + "type": "full" } ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Create a credential offer, independent of any proposal or connection", + "audiences": [], + "operationId": "create_free_credential_offer", + "tags": [ + "issue-credential v1.0" + ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "GetAuthTokenRequest", + "generatedRequestName": "CreateFreeCredentialOfferRequest", "request": { "schema": { - "generatedName": "GetAuthTokenRequest", - "schema": "CreateWalletTokenRequest", + "generatedName": "CreateFreeCredentialOfferRequest", + "schema": "V10CredentialConnFreeOfferRequest", "source": { "file": "../openapi.yml", "type": "openapi" @@ -39261,8 +11944,8 @@ "response": { "description": "", "schema": { - "generatedName": "GetAuthTokenResponse", - "schema": "CreateWalletTokenResponse", + "generatedName": "CreateFreeCredentialOfferResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -39280,31 +11963,117 @@ "server": [], "authed": true, "method": "POST", - "path": "/multitenancy/wallet/{wallet_id}/token", + "path": "/issue-credential/create-offer", "examples": [ { - "pathParameters": [ - { - "name": "wallet_id", - "value": { - "value": { - "value": "wallet_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "request": { "properties": { - "wallet_key": { + "auto_issue": { "value": { - "value": "MySecretKey123", + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "type": "string" }, "type": "primitive" + }, + "credential_preview": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/1.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" @@ -39312,9 +12081,129 @@ "response": { "value": { "properties": { - "token": { + "auto_issue": { "value": { - "value": "eyJhbGciOiJFZERTQSJ9.eyJhIjogIjAifQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk", + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" @@ -39334,24 +12223,160 @@ } }, { - "summary": "Query subwallets", + "summary": "Fetch all credential exchange records", "audiences": [], - "operationId": "get_matching_wallets", + "operationId": "get_matching_cred_ex_records", "tags": [ - "multitenancy" + "issue-credential v1.0" ], "pathParameters": [], "queryParameters": [ { - "description": "Wallet name", - "name": "wallet_name", + "description": "Connection identifier", + "name": "connection_id", "schema": { - "generatedName": "GetMatchingWalletsRequestWalletName", + "generatedName": "GetMatchingCredExRecordsRequestConnectionId", "value": { "schema": { + "format": "uuid", "type": "string" }, - "generatedName": "GetMatchingWalletsRequestWalletName", + "generatedName": "GetMatchingCredExRecordsRequestConnectionId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Role assigned in credential exchange", + "name": "role", + "schema": { + "generatedName": "GetMatchingCredExRecordsRequestRole", + "value": { + "generatedName": "GetMatchingCredExRecordsRequestRole", + "values": [ + { + "generatedName": "issuer", + "value": "issuer", + "casing": {} + }, + { + "generatedName": "holder", + "value": "holder", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Credential exchange state", + "name": "state", + "schema": { + "generatedName": "GetMatchingCredExRecordsRequestState", + "value": { + "generatedName": "GetMatchingCredExRecordsRequestState", + "values": [ + { + "generatedName": "proposal_sent", + "value": "proposal_sent", + "casing": {} + }, + { + "generatedName": "proposal_received", + "value": "proposal_received", + "casing": {} + }, + { + "generatedName": "offer_sent", + "value": "offer_sent", + "casing": {} + }, + { + "generatedName": "offer_received", + "value": "offer_received", + "casing": {} + }, + { + "generatedName": "request_sent", + "value": "request_sent", + "casing": {} + }, + { + "generatedName": "request_received", + "value": "request_received", + "casing": {} + }, + { + "generatedName": "credential_issued", + "value": "credential_issued", + "casing": {} + }, + { + "generatedName": "credential_received", + "value": "credential_received", + "casing": {} + }, + { + "generatedName": "credential_acked", + "value": "credential_acked", + "casing": {} + }, + { + "generatedName": "credential_revoked", + "value": "credential_revoked", + "casing": {} + }, + { + "generatedName": "abandoned", + "value": "abandoned", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Thread identifier", + "name": "thread_id", + "schema": { + "generatedName": "GetMatchingCredExRecordsRequestThreadId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingCredExRecordsRequestThreadId", "groupName": [], "type": "primitive" }, @@ -39365,12 +12390,12 @@ } ], "headers": [], - "generatedRequestName": "GetMatchingWalletsRequest", + "generatedRequestName": "GetMatchingCredExRecordsRequest", "response": { "description": "", "schema": { - "generatedName": "GetMatchingWalletsResponse", - "schema": "WalletList", + "generatedName": "GetMatchingCredExRecordsResponse", + "schema": "V10CredentialExchangeListResult", "source": { "file": "../openapi.yml", "type": "openapi" @@ -39388,7 +12413,7 @@ "server": [], "authed": true, "method": "GET", - "path": "/multitenancy/wallets", + "path": "/issue-credential/records", "examples": [ { "pathParameters": [], @@ -39401,34 +12426,129 @@ "value": [ { "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, "created_at": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", "type": "string" }, "type": "primitive" }, - "key_management_mode": { - "value": "managed", - "type": "enum" - }, "state": { "value": { - "value": "active", + "value": "credential_acked", "type": "string" }, "type": "primitive" }, - "updated_at": { + "thread_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "wallet_id": { + "trace": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" @@ -39438,6 +12558,34 @@ }, { "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, "created_at": { "value": { "value": "2021-12-31 23:59:59+00:00", @@ -39445,30 +12593,97 @@ }, "type": "primitive" }, - "key_management_mode": { - "value": "managed", + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", "type": "enum" }, - "state": { + "parent_thread_id": { "value": { - "value": "active", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "updated_at": { + "revoc_reg_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "revoc_reg_id", "type": "string" }, "type": "primitive" }, - "wallet_id": { + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -39491,50 +12706,24 @@ } }, { - "summary": "Create a new connection invitation", + "summary": "Fetch a single credential exchange record", "audiences": [], - "operationId": "create_oob_invitation", + "operationId": "get_cred_ex_record", "tags": [ - "out-of-band" + "issue-credential v1.0" ], - "pathParameters": [], - "queryParameters": [ - { - "description": "Auto-accept connection (defaults to configuration)", - "name": "auto_accept", - "schema": { - "generatedName": "CreateOobInvitationRequestAutoAccept", - "value": { - "schema": { - "type": "boolean" - }, - "generatedName": "CreateOobInvitationRequestAutoAccept", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, + "pathParameters": [ { - "description": "Create invitation for multiple use (default false)", - "name": "multi_use", + "description": "Credential exchange identifier", + "name": "cred_ex_id", "schema": { - "generatedName": "CreateOobInvitationRequestMultiUse", - "value": { - "schema": { - "type": "boolean" - }, - "generatedName": "CreateOobInvitationRequestMultiUse", - "groupName": [], - "type": "primitive" + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" }, + "generatedName": "GetCredExRecordRequestCredExId", "groupName": [], - "type": "nullable" + "type": "primitive" }, "source": { "file": "../openapi.yml", @@ -39542,32 +12731,226 @@ } } ], + "queryParameters": [], "headers": [], - "generatedRequestName": "CreateOobInvitationRequest", - "request": { + "generatedRequestName": "GetCredExRecordRequest", + "response": { + "description": "", "schema": { - "generatedName": "CreateOobInvitationRequestBody", - "schema": "InvitationCreateRequest", + "generatedName": "GetCredExRecordResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" }, "type": "reference" }, - "contentType": "application/json", "fullExamples": [], - "additionalProperties": false, "source": { "file": "../openapi.yml", "type": "openapi" }, "type": "json" }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/issue-credential/records/{cred_ex_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Remove an existing credential exchange record", + "audiences": [], + "operationId": "delete_cred_ex_record", + "tags": [ + "issue-credential v1.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "DeleteCredExRecordRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "DeleteCredExRecordRequest", "response": { "description": "", "schema": { - "generatedName": "CreateOobInvitationResponse", - "schema": "InvitationRecord", + "generatedName": "DeleteCredExRecordResponse", + "schema": "IssueCredentialModuleResponse", "source": { "file": "../openapi.yml", "type": "openapi" @@ -39584,594 +12967,268 @@ "errors": {}, "server": [], "authed": true, - "method": "POST", - "path": "/out-of-band/create-invitation", + "method": "DELETE", + "path": "/issue-credential/records/{cred_ex_id}", "examples": [ { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "accept": { - "value": [ - { - "value": { - "value": "didcomm/aip1", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "didcomm/aip2;env=rfc19", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "alias": { - "value": { - "value": "Barry", - "type": "string" - }, - "type": "primitive" - }, - "attachments": { - "value": [ - { - "properties": { - "id": { - "value": { - "value": "attachment-0", - "type": "string" - }, - "type": "primitive" - }, - "type": { - "value": "present-proof", - "type": "enum" - } - }, - "type": "object" - }, - { - "properties": { - "id": { - "value": { - "value": "attachment-0", - "type": "string" - }, - "type": "primitive" - }, - "type": { - "value": "present-proof", - "type": "enum" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "handshake_protocols": { - "value": [ - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "mediation_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "my_label": { - "value": { - "value": "Invitation to Barry", - "type": "string" - }, - "type": "primitive" - }, - "protocol_version": { - "value": { - "value": "1.1", - "type": "string" - }, - "type": "primitive" - }, - "use_public_did": { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { "value": { - "value": false, - "type": "boolean" + "value": "cred_ex_id", + "type": "string" }, "type": "primitive" } - }, - "type": "object" - }, + } + ], + "queryParameters": [], + "headers": [], "response": { "value": { - "properties": { - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": [ + { + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - "invi_msg_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "invitation": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "accept": { - "value": [ - { - "value": { - "value": "didcomm/aip1", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "didcomm/aip2;env=rfc19", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "handshake_protocols": { - "value": [ - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "imageUrl": { - "value": { - "value": "http://192.168.56.101/img/logo.jpg", - "type": "string" - }, - "type": "primitive" - }, - "label": { + "value": { "value": { - "value": "Bob", + "value": "value", "type": "string" }, "type": "primitive" }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "services": { - "value": [ - { - "value": [ - { - "key": { - "value": "did", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "id", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "string", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "recipientKeys", - "type": "string" - }, - "value": { - "value": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "routingKeys", - "type": "string" - }, - "value": { - "value": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "serviceEndpoint", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "http://192.168.56.101:8020", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "type", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "string", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - } - ], - "type": "array" - } + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send holder a credential", + "audiences": [], + "operationId": "issue_credential_to_holder", + "tags": [ + "issue-credential v1.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "IssueCredentialToHolderRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "IssueCredentialToHolderRequest", + "request": { + "schema": { + "generatedName": "IssueCredentialToHolderRequest", + "schema": "V10CredentialIssueRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "IssueCredentialToHolderResponse", + "schema": "V10CredentialExchange", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential/records/{cred_ex_id}/issue", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" }, - "type": "object" + "type": "primitive" }, - "invitation_id": { + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "invitation_url": { + "created_at": { "value": { - "value": "https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "oob_id": { + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, "state": { "value": { - "value": "await_response", + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" @@ -40205,93 +13262,391 @@ } }, { - "summary": "Receive a new connection invitation", + "summary": "Send a problem report for credential exchange", "audiences": [], - "operationId": "receive_oob_invitation", + "operationId": "report_cred_ex_problem", "tags": [ - "out-of-band" + "issue-credential v1.0" ], - "pathParameters": [], - "queryParameters": [ + "pathParameters": [ { - "description": "Alias for connection", - "name": "alias", + "description": "Credential exchange identifier", + "name": "cred_ex_id", "schema": { - "generatedName": "ReceiveOobInvitationRequestAlias", - "value": { - "schema": { - "type": "string" - }, - "generatedName": "ReceiveOobInvitationRequestAlias", - "groupName": [], - "type": "primitive" + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" }, + "generatedName": "ReportCredExProblemRequestCredExId", "groupName": [], - "type": "nullable" + "type": "primitive" }, "source": { "file": "../openapi.yml", "type": "openapi" } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "ReportCredExProblemRequest", + "request": { + "schema": { + "generatedName": "ReportCredExProblemRequest", + "schema": "V10CredentialProblemReportRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "ReportCredExProblemResponse", + "schema": "IssueCredentialModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential/records/{cred_ex_id}/problem-report", + "examples": [ { - "description": "Auto-accept connection (defaults to configuration)", - "name": "auto_accept", - "schema": { - "generatedName": "ReceiveOobInvitationRequestAutoAccept", + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "description": { + "value": { + "value": "description", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { "value": { - "schema": { - "type": "boolean" - }, - "generatedName": "ReceiveOobInvitationRequestAutoAccept", - "groupName": [], - "type": "primitive" + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send holder a credential offer in reference to a proposal with preview", + "audiences": [], + "operationId": "send_credential_offer", + "tags": [ + "issue-credential v1.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" }, + "generatedName": "SendCredentialOfferRequestCredExId", "groupName": [], - "type": "nullable" + "type": "primitive" }, "source": { "file": "../openapi.yml", "type": "openapi" } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendCredentialOfferRequest", + "request": { + "schema": { + "generatedName": "SendCredentialOfferRequest", + "schema": "V10CredentialBoundOfferRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendCredentialOfferResponse", + "schema": "V10CredentialExchange", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential/records/{cred_ex_id}/send-offer", + "examples": [ { - "description": "Identifier for active mediation record to be used", - "name": "mediation_id", - "schema": { - "generatedName": "ReceiveOobInvitationRequestMediationId", + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": {}, + "type": "object" + }, + "response": { "value": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } }, - "generatedName": "ReceiveOobInvitationRequestMediationId", - "groupName": [], - "type": "primitive" + "type": "object" }, - "groupName": [], - "type": "nullable" + "type": "withoutStreaming" }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send issuer a credential request", + "audiences": [], + "operationId": "send_credential_request", + "tags": [ + "issue-credential v1.0" + ], + "pathParameters": [ { - "description": "Use an existing connection, if possible", - "name": "use_existing_connection", + "description": "Credential exchange identifier", + "name": "cred_ex_id", "schema": { - "generatedName": "ReceiveOobInvitationRequestUseExistingConnection", - "value": { - "schema": { - "type": "boolean" - }, - "generatedName": "ReceiveOobInvitationRequestUseExistingConnection", - "groupName": [], - "type": "primitive" + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" }, + "generatedName": "SendCredentialRequestRequestCredExId", "groupName": [], - "type": "nullable" + "type": "primitive" }, "source": { "file": "../openapi.yml", @@ -40299,487 +13654,69 @@ } } ], + "queryParameters": [], "headers": [], - "generatedRequestName": "ReceiveOobInvitationRequest", - "request": { - "schema": { - "generatedName": "ReceiveOobInvitationRequestBody", - "schema": "InvitationMessage", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, + "generatedRequestName": "SendCredentialRequestRequest", "response": { "description": "", "schema": { - "generatedName": "ReceiveOobInvitationResponse", - "schema": "OobRecord", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "POST", - "path": "/out-of-band/receive-invitation", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "accept": { - "value": [ - { - "value": { - "value": "didcomm/aip1", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "didcomm/aip2;env=rfc19", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "handshake_protocols": { - "value": [ - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "imageUrl": { - "value": { - "value": "http://192.168.56.101/img/logo.jpg", - "type": "string" - }, - "type": "primitive" - }, - "label": { - "value": { - "value": "Bob", - "type": "string" - }, - "type": "primitive" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "services": { - "value": [ - { - "value": [ - { - "key": { - "value": "did", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "id", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "string", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "recipientKeys", - "type": "string" - }, - "value": { - "value": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "routingKeys", - "type": "string" - }, - "value": { - "value": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "serviceEndpoint", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "http://192.168.56.101:8020", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "type", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "string", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" + "generatedName": "SendCredentialRequestResponse", + "schema": "V10CredentialExchange", + "source": { + "file": "../openapi.yml", + "type": "openapi" }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/issue-credential/records/{cred_ex_id}/send-request", + "examples": [ + { + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], "response": { "value": { "properties": { - "attach_thread_id": { + "auto_issue": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" }, "type": "primitive" }, @@ -40797,509 +13734,83 @@ }, "type": "primitive" }, - "invi_msg_id": { + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "invitation": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "accept": { - "value": [ - { - "value": { - "value": "didcomm/aip1", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "didcomm/aip2;env=rfc19", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "handshake_protocols": { - "value": [ - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "imageUrl": { - "value": { - "value": "http://192.168.56.101/img/logo.jpg", - "type": "string" - }, - "type": "primitive" - }, - "label": { - "value": { - "value": "Bob", - "type": "string" - }, - "type": "primitive" - }, - "requests~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "services": { - "value": [ - { - "value": [ - { - "key": { - "value": "did", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "id", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "string", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "recipientKeys", - "type": "string" - }, - "value": { - "value": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "routingKeys", - "type": "string" - }, - "value": { - "value": { - "value": [ - { - "value": { - "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "serviceEndpoint", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "http://192.168.56.101:8020", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - }, - { - "key": { - "value": "type", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "string", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - } - ], - "type": "array" - } + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "oob_id": { + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "revoc_reg_id", "type": "string" }, "type": "primitive" }, - "our_recipient_key": { + "revocation_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "revocation_id", "type": "string" }, "type": "primitive" }, "role": { - "value": "receiver", + "value": "issuer", "type": "enum" }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, "state": { - "value": "await-response", - "type": "enum" + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" }, - "their_service": { - "properties": { - "recipientKeys": { - "value": [ - { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "routingKeys": { - "value": [ - { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "serviceEndpoint": { - "value": { - "value": "http://192.168.56.101:8020", - "type": "string" - }, - "type": "primitive" - } + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, - "type": "object" + "type": "primitive" }, "trace": { "value": { @@ -41330,21 +13841,58 @@ } }, { - "summary": "Fetch the list of loaded plugins", + "summary": "Store a received credential", "audiences": [], - "operationId": "get_loaded_plugins", + "operationId": "store_received_credential", "tags": [ - "server" + "issue-credential v1.0" + ], + "pathParameters": [ + { + "description": "Credential exchange identifier", + "name": "cred_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "StoreReceivedCredentialRequestCredExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } ], - "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "GetLoadedPluginsRequest", + "generatedRequestName": "StoreReceivedCredentialRequest", + "request": { + "schema": { + "generatedName": "StoreReceivedCredentialRequest", + "schema": "V10CredentialStoreRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "GetLoadedPluginsResponse", - "schema": "AdminModules", + "generatedName": "StoreReceivedCredentialResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -41361,34 +13909,165 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/plugins", + "method": "POST", + "path": "/issue-credential/records/{cred_ex_id}/store", "examples": [ { - "pathParameters": [], + "pathParameters": [ + { + "name": "cred_ex_id", + "value": { + "value": { + "value": "cred_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], "queryParameters": [], "headers": [], + "request": { + "properties": { + "credential_id": { + "value": { + "value": "credential_id", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, "response": { "value": { "properties": { - "result": { - "value": [ - { - "value": { - "value": "result", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "result", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -41405,20 +14084,20 @@ } }, { - "summary": "Creates a presentation request not bound to any proposal or connection", + "summary": "Send holder a credential, automating entire flow", "audiences": [], - "operationId": "create_proof_request", + "operationId": "send_free_credential", "tags": [ - "present-proof v2.0" + "issue-credential v1.0" ], "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "CreateProofRequestRequest", + "generatedRequestName": "SendFreeCredentialRequest", "request": { "schema": { - "generatedName": "CreateProofRequestRequest", - "schema": "V20PresCreateRequestRequest", + "generatedName": "SendFreeCredentialRequest", + "schema": "V10CredentialProposalRequestMand", "source": { "file": "../openapi.yml", "type": "openapi" @@ -41437,8 +14116,8 @@ "response": { "description": "", "schema": { - "generatedName": "CreateProofRequestResponse", - "schema": "V20PresExRecord", + "generatedName": "SendFreeCredentialResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -41456,7 +14135,7 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof-2.0/create-request", + "path": "/issue-credential/send", "examples": [ { "pathParameters": [], @@ -41464,9 +14143,9 @@ "headers": [], "request": { "properties": { - "auto_verify": { + "auto_remove": { "value": { - "value": false, + "value": true, "type": "boolean" }, "type": "primitive" @@ -41478,198 +14157,127 @@ }, "type": "primitive" }, - "presentation_request": { + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_proposal": { "properties": { - "indy": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", + "@type": { + "value": { + "value": "issue-credential/1.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", "type": "string" }, + "type": "primitive" + }, + "name": { "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" } - ], - "type": "map" + }, + "type": "object" }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", "type": "string" }, + "type": "primitive" + }, + "name": { "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" }, - "type": "primitive" + "type": "object" } - }, - "type": "object" + ], + "type": "array" } }, - "type": "object" + "type": "object" + }, + "issuer_did": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "schema_issuer_did": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "schema_name": { + "value": { + "value": "preferences", + "type": "string" + }, + "type": "primitive" + }, + "schema_version": { + "value": { + "value": "1.0", + "type": "string" + }, + "type": "primitive" }, "trace": { "value": { - "value": false, + "value": true, "type": "boolean" }, "type": "primitive" @@ -41680,16 +14288,23 @@ "response": { "value": { "properties": { - "auto_present": { + "auto_issue": { "value": { "value": false, "type": "boolean" }, "type": "primitive" }, - "auto_verify": { + "auto_offer": { "value": { - "value": true, + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, "type": "boolean" }, "type": "primitive" @@ -41708,9 +14323,30 @@ }, "type": "primitive" }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, "error_msg": { "value": { - "value": "Invalid structure", + "value": "Credential definition identifier is not set in proposal", "type": "string" }, "type": "primitive" @@ -41719,510 +14355,44 @@ "value": "self", "type": "enum" }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_ex_id": { + "parent_thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "will_confirm": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" }, - "type": "object" + "type": "primitive" }, "role": { - "value": "prover", + "value": "issuer", "type": "enum" }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, "state": { - "value": "proposal-sent", - "type": "enum" + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" }, "thread_id": { "value": { @@ -42244,29 +14414,6 @@ "type": "string" }, "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" } }, "type": "object" @@ -42283,164 +14430,40 @@ } }, { - "summary": "Fetch all present-proof exchange records", + "summary": "Send holder a credential offer, independent of any proposal", "audiences": [], - "operationId": "get_matching_pres_ex_records-v2", + "operationId": "send_free_credential_offer", "tags": [ - "present-proof v2.0" + "issue-credential v1.0" ], "pathParameters": [], - "queryParameters": [ - { - "description": "Connection identifier", - "name": "connection_id", - "schema": { - "generatedName": "GetMatchingPresExRecordsV2RequestConnectionId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingPresExRecordsV2RequestConnectionId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendFreeCredentialOfferRequest", + "request": { + "schema": { + "generatedName": "SendFreeCredentialOfferRequest", + "schema": "V10CredentialFreeOfferRequest", "source": { "file": "../openapi.yml", "type": "openapi" - } - }, - { - "description": "Role assigned in presentation exchange", - "name": "role", - "schema": { - "generatedName": "GetMatchingPresExRecordsV2RequestRole", - "value": { - "generatedName": "GetMatchingPresExRecordsV2RequestRole", - "values": [ - { - "generatedName": "prover", - "value": "prover", - "casing": {} - }, - { - "generatedName": "verifier", - "value": "verifier", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } + "type": "reference" }, - { - "description": "Presentation exchange state", - "name": "state", - "schema": { - "generatedName": "GetMatchingPresExRecordsV2RequestState", - "value": { - "generatedName": "GetMatchingPresExRecordsV2RequestState", - "values": [ - { - "generatedName": "ProposalSent", - "value": "proposal-sent", - "casing": {} - }, - { - "generatedName": "ProposalReceived", - "value": "proposal-received", - "casing": {} - }, - { - "generatedName": "RequestSent", - "value": "request-sent", - "casing": {} - }, - { - "generatedName": "RequestReceived", - "value": "request-received", - "casing": {} - }, - { - "generatedName": "PresentationSent", - "value": "presentation-sent", - "casing": {} - }, - { - "generatedName": "PresentationReceived", - "value": "presentation-received", - "casing": {} - }, - { - "generatedName": "done", - "value": "done", - "casing": {} - }, - { - "generatedName": "abandoned", - "value": "abandoned", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" }, - { - "description": "Thread identifier", - "name": "thread_id", - "schema": { - "generatedName": "GetMatchingPresExRecordsV2RequestThreadId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingPresExRecordsV2RequestThreadId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetMatchingPresExRecordsV2Request", + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "GetMatchingPresExRecordsV2Response", - "schema": "V20PresExRecordList", + "generatedName": "SendFreeCredentialOfferResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -42457,1150 +14480,258 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/present-proof-2.0/records", + "method": "POST", + "path": "/issue-credential/send-offer", "examples": [ { "pathParameters": [], "queryParameters": [], "headers": [], - "response": { - "value": { - "properties": { - "results": { - "value": [ - { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "request": { + "properties": { + "auto_issue": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_preview": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/1.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "role": { - "value": "prover", - "type": "enum" - }, - "state": { - "value": "proposal-sent", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" + "type": "primitive" }, - "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" + "name": { + "value": { + "value": "favourite_drink", + "type": "string" }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" + "type": "primitive" }, - "type": "primitive" - }, - "error_msg": { "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "value": { + "value": "martini", + "type": "string" }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + } }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } + "type": "primitive" }, - "type": "object" - }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "name": { + "value": { + "value": "favourite_drink", + "type": "string" }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "role": { - "value": "prover", - "type": "enum" - }, - "state": { - "value": "proposal-sent", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" + "type": "primitive" }, - "type": "primitive" - }, - "updated_at": { "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" + "value": { + "value": "martini", + "type": "string" }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - } - ], - "type": "array" + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_issue": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_offer": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -43617,39 +14748,40 @@ } }, { - "summary": "Fetch a single presentation exchange record", + "summary": "Send issuer a credential proposal", "audiences": [], - "operationId": "get_pres_ex_record", + "operationId": "send_free_credential_proposal", "tags": [ - "present-proof v2.0" + "issue-credential v1.0" ], - "pathParameters": [ - { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "GetPresExRecordRequestPresExId", - "groupName": [], - "type": "primitive" - }, + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendFreeCredentialProposalRequest", + "request": { + "schema": { + "generatedName": "SendFreeCredentialProposalRequest", + "schema": "V10CredentialProposalRequestOpt", "source": { "file": "../openapi.yml", "type": "openapi" - } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "GetPresExRecordRequest", + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "GetPresExRecordResponse", - "schema": "V20PresExRecord", + "generatedName": "SendFreeCredentialProposalResponse", + "schema": "V10CredentialExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -43666,611 +14798,983 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/present-proof-2.0/records/{pres_ex_id}", + "method": "POST", + "path": "/issue-credential/send-proposal", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_remove": { "value": { - "value": "pres_ex_id", + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_proposal": { + "properties": { + "@type": { + "value": { + "value": "issue-credential/1.0/credential-preview", + "type": "string" + }, + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "value": { + "value": { + "value": "martini", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "issuer_did": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "schema_issuer_did": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "schema_name": { + "value": { + "value": "preferences", + "type": "string" + }, + "type": "primitive" + }, + "schema_version": { + "value": { + "value": "1.0", "type": "string" }, "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" } - } - ], - "queryParameters": [], - "headers": [], + }, + "type": "object" + }, "response": { "value": { "properties": { - "auto_present": { + "auto_issue": { "value": { "value": false, "type": "boolean" }, "type": "primitive" }, - "auto_verify": { + "auto_offer": { "value": { - "value": true, + "value": false, "type": "boolean" }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" + "type": "primitive" }, - "pres_ex_id": { + "auto_remove": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" + "credential_definition_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "credential_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "credential_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Credential definition identifier is not set in proposal", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "parent_thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revoc_reg_id": { + "value": { + "value": "revoc_reg_id", + "type": "string" + }, + "type": "primitive" + }, + "revocation_id": { + "value": { + "value": "revocation_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "issuer", + "type": "enum" + }, + "schema_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "credential_acked", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Sign a JSON-LD structure and return it", + "audiences": [], + "operationId": "sign", + "tags": [ + "jsonld" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SignRequest", + "request": { + "schema": { + "generatedName": "SignRequest", + "schema": "SignRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SignResponse", + "schema": "SignResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/jsonld/sign", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "doc": { + "properties": { + "credential": { + "properties": {}, + "type": "object" + }, + "options": { + "properties": { + "proofPurpose": { + "value": { + "value": "proofPurpose", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "verificationMethod": { + "value": { + "value": "verificationMethod", + "type": "string" + }, + "type": "primitive" + } }, - "will_confirm": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" + "type": "object" + } }, - "role": { - "value": "prover", - "type": "enum" + "type": "object" + }, + "verkey": { + "value": { + "value": "verkey", + "type": "string" }, - "state": { - "value": "proposal-sent", - "type": "enum" + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "error": { + "value": { + "value": "error", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Verify a JSON-LD structure.", + "audiences": [], + "operationId": "verify", + "tags": [ + "jsonld" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "VerifyRequest", + "request": { + "schema": { + "generatedName": "VerifyRequest", + "schema": "VerifyRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "VerifyResponse", + "schema": "VerifyResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/jsonld/verify", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "doc": { + "properties": { + "proof": { + "properties": { + "proofPurpose": { + "value": { + "value": "proofPurpose", + "type": "string" + }, + "type": "primitive" + }, + "verificationMethod": { + "value": { + "value": "verificationMethod", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } }, - "thread_id": { + "type": "object" + }, + "verkey": { + "value": { + "value": "verkey", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "error": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "error", "type": "string" }, "type": "primitive" }, - "trace": { + "valid": { "value": { "value": true, "type": "boolean" }, "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Get the endpoint for a DID from the ledger.", + "audiences": [], + "operationId": "get_published_did_endpoint", + "tags": [ + "ledger" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "DID of interest", + "name": "did", + "schema": { + "schema": { + "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", + "type": "string" + }, + "generatedName": "GetPublishedDidEndpointRequestDid", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Endpoint type of interest (default 'Endpoint')", + "name": "endpoint_type", + "schema": { + "generatedName": "GetPublishedDidEndpointRequestEndpointType", + "value": { + "generatedName": "GetPublishedDidEndpointRequestEndpointType", + "values": [ + { + "generatedName": "Endpoint", + "value": "Endpoint", + "casing": {} }, - "updated_at": { + { + "generatedName": "Profile", + "value": "Profile", + "casing": {} + }, + { + "generatedName": "LinkedDomains", + "value": "LinkedDomains", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetPublishedDidEndpointRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetPublishedDidEndpointResponse", + "schema": "GetDIDEndpointResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/ledger/did-endpoint", + "examples": [ + { + "pathParameters": [], + "queryParameters": [ + { + "name": "did", + "value": { + "value": { + "value": "did", + "type": "string" + }, + "type": "primitive" + } + } + ], + "headers": [], + "response": { + "value": { + "properties": { + "endpoint": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "https://myhost:8021", "type": "string" }, "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Get the verkey for a DID from the ledger.", + "audiences": [], + "operationId": "get_did_verkey", + "tags": [ + "ledger" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "DID of interest", + "name": "did", + "schema": { + "schema": { + "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", + "type": "string" + }, + "generatedName": "GetDidVerkeyRequestDid", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetDidVerkeyRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetDidVerkeyResponse", + "schema": "GetDIDVerkeyResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/ledger/did-verkey", + "examples": [ + { + "pathParameters": [], + "queryParameters": [ + { + "name": "did", + "value": { + "value": { + "value": "did", + "type": "string" }, - "verified": { - "value": "true", - "type": "enum" + "type": "primitive" + } + } + ], + "headers": [], + "response": { + "value": { + "properties": { + "verkey": { + "value": { + "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Get the role from the NYM registration of a public DID.", + "audiences": [], + "operationId": "get_did_nym_role", + "tags": [ + "ledger" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "DID of interest", + "name": "did", + "schema": { + "schema": { + "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", + "type": "string" + }, + "generatedName": "GetDidNymRoleRequestDid", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetDidNymRoleRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetDidNymRoleResponse", + "schema": "GetNymRoleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/ledger/get-nym-role", + "examples": [ + { + "pathParameters": [], + "queryParameters": [ + { + "name": "did", + "value": { + "value": { + "value": "did", + "type": "string" }, - "verified_msgs": { + "type": "primitive" + } + } + ], + "headers": [], + "response": { + "value": { + "properties": { + "role": { + "value": "ENDORSER", + "type": "enum" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch the multiple ledger configuration currently in use", + "audiences": [], + "operationId": "get_multiple_ledger_config", + "tags": [ + "ledger" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetMultipleLedgerConfigRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetMultipleLedgerConfigResponse", + "schema": "LedgerConfigList", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/ledger/multiple/config", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "ledger_config_list": { "value": [ { - "value": { - "value": "verified_msgs", - "type": "string" + "properties": { + "genesis_file": { + "value": { + "value": "genesis_file", + "type": "string" + }, + "type": "primitive" + }, + "genesis_transactions": { + "value": { + "value": "genesis_transactions", + "type": "string" + }, + "type": "primitive" + }, + "genesis_url": { + "value": { + "value": "genesis_url", + "type": "string" + }, + "type": "primitive" + }, + "id": { + "value": { + "value": "id", + "type": "string" + }, + "type": "primitive" + }, + "is_production": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" }, { - "value": { - "value": "verified_msgs", - "type": "string" + "properties": { + "genesis_file": { + "value": { + "value": "genesis_file", + "type": "string" + }, + "type": "primitive" + }, + "genesis_transactions": { + "value": { + "value": "genesis_transactions", + "type": "string" + }, + "type": "primitive" + }, + "genesis_url": { + "value": { + "value": "genesis_url", + "type": "string" + }, + "type": "primitive" + }, + "id": { + "value": { + "value": "id", + "type": "string" + }, + "type": "primitive" + }, + "is_production": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" } ], "type": "array" @@ -44290,39 +15794,21 @@ } }, { - "summary": "Remove an existing presentation exchange record", + "summary": "Fetch the current write ledger", "audiences": [], - "operationId": "delete_pres_ex_record", + "operationId": "get_write_ledger", "tags": [ - "present-proof v2.0" - ], - "pathParameters": [ - { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "DeletePresExRecordRequestPresExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } + "ledger" ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "DeletePresExRecordRequest", + "generatedRequestName": "GetWriteLedgerRequest", "response": { "description": "", "schema": { - "generatedName": "DeletePresExRecordResponse", - "schema": "V20PresentProofModuleResponse", + "generatedName": "GetWriteLedgerResponse", + "schema": "WriteLedgerRequest", "source": { "file": "../openapi.yml", "type": "openapi" @@ -44339,45 +15825,25 @@ "errors": {}, "server": [], "authed": true, - "method": "DELETE", - "path": "/present-proof-2.0/records/{pres_ex_id}", + "method": "GET", + "path": "/ledger/multiple/get-write-ledger", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { - "value": { - "value": "pres_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "response": { "value": { - "value": [ - { - "key": { - "value": "key", + "properties": { + "ledger_id": { + "value": { + "value": "ledger_id", "type": "string" }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } + "type": "primitive" } - ], - "type": "map" + }, + "type": "object" }, "type": "withoutStreaming" }, @@ -44391,22 +15857,23 @@ } }, { - "summary": "Fetch credentials from wallet for presentation request", + "summary": "Send a NYM registration to the ledger.", "audiences": [], - "operationId": "get_pres_ex_credentials-v2", + "operationId": "register_nym", "tags": [ - "present-proof v2.0" + "ledger" ], - "pathParameters": [ + "pathParameters": [], + "queryParameters": [ { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", + "description": "DID to register", + "name": "did", "schema": { "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "pattern": "^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$", "type": "string" }, - "generatedName": "GetPresExCredentialsV2RequestPresExId", + "generatedName": "RegisterNymRequestDid", "groupName": [], "type": "primitive" }, @@ -44414,20 +15881,34 @@ "file": "../openapi.yml", "type": "openapi" } - } - ], - "queryParameters": [ + }, { - "description": "Maximum number to retrieve", - "name": "count", + "description": "Verification key", + "name": "verkey", "schema": { - "generatedName": "GetPresExCredentialsV2RequestCount", + "schema": { + "pattern": "^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$", + "type": "string" + }, + "generatedName": "RegisterNymRequestVerkey", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Alias", + "name": "alias", + "schema": { + "generatedName": "RegisterNymRequestAlias", "value": { "schema": { - "pattern": "^[1-9][0-9]*$", "type": "string" }, - "generatedName": "GetPresExCredentialsV2RequestCount", + "generatedName": "RegisterNymRequestAlias", "groupName": [], "type": "primitive" }, @@ -44440,16 +15921,15 @@ } }, { - "description": "(JSON) object mapping referents to extra WQL queries", - "name": "extra_query", + "description": "Connection identifier", + "name": "conn_id", "schema": { - "generatedName": "GetPresExCredentialsV2RequestExtraQuery", + "generatedName": "RegisterNymRequestConnId", "value": { "schema": { - "pattern": "^{\\s*\".*?\"\\s*:\\s*{.*?}\\s*(,\\s*\".*?\"\\s*:\\s*{.*?}\\s*)*\\s*}$", "type": "string" }, - "generatedName": "GetPresExCredentialsV2RequestExtraQuery", + "generatedName": "RegisterNymRequestConnId", "groupName": [], "type": "primitive" }, @@ -44462,15 +15942,15 @@ } }, { - "description": "Proof request referents of interest, comma-separated", - "name": "referent", + "description": "Create Transaction For Endorser's signature", + "name": "create_transaction_for_endorser", "schema": { - "generatedName": "GetPresExCredentialsV2RequestReferent", + "generatedName": "RegisterNymRequestCreateTransactionForEndorser", "value": { "schema": { - "type": "string" + "type": "boolean" }, - "generatedName": "GetPresExCredentialsV2RequestReferent", + "generatedName": "RegisterNymRequestCreateTransactionForEndorser", "groupName": [], "type": "primitive" }, @@ -44483,18 +15963,45 @@ } }, { - "description": "Start index", - "name": "start", + "description": "Role", + "name": "role", "schema": { - "generatedName": "GetPresExCredentialsV2RequestStart", + "generatedName": "RegisterNymRequestRole", "value": { - "schema": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "generatedName": "GetPresExCredentialsV2RequestStart", + "generatedName": "RegisterNymRequestRole", + "values": [ + { + "generatedName": "STEWARD", + "value": "STEWARD", + "casing": {} + }, + { + "generatedName": "TRUSTEE", + "value": "TRUSTEE", + "casing": {} + }, + { + "generatedName": "ENDORSER", + "value": "ENDORSER", + "casing": {} + }, + { + "generatedName": "NETWORK_MONITOR", + "value": "NETWORK_MONITOR", + "casing": {} + }, + { + "generatedName": "reset", + "value": "reset", + "casing": {} + } + ], "groupName": [], - "type": "primitive" + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" }, "groupName": [], "type": "nullable" @@ -44506,22 +16013,17 @@ } ], "headers": [], - "generatedRequestName": "GetPresExCredentialsV2Request", + "generatedRequestName": "RegisterNymRequest", "response": { "description": "", "schema": { - "value": { - "generatedName": "GetPresExCredentialsV2ResponseItem", - "schema": "IndyCredPrecis", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" + "generatedName": "RegisterNymResponse", + "schema": "TxnOrRegisterLedgerNymResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" }, - "generatedName": "GetPresExCredentialsV2Response", - "groupName": [], - "type": "array" + "type": "reference" }, "fullExamples": [], "source": { @@ -44533,32 +16035,177 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/present-proof-2.0/records/{pres_ex_id}/credentials", + "method": "POST", + "path": "/ledger/register-nym", "examples": [ { - "pathParameters": [ + "pathParameters": [], + "queryParameters": [ { - "name": "pres_ex_id", + "name": "did", "value": { "value": { - "value": "pres_ex_id", + "value": "did", + "type": "string" + }, + "type": "primitive" + } + }, + { + "name": "verkey", + "value": { + "value": { + "value": "verkey", "type": "string" }, "type": "primitive" } } ], + "headers": [], + "response": { + "value": { + "properties": { + "success": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Rotate key pair for public DID.", + "audiences": [], + "operationId": "rotate_public_did_keypair", + "tags": [ + "ledger" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "RotatePublicDidKeypairRequest", + "response": { + "description": "", + "schema": { + "generatedName": "RotatePublicDidKeypairResponse", + "schema": "LedgerModulesResult", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "PATCH", + "path": "/ledger/rotate-public-did-keypair", + "examples": [ + { + "pathParameters": [], "queryParameters": [], "headers": [], "response": { "value": { "value": [ { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch the current transaction author agreement, if any", + "audiences": [], + "operationId": "get_taa", + "tags": [ + "ledger" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetTaaRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetTaaResponse", + "schema": "TAAResult", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/ledger/taa", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "result": { "properties": { - "cred_info": { + "aml_record": { "properties": { - "attrs": { + "aml": { "value": [ { "key": { @@ -44567,7 +16214,7 @@ }, "value": { "value": { - "value": "alice", + "value": "aml", "type": "string" }, "type": "primitive" @@ -44576,37 +16223,16 @@ ], "type": "map" }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { + "amlContext": { "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", + "value": "amlContext", "type": "string" }, "type": "primitive" }, - "schema_id": { + "version": { "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", + "value": "version", "type": "string" }, "type": "primitive" @@ -44614,16 +16240,16 @@ }, "type": "object" }, - "interval": { + "taa_accepted": { "properties": { - "from": { + "mechanism": { "value": { - "value": 1640995199, - "type": "int" + "value": "mechanism", + "type": "string" }, "type": "primitive" }, - "to": { + "time": { "value": { "value": 1640995199, "type": "int" @@ -44633,30 +16259,44 @@ }, "type": "object" }, - "presentation_referents": { - "value": [ - { + "taa_record": { + "properties": { + "digest": { "value": { - "value": "1_age_uuid", + "value": "digest", "type": "string" }, "type": "primitive" }, - { + "text": { "value": { - "value": "1_age_uuid", + "value": "text", + "type": "string" + }, + "type": "primitive" + }, + "version": { + "value": { + "value": "version", "type": "string" }, "type": "primitive" } - ], - "type": "array" + }, + "type": "object" + }, + "taa_required": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" } - ], - "type": "array" + }, + "type": "object" }, "type": "withoutStreaming" }, @@ -44670,38 +16310,20 @@ } }, { - "summary": "Send a problem report for presentation exchange", + "summary": "Accept the transaction author agreement", "audiences": [], - "operationId": "report_pres_ex_problem", + "operationId": "accept_taa", "tags": [ - "present-proof v2.0" - ], - "pathParameters": [ - { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "ReportPresExProblemRequestPresExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } + "ledger" ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "ReportPresExProblemRequest", + "generatedRequestName": "AcceptTaaRequest", "request": { "schema": { - "generatedName": "ReportPresExProblemRequest", - "schema": "V20PresProblemReportRequest", + "generatedName": "AcceptTaaRequest", + "schema": "TAAAccept", "source": { "file": "../openapi.yml", "type": "openapi" @@ -44720,8 +16342,8 @@ "response": { "description": "", "schema": { - "generatedName": "ReportPresExProblemResponse", - "schema": "V20PresentProofModuleResponse", + "generatedName": "AcceptTaaResponse", + "schema": "LedgerModulesResult", "source": { "file": "../openapi.yml", "type": "openapi" @@ -44739,28 +16361,31 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof-2.0/records/{pres_ex_id}/problem-report", + "path": "/ledger/taa/accept", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { - "value": { - "value": "pres_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "request": { "properties": { - "description": { + "mechanism": { "value": { - "value": "description", + "value": "mechanism", + "type": "string" + }, + "type": "primitive" + }, + "text": { + "value": { + "value": "text", + "type": "string" + }, + "type": "primitive" + }, + "version": { + "value": { + "value": "version", "type": "string" }, "type": "primitive" @@ -44802,58 +16427,21 @@ } }, { - "summary": "Sends a proof presentation", + "summary": "Get default mediator", "audiences": [], - "operationId": "send_proof_presentation", + "operationId": "get_default_mediator", "tags": [ - "present-proof v2.0" - ], - "pathParameters": [ - { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "SendProofPresentationRequestPresExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } + "mediation" ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "SendProofPresentationRequest", - "request": { - "schema": { - "generatedName": "SendProofPresentationRequest", - "schema": "V20PresSpecByFormatRequest", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, + "generatedRequestName": "GetDefaultMediatorRequest", "response": { "description": "", "schema": { - "generatedName": "SendProofPresentationResponse", - "schema": "V20PresExRecord", + "generatedName": "GetDefaultMediatorResponse", + "schema": "MediationRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -44870,146 +16458,19 @@ "errors": {}, "server": [], "authed": true, - "method": "POST", - "path": "/present-proof-2.0/records/{pres_ex_id}/send-presentation", + "method": "GET", + "path": "/mediation/default-mediator", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { - "value": { - "value": "pres_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], - "request": { - "properties": { - "indy": { - "properties": { - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "cred_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "revealed": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "cred_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "timestamp": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "self_attested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "self_attested_value", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, "response": { "value": { "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, "connection_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "connection_id", "type": "string" }, "type": "primitive" @@ -45021,562 +16482,865 @@ }, "type": "primitive" }, - "error_msg": { + "endpoint": { "value": { - "value": "Invalid structure", + "value": "endpoint", "type": "string" }, "type": "primitive" }, - "initiator": { - "value": "self", - "type": "enum" + "mediation_id": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" }, - "pres": { - "properties": { - "@id": { + "mediator_terms": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "mediator_terms", "type": "string" }, "type": "primitive" }, - "@type": { + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "mediator_terms", "type": "string" }, "type": "primitive" - }, - "comment": { + } + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { "value": { - "value": "comment", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" } + ], + "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Clear default mediator", + "audiences": [], + "operationId": "clear_default_mediator", + "tags": [ + "mediation" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "ClearDefaultMediatorRequest", + "response": { + "description": "", + "schema": { + "generatedName": "ClearDefaultMediatorResponse", + "schema": "MediationRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "DELETE", + "path": "/mediation/default-mediator", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "pres_ex_id": { + "created_at": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "pres_proposal": { - "properties": { - "@id": { + "endpoint": { + "value": { + "value": "endpoint", + "type": "string" + }, + "type": "primitive" + }, + "mediation_id": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + }, + "mediator_terms": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "mediator_terms", "type": "string" }, "type": "primitive" }, - "@type": { + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "mediator_terms", "type": "string" }, "type": "primitive" - }, - "comment": { + } + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { "value": { - "value": "comment", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_request": { - "properties": { - "@id": { + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "recipient_terms", "type": "string" }, "type": "primitive" - }, - "@type": { + } + ], + "type": "array" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" }, - "comment": { + { "value": { - "value": "comment", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } + } + ], + "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Retrieve keylists by connection or role", + "audiences": [], + "operationId": "get_keylists", + "tags": [ + "mediation" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "Connection identifier (optional)", + "name": "conn_id", + "schema": { + "generatedName": "GetKeylistsRequestConnId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetKeylistsRequestConnId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Filer on role, 'client' for keys mediated by other agents, 'server' for keys mediated by this agent", + "name": "role", + "schema": { + "generatedName": "GetKeylistsRequestRole", + "value": { + "generatedName": "GetKeylistsRequestRole", + "values": [ + { + "generatedName": "client", + "value": "client", + "casing": {} + }, + { + "generatedName": "server", + "value": "server", + "casing": {} + } + ], + "default": { + "generatedName": "server", + "value": "server", + "casing": {} + }, + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetKeylistsRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetKeylistsResponse", + "schema": "Keylist", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/mediation/keylists", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "results": { + "value": [ + { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" }, - "type": "object" - } - ], - "type": "array" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "recipient_key": { + "value": { + "value": "recipient_key", + "type": "string" + }, + "type": "primitive" + }, + "record_id": { + "value": { + "value": "record_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "wallet_id": { + "value": { + "value": "wallet_id", + "type": "string" }, - "type": "object" + "type": "primitive" } - ], - "type": "array" + }, + "type": "object" }, - "will_confirm": { - "value": { - "value": true, - "type": "boolean" + { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "recipient_key": { + "value": { + "value": "recipient_key", + "type": "string" + }, + "type": "primitive" + }, + "record_id": { + "value": { + "value": "record_id", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "wallet_id": { + "value": { + "value": "wallet_id", + "type": "string" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" } - }, - "type": "object" - }, - "role": { - "value": "prover", - "type": "enum" - }, - "state": { - "value": "proposal-sent", - "type": "enum" + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send keylist query to mediator", + "audiences": [], + "operationId": "send_keylist_query_to_mediator", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "SendKeylistQueryToMediatorRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [ + { + "description": "limit number of results", + "name": "paginate_limit", + "schema": { + "generatedName": "SendKeylistQueryToMediatorRequestPaginateLimit", + "value": { + "schema": { + "default": -1, + "type": "int" + }, + "generatedName": "SendKeylistQueryToMediatorRequestPaginateLimit", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "offset to use in pagination", + "name": "paginate_offset", + "schema": { + "generatedName": "SendKeylistQueryToMediatorRequestPaginateOffset", + "value": { + "schema": { + "default": 0, + "type": "int" + }, + "generatedName": "SendKeylistQueryToMediatorRequestPaginateOffset", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "SendKeylistQueryToMediatorRequest", + "request": { + "schema": { + "generatedName": "SendKeylistQueryToMediatorRequestBody", + "schema": "KeylistQueryFilterRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendKeylistQueryToMediatorResponse", + "schema": "KeylistQuery", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/mediation/keylists/{mediation_id}/send-keylist-query", + "examples": [ + { + "pathParameters": [ + { + "name": "mediation_id", + "value": { + "value": { + "value": "mediation_id", + "type": "string" }, - "thread_id": { + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": {}, + "type": "object" + }, + "response": { + "value": { + "properties": { + "@id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "trace": { + "@type": { "value": { - "value": true, - "type": "boolean" + "value": "https://didcomm.org/my-family/1.0/my-message-type", + "type": "string" }, "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send keylist update to mediator", + "audiences": [], + "operationId": "send_keylist_update_to_mediator", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "SendKeylistUpdateToMediatorRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendKeylistUpdateToMediatorRequest", + "request": { + "schema": { + "generatedName": "SendKeylistUpdateToMediatorRequest", + "schema": "KeylistUpdateRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendKeylistUpdateToMediatorResponse", + "schema": "KeylistUpdate", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/mediation/keylists/{mediation_id}/send-keylist-update", + "examples": [ + { + "pathParameters": [ + { + "name": "mediation_id", + "value": { + "value": { + "value": "mediation_id", + "type": "string" }, - "updated_at": { + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "updates": { + "value": [ + { + "properties": { + "action": { + "value": "add", + "type": "enum" + }, + "recipient_key": { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "action": { + "value": "add", + "type": "enum" + }, + "recipient_key": { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "@id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "verified": { - "value": "true", - "type": "enum" + "@type": { + "value": { + "value": "https://didcomm.org/my-family/1.0/my-message-type", + "type": "string" + }, + "type": "primitive" }, - "verified_msgs": { + "updates": { "value": [ { - "value": { - "value": "verified_msgs", - "type": "string" + "properties": { + "action": { + "value": "add", + "type": "enum" + }, + "recipient_key": { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" }, { - "value": { - "value": "verified_msgs", - "type": "string" + "properties": { + "action": { + "value": "add", + "type": "enum" + }, + "recipient_key": { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" } ], "type": "array" @@ -45596,22 +17360,21 @@ } }, { - "summary": "Sends a presentation request in reference to a proposal", + "summary": "Request mediation from connection", "audiences": [], - "operationId": "send_proof_presentation_request", + "operationId": "request_mediation_for_connection", "tags": [ - "present-proof v2.0" + "mediation" ], "pathParameters": [ { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", + "description": "Connection identifier", + "name": "conn_id", "schema": { "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", "type": "string" }, - "generatedName": "SendProofPresentationRequestRequestPresExId", + "generatedName": "RequestMediationForConnectionRequestConnId", "groupName": [], "type": "primitive" }, @@ -45623,11 +17386,11 @@ ], "queryParameters": [], "headers": [], - "generatedRequestName": "SendProofPresentationRequestRequest", + "generatedRequestName": "RequestMediationForConnectionRequest", "request": { "schema": { - "generatedName": "SendProofPresentationRequestRequest", - "schema": "V20PresentationSendRequestToProposal", + "generatedName": "RequestMediationForConnectionRequest", + "schema": "MediationCreateRequest", "source": { "file": "../openapi.yml", "type": "openapi" @@ -45646,8 +17409,8 @@ "response": { "description": "", "schema": { - "generatedName": "SendProofPresentationRequestResponse", - "schema": "V20PresExRecord", + "generatedName": "RequestMediationForConnectionResponse", + "schema": "MediationRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -45665,15 +17428,15 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof-2.0/records/{pres_ex_id}/send-request", + "path": "/mediation/request/{conn_id}", "examples": [ { "pathParameters": [ { - "name": "pres_ex_id", + "name": "conn_id", "value": { "value": { - "value": "pres_ex_id", + "value": "conn_id", "type": "string" }, "type": "primitive" @@ -45684,19 +17447,43 @@ "headers": [], "request": { "properties": { - "auto_verify": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" + "mediator_terms": { + "value": [ + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" + "recipient_terms": { + "value": [ + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" } }, "type": "object" @@ -45704,23 +17491,9 @@ "response": { "value": { "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, "connection_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "connection_id", "type": "string" }, "type": "primitive" @@ -45732,565 +17505,97 @@ }, "type": "primitive" }, - "error_msg": { + "endpoint": { "value": { - "value": "Invalid structure", + "value": "endpoint", "type": "string" }, "type": "primitive" }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_ex_id": { + "mediation_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "mediation_id", "type": "string" }, "type": "primitive" }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { + "mediator_terms": { + "value": [ + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "mediator_terms", "type": "string" }, "type": "primitive" }, - "comment": { + { "value": { - "value": "comment", + "value": "mediator_terms", "type": "string" }, "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" } - }, - "type": "object" + ], + "type": "array" }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { + "recipient_terms": { + "value": [ + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, - "comment": { + { "value": { - "value": "comment", + "value": "recipient_terms", "type": "string" }, "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "will_confirm": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" } - }, - "type": "object" - }, - "role": { - "value": "prover", - "type": "enum" - }, - "state": { - "value": "proposal-sent", - "type": "enum" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" + ], + "type": "array" }, - "updated_at": { + "role": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "role", "type": "string" }, "type": "primitive" }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { + "routing_keys": { "value": [ { "value": { - "value": "verified_msgs", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" }, { "value": { - "value": "verified_msgs", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" } ], "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -46307,24 +17612,123 @@ } }, { - "summary": "Verify a received presentation", + "summary": "Query mediation requests, returns list of all mediation records", "audiences": [], - "operationId": "verify_received_presentation", + "operationId": "get_matching_mediation_records", "tags": [ - "present-proof v2.0" + "mediation" ], - "pathParameters": [ + "pathParameters": [], + "queryParameters": [ { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", + "description": "Connection identifier (optional)", + "name": "conn_id", "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" + "generatedName": "GetMatchingMediationRecordsRequestConnId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingMediationRecordsRequestConnId", + "groupName": [], + "type": "primitive" }, - "generatedName": "VerifyReceivedPresentationRequestPresExId", "groupName": [], - "type": "primitive" + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "List of mediator rules for recipient", + "name": "mediator_terms", + "schema": { + "generatedName": "GetMatchingMediationRecordsRequestMediatorTerms", + "value": { + "value": { + "description": "Indicate terms to which the mediator requires the recipient to agree", + "schema": { + "type": "string" + }, + "generatedName": "GetMatchingMediationRecordsRequestMediatorTermsItem", + "groupName": [], + "type": "primitive" + }, + "generatedName": "GetMatchingMediationRecordsRequestMediatorTerms", + "groupName": [], + "type": "array" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "List of recipient rules for mediation", + "name": "recipient_terms", + "schema": { + "generatedName": "GetMatchingMediationRecordsRequestRecipientTerms", + "value": { + "value": { + "description": "Indicate terms to which the recipient requires the mediator to agree", + "schema": { + "type": "string" + }, + "generatedName": "GetMatchingMediationRecordsRequestRecipientTermsItem", + "groupName": [], + "type": "primitive" + }, + "generatedName": "GetMatchingMediationRecordsRequestRecipientTerms", + "groupName": [], + "type": "array" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Mediation state (optional)", + "name": "state", + "schema": { + "generatedName": "GetMatchingMediationRecordsRequestState", + "value": { + "generatedName": "GetMatchingMediationRecordsRequestState", + "values": [ + { + "generatedName": "request", + "value": "request", + "casing": {} + }, + { + "generatedName": "granted", + "value": "granted", + "casing": {} + }, + { + "generatedName": "denied", + "value": "denied", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" }, "source": { "file": "../openapi.yml", @@ -46332,14 +17736,13 @@ } } ], - "queryParameters": [], "headers": [], - "generatedRequestName": "VerifyReceivedPresentationRequest", + "generatedRequestName": "GetMatchingMediationRecordsRequest", "response": { "description": "", "schema": { - "generatedName": "VerifyReceivedPresentationResponse", - "schema": "V20PresExRecord", + "generatedName": "GetMatchingMediationRecordsResponse", + "schema": "MediationList", "source": { "file": "../openapi.yml", "type": "openapi" @@ -46356,614 +17759,624 @@ "errors": {}, "server": [], "authed": true, - "method": "POST", - "path": "/present-proof-2.0/records/{pres_ex_id}/verify-presentation", + "method": "GET", + "path": "/mediation/requests", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { - "value": { - "value": "pres_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "response": { "value": { "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } + "results": { + "value": [ + { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" + }, + "endpoint": { + "value": { + "value": "endpoint", + "type": "string" }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { + "type": "primitive" + }, + "mediation_id": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + }, + "mediator_terms": { + "value": [ + { "value": { - "value": "view from doorway, facing east, with lights off", + "value": "mediator_terms", "type": "string" }, "type": "primitive" }, - "filename": { + { "value": { - "value": "IMG1092348.png", + "value": "mediator_terms", "type": "string" }, "type": "primitive" - }, - "lastmod_time": { + } + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, - "mime-type": { + { "value": { - "value": "image/png", + "value": "recipient_terms", "type": "string" }, "type": "primitive" } + ], + "type": "array" + }, + "role": { + "value": { + "value": "role", + "type": "string" }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { + "type": "primitive" + }, + "routing_keys": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" }, - "format": { + { "value": { - "value": "dif/presentation-exchange/submission@v1.0", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" } + ], + "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" }, - "type": "object" + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } - ], - "type": "array" + }, + "type": "object" }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { + { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "endpoint": { + "value": { + "value": "endpoint", + "type": "string" + }, + "type": "primitive" + }, + "mediation_id": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + }, + "mediator_terms": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "mediator_terms", "type": "string" }, "type": "primitive" }, - "byte_count": { + { "value": { - "value": 1234, - "type": "int" + "value": "mediator_terms", + "type": "string" }, "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { + } + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { "value": { - "value": "view from doorway, facing east, with lights off", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, - "filename": { + { "value": { - "value": "IMG1092348.png", + "value": "recipient_terms", "type": "string" }, "type": "primitive" - }, - "lastmod_time": { + } + ], + "type": "array" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" }, - "mime-type": { + { "value": { - "value": "image/png", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" } + ], + "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" }, - "type": "object" + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } - ], - "type": "array" + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Retrieve mediation request record", + "audiences": [], + "operationId": "get_mediation_record", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMediationRecordRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetMediationRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetMediationRecordResponse", + "schema": "MediationRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/mediation/requests/{mediation_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "mediation_id", + "value": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "endpoint": { + "value": { + "value": "endpoint", + "type": "string" + }, + "type": "primitive" + }, + "mediation_id": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + }, + "mediator_terms": { + "value": [ + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" }, - "will_confirm": { + { "value": { - "value": true, - "type": "boolean" + "value": "mediator_terms", + "type": "string" }, "type": "primitive" } - }, - "type": "object" + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" }, "role": { - "value": "prover", - "type": "enum" + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Delete mediation request by ID", + "audiences": [], + "operationId": "delete_mediation_record", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "DeleteMediationRecordRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "DeleteMediationRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "DeleteMediationRecordResponse", + "schema": "MediationRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "DELETE", + "path": "/mediation/requests/{mediation_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "mediation_id", + "value": { + "value": { + "value": "mediation_id", + "type": "string" }, - "state": { - "value": "proposal-sent", - "type": "enum" + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" + }, + "type": "primitive" }, - "thread_id": { + "created_at": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, "type": "primitive" }, - "trace": { + "endpoint": { "value": { - "value": true, - "type": "boolean" + "value": "endpoint", + "type": "string" }, "type": "primitive" }, - "updated_at": { + "mediation_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "mediation_id", "type": "string" }, "type": "primitive" }, - "verified": { - "value": "true", - "type": "enum" + "mediator_terms": { + "value": [ + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" }, - "verified_msgs": { + "recipient_terms": { "value": [ { "value": { - "value": "verified_msgs", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, { "value": { - "value": "verified_msgs", + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" } ], "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" } }, "type": "object" @@ -46980,20 +18393,38 @@ } }, { - "summary": "Sends a presentation proposal", + "summary": "Deny a stored mediation request", "audiences": [], - "operationId": "send_presentation_proposal", + "operationId": "deny_mediation_request", "tags": [ - "present-proof v2.0" + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "DenyMediationRequestRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } ], - "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "SendPresentationProposalRequest", + "generatedRequestName": "DenyMediationRequestRequest", "request": { "schema": { - "generatedName": "SendPresentationProposalRequest", - "schema": "V20PresProposalRequest", + "generatedName": "DenyMediationRequestRequest", + "schema": "AdminMediationDeny", "source": { "file": "../openapi.yml", "type": "openapi" @@ -47012,8 +18443,8 @@ "response": { "description": "", "schema": { - "generatedName": "SendPresentationProposalResponse", - "schema": "V20PresExRecord", + "generatedName": "DenyMediationRequestResponse", + "schema": "MediationDeny", "source": { "file": "../openapi.yml", "type": "openapi" @@ -47031,228 +18462,352 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof-2.0/send-proposal", + "path": "/mediation/requests/{mediation_id}/deny", "examples": [ { - "pathParameters": [], + "pathParameters": [ + { + "name": "mediation_id", + "value": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + } + } + ], "queryParameters": [], "headers": [], "request": { "properties": { - "auto_present": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" + "mediator_terms": { + "value": [ + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" }, - "comment": { - "value": { - "value": "comment", - "type": "string" + "recipient_terms": { + "value": [ + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "@id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" + "@type": { + "value": { + "value": "https://didcomm.org/my-family/1.0/my-message-type", + "type": "string" + }, + "type": "primitive" + }, + "mediator_terms": { + "value": [ + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "mediator_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } }, - "connection_id": { + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Grant received mediation", + "audiences": [], + "operationId": "grant_mediation_request", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GrantMediationRequestRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GrantMediationRequestRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GrantMediationRequestResponse", + "schema": "MediationGrant", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/mediation/requests/{mediation_id}/grant", + "examples": [ + { + "pathParameters": [ + { + "name": "mediation_id", + "value": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "mediation_id", "type": "string" }, "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "indy": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "@id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "@type": { + "value": { + "value": "https://didcomm.org/my-family/1.0/my-message-type", + "type": "string" + }, + "type": "primitive" + }, + "endpoint": { + "value": { + "value": "http://192.168.56.102:8020/", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { + "value": { + "value": "routing_keys", + "type": "string" }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" }, - "type": "object" - } + { + "value": { + "value": "routing_keys", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Update keylist for a connection", + "audiences": [], + "operationId": "update_keylist_for_conn_id", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Connection identifier", + "name": "conn_id", + "schema": { + "schema": { + "type": "string" + }, + "generatedName": "UpdateKeylistForConnIdRequestConnId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "UpdateKeylistForConnIdRequest", + "request": { + "schema": { + "generatedName": "UpdateKeylistForConnIdRequest", + "schema": "MediationIdMatchInfo", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "UpdateKeylistForConnIdResponse", + "schema": "KeylistUpdate", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/mediation/update-keylist/{conn_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "conn_id", + "value": { + "value": { + "value": "conn_id", + "type": "string" }, - "type": "object" - }, - "trace": { + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "mediation_id": { "value": { - "value": false, - "type": "boolean" + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, "type": "primitive" } @@ -47262,561 +18817,709 @@ "response": { "value": { "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { + "@id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { + "@type": { "value": { - "value": "Invalid structure", + "value": "https://didcomm.org/my-family/1.0/my-message-type", "type": "string" }, "type": "primitive" }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "updates": { + "value": [ + { + "properties": { + "action": { + "value": "add", + "type": "enum" + }, + "recipient_key": { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" }, - "type": "object" + "type": "primitive" } - ], - "type": "array" - } - }, - "type": "object" - }, - "pres_ex_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "type": "object" }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + { + "properties": { + "action": { + "value": "add", + "type": "enum" + }, + "recipient_key": { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" }, - "type": "object" + "type": "primitive" } - ], - "type": "array" + }, + "type": "object" } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Set default mediator", + "audiences": [], + "operationId": "set_default_mediator", + "tags": [ + "mediation" + ], + "pathParameters": [ + { + "description": "Mediation record identifier", + "name": "mediation_id", + "schema": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "SetDefaultMediatorRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SetDefaultMediatorRequest", + "response": { + "description": "", + "schema": { + "generatedName": "SetDefaultMediatorResponse", + "schema": "MediationRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "PUT", + "path": "/mediation/{mediation_id}/default-mediator", + "examples": [ + { + "pathParameters": [ + { + "name": "mediation_id", + "value": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "connection_id": { + "value": { + "value": "connection_id", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "pres_request": { - "properties": { - "@id": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "endpoint": { + "value": { + "value": "endpoint", + "type": "string" + }, + "type": "primitive" + }, + "mediation_id": { + "value": { + "value": "mediation_id", + "type": "string" + }, + "type": "primitive" + }, + "mediator_terms": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "mediator_terms", "type": "string" }, "type": "primitive" }, - "@type": { + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "mediator_terms", "type": "string" }, "type": "primitive" - }, - "comment": { + } + ], + "type": "array" + }, + "recipient_terms": { + "value": [ + { "value": { - "value": "comment", + "value": "recipient_terms", "type": "string" }, "type": "primitive" }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + { + "value": { + "value": "recipient_terms", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "role": { + "value": { + "value": "role", + "type": "string" + }, + "type": "primitive" + }, + "routing_keys": { + "value": [ + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" + }, + "type": "primitive" }, - "will_confirm": { + { "value": { - "value": true, - "type": "boolean" + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" }, "type": "primitive" } + ], + "type": "array" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Create a subwallet", + "audiences": [], + "operationId": "create_wallet", + "tags": [ + "multitenancy" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "CreateWalletRequest", + "request": { + "schema": { + "generatedName": "CreateWalletRequest", + "schema": "CreateWalletRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "CreateWalletResponse", + "schema": "CreateWalletResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/multitenancy/wallet", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "image_url": { + "value": { + "value": "https://aries.ca/images/sample.png", + "type": "string" + }, + "type": "primitive" + }, + "key_management_mode": { + "value": { + "value": "managed", + "type": "string" + }, + "type": "literal" + }, + "label": { + "value": { + "value": "Alice", + "type": "string" + }, + "type": "primitive" + }, + "wallet_dispatch_type": { + "value": "default", + "type": "enum" + }, + "wallet_key": { + "value": { + "value": "MySecretKey123", + "type": "string" + }, + "type": "primitive" + }, + "wallet_key_derivation": { + "value": "RAW", + "type": "enum" + }, + "wallet_name": { + "value": { + "value": "MyNewWallet", + "type": "string" + }, + "type": "primitive" + }, + "wallet_type": { + "value": "indy", + "type": "enum" + }, + "wallet_webhook_urls": { + "value": [ + { + "value": { + "value": "http://localhost:8022/webhooks", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "http://localhost:8022/webhooks", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "key_management_mode": { + "value": "managed", + "type": "enum" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "token": { + "value": { + "value": "eyJhbGciOiJFZERTQSJ9.eyJhIjogIjAifQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "wallet_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Get a single subwallet", + "audiences": [], + "operationId": "get_wallet_record", + "tags": [ + "multitenancy" + ], + "pathParameters": [ + { + "description": "Subwallet identifier", + "name": "wallet_id", + "schema": { + "schema": { + "type": "string" + }, + "generatedName": "GetWalletRecordRequestWalletId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetWalletRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetWalletRecordResponse", + "schema": "WalletRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/multitenancy/wallet/{wallet_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "wallet_id", + "value": { + "value": { + "value": "wallet_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "role": { - "value": "prover", + "key_management_mode": { + "value": "managed", "type": "enum" }, "state": { - "value": "proposal-sent", - "type": "enum" + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" }, - "thread_id": { + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "wallet_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Update a subwallet", + "audiences": [], + "operationId": "update_wallet", + "tags": [ + "multitenancy" + ], + "pathParameters": [ + { + "description": "Subwallet identifier", + "name": "wallet_id", + "schema": { + "schema": { + "type": "string" + }, + "generatedName": "UpdateWalletRequestWalletId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "UpdateWalletRequest", + "request": { + "schema": { + "generatedName": "UpdateWalletRequest", + "schema": "UpdateWalletRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "UpdateWalletResponse", + "schema": "WalletRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "PUT", + "path": "/multitenancy/wallet/{wallet_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "wallet_id", + "value": { + "value": { + "value": "wallet_id", + "type": "string" }, - "trace": { + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "image_url": { + "value": { + "value": "https://aries.ca/images/sample.png", + "type": "string" + }, + "type": "primitive" + }, + "label": { + "value": { + "value": "Alice", + "type": "string" + }, + "type": "primitive" + }, + "wallet_dispatch_type": { + "value": "default", + "type": "enum" + }, + "wallet_webhook_urls": { + "value": [ + { + "value": { + "value": "http://localhost:8022/webhooks", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "http://localhost:8022/webhooks", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "created_at": { "value": { - "value": true, - "type": "boolean" + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "key_management_mode": { + "value": "managed", + "type": "enum" + }, + "state": { + "value": { + "value": "active", + "type": "string" }, "type": "primitive" }, @@ -47827,25 +19530,418 @@ }, "type": "primitive" }, - "verified": { - "value": "true", - "type": "enum" + "wallet_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Remove a subwallet", + "audiences": [], + "operationId": "delete_wallet", + "tags": [ + "multitenancy" + ], + "pathParameters": [ + { + "description": "Subwallet identifier", + "name": "wallet_id", + "schema": { + "schema": { + "type": "string" + }, + "generatedName": "DeleteWalletRequestWalletId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "DeleteWalletRequest", + "request": { + "schema": { + "generatedName": "DeleteWalletRequest", + "schema": "RemoveWalletRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "DeleteWalletResponse", + "schema": "MultitenantModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/multitenancy/wallet/{wallet_id}/remove", + "examples": [ + { + "pathParameters": [ + { + "name": "wallet_id", + "value": { + "value": { + "value": "wallet_id", + "type": "string" }, - "verified_msgs": { + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "wallet_key": { + "value": { + "value": "MySecretKey123", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Get auth token for a subwallet", + "audiences": [], + "operationId": "get_auth_token", + "tags": [ + "multitenancy" + ], + "pathParameters": [ + { + "name": "wallet_id", + "schema": { + "schema": { + "type": "string" + }, + "generatedName": "GetAuthTokenRequestWalletId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetAuthTokenRequest", + "request": { + "schema": { + "generatedName": "GetAuthTokenRequest", + "schema": "CreateWalletTokenRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "GetAuthTokenResponse", + "schema": "CreateWalletTokenResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/multitenancy/wallet/{wallet_id}/token", + "examples": [ + { + "pathParameters": [ + { + "name": "wallet_id", + "value": { + "value": { + "value": "wallet_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "wallet_key": { + "value": { + "value": "MySecretKey123", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "token": { + "value": { + "value": "eyJhbGciOiJFZERTQSJ9.eyJhIjogIjAifQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Query subwallets", + "audiences": [], + "operationId": "get_matching_wallets", + "tags": [ + "multitenancy" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "Wallet name", + "name": "wallet_name", + "schema": { + "generatedName": "GetMatchingWalletsRequestWalletName", + "value": { + "schema": { + "type": "string" + }, + "generatedName": "GetMatchingWalletsRequestWalletName", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetMatchingWalletsRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetMatchingWalletsResponse", + "schema": "WalletList", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/multitenancy/wallets", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "results": { "value": [ { - "value": { - "value": "verified_msgs", - "type": "string" + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "key_management_mode": { + "value": "managed", + "type": "enum" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "wallet_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" }, { - "value": { - "value": "verified_msgs", - "type": "string" + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "key_management_mode": { + "value": "managed", + "type": "enum" + }, + "state": { + "value": { + "value": "active", + "type": "string" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "wallet_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + } }, - "type": "primitive" + "type": "object" } ], "type": "array" @@ -47865,20 +19961,63 @@ } }, { - "summary": "Sends a free presentation request not bound to any proposal", + "summary": "Create a new connection invitation", "audiences": [], - "operationId": "send_free_presentation_request", + "operationId": "create_oob_invitation", "tags": [ - "present-proof v2.0" + "out-of-band" ], "pathParameters": [], - "queryParameters": [], + "queryParameters": [ + { + "description": "Auto-accept connection (defaults to configuration)", + "name": "auto_accept", + "schema": { + "generatedName": "CreateOobInvitationRequestAutoAccept", + "value": { + "schema": { + "type": "boolean" + }, + "generatedName": "CreateOobInvitationRequestAutoAccept", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Create invitation for multiple use (default false)", + "name": "multi_use", + "schema": { + "generatedName": "CreateOobInvitationRequestMultiUse", + "value": { + "schema": { + "type": "boolean" + }, + "generatedName": "CreateOobInvitationRequestMultiUse", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], "headers": [], - "generatedRequestName": "SendFreePresentationRequestRequest", + "generatedRequestName": "CreateOobInvitationRequest", "request": { "schema": { - "generatedName": "SendFreePresentationRequestRequest", - "schema": "V20PresSendRequestRequest", + "generatedName": "CreateOobInvitationRequestBody", + "schema": "InvitationCreateRequest", "source": { "file": "../openapi.yml", "type": "openapi" @@ -47897,8 +20036,8 @@ "response": { "description": "", "schema": { - "generatedName": "SendFreePresentationRequestResponse", - "schema": "V20PresExRecord", + "generatedName": "CreateOobInvitationResponse", + "schema": "InvitationRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -47916,7 +20055,7 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof-2.0/send-request", + "path": "/out-of-band/create-invitation", "examples": [ { "pathParameters": [], @@ -47924,776 +20063,160 @@ "headers": [], "request": { "properties": { - "auto_verify": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" + "accept": { + "value": [ + { + "value": { + "value": "didcomm/aip1", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "didcomm/aip2;env=rfc19", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" }, - "connection_id": { + "alias": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "Barry", "type": "string" }, "type": "primitive" }, - "presentation_request": { - "properties": { - "indy": { + "attachments": { + "value": [ + { "properties": { - "name": { + "id": { "value": { - "value": "Proof request", + "value": "attachment-0", "type": "string" }, "type": "primitive" }, - "nonce": { + "type": { + "value": "present-proof", + "type": "enum" + } + }, + "type": "object" + }, + { + "properties": { + "id": { "value": { - "value": "1", + "value": "attachment-0", "type": "string" }, "type": "primitive" }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" + "type": { + "value": "present-proof", + "type": "enum" } }, "type": "object" } - }, - "type": "object" - }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "pres": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } + ], + "type": "array" + }, + "handshake_protocols": { + "value": [ + { + "value": { + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", + "type": "string" + }, + "type": "primitive" }, - "type": "object" + { + "value": { + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "mediation_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, - "pres_ex_id": { + "type": "primitive" + }, + "my_label": { + "value": { + "value": "Invitation to Barry", + "type": "string" + }, + "type": "primitive" + }, + "protocol_version": { + "value": { + "value": "1.1", + "type": "string" + }, + "type": "primitive" + }, + "use_public_did": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "invi_msg_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "pres_proposal": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proposals~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } + "invitation_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "pres_request": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "properties": { - "attach_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "format": { - "value": { - "value": "dif/presentation-exchange/submission@v1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "will_confirm": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - } + "invitation_url": { + "value": { + "value": "https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "role": { - "value": "prover", - "type": "enum" + "oob_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "state": { - "value": "proposal-sent", - "type": "enum" - }, - "thread_id": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "await_response", "type": "string" }, "type": "primitive" @@ -48711,59 +20234,122 @@ "type": "string" }, "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" } }, "type": "object" }, - "type": "withoutStreaming" + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Receive a new connection invitation", + "audiences": [], + "operationId": "receive_oob_invitation", + "tags": [ + "out-of-band" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "Alias for connection", + "name": "alias", + "schema": { + "generatedName": "ReceiveOobInvitationRequestAlias", + "value": { + "schema": { + "type": "string" + }, + "generatedName": "ReceiveOobInvitationRequestAlias", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Auto-accept connection (defaults to configuration)", + "name": "auto_accept", + "schema": { + "generatedName": "ReceiveOobInvitationRequestAutoAccept", + "value": { + "schema": { + "type": "boolean" + }, + "generatedName": "ReceiveOobInvitationRequestAutoAccept", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Identifier for active mediation record to be used", + "name": "mediation_id", + "schema": { + "generatedName": "ReceiveOobInvitationRequestMediationId", + "value": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "ReceiveOobInvitationRequestMediationId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Use an existing connection, if possible", + "name": "use_existing_connection", + "schema": { + "generatedName": "ReceiveOobInvitationRequestUseExistingConnection", + "value": { + "schema": { + "type": "boolean" + }, + "generatedName": "ReceiveOobInvitationRequestUseExistingConnection", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" }, - "codeSamples": [], - "type": "full" + "source": { + "file": "../openapi.yml", + "type": "openapi" + } } ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Creates a presentation request not bound to any proposal or connection", - "audiences": [], - "operationId": "create_free_proof_request", - "tags": [ - "present-proof v1.0" - ], - "pathParameters": [], - "queryParameters": [], "headers": [], - "generatedRequestName": "CreateFreeProofRequestRequest", + "generatedRequestName": "ReceiveOobInvitationRequest", "request": { "schema": { - "generatedName": "CreateFreeProofRequestRequest", - "schema": "V10PresentationCreateRequestRequest", + "generatedName": "ReceiveOobInvitationRequestBody", + "schema": "InvitationMessage", "source": { "file": "../openapi.yml", "type": "openapi" @@ -48782,8 +20368,8 @@ "response": { "description": "", "schema": { - "generatedName": "CreateFreeProofRequestResponse", - "schema": "V10PresentationExchange", + "generatedName": "ReceiveOobInvitationResponse", + "schema": "OobRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -48801,7 +20387,7 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof/create-request", + "path": "/out-of-band/receive-invitation", "examples": [ { "pathParameters": [], @@ -48809,1164 +20395,531 @@ "headers": [], "request": { "properties": { - "auto_verify": { + "@id": { "value": { - "value": false, - "type": "boolean" + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, "type": "primitive" }, - "comment": { + "@type": { "value": { - "value": "comment", + "value": "https://didcomm.org/my-family/1.0/my-message-type", "type": "string" }, "type": "primitive" }, - "proof_request": { - "properties": { - "name": { + "accept": { + "value": [ + { "value": { - "value": "Proof request", + "value": "didcomm/aip1", "type": "string" }, "type": "primitive" }, - "nonce": { + { "value": { - "value": "1", + "value": "didcomm/aip2;env=rfc19", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "handshake_protocols": { + "value": [ + { + "value": { + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", "type": "string" }, "type": "primitive" }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { + { "value": { - "value": "1.0", + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", "type": "string" }, "type": "primitive" } - }, - "type": "object" + ], + "type": "array" }, - "trace": { + "imageUrl": { "value": { - "value": false, - "type": "boolean" + "value": "http://192.168.56.101/img/logo.jpg", + "type": "string" }, "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" + }, + "label": { + "value": { + "value": "Bob", + "type": "string" }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" + "type": "primitive" + }, + "requests~attach": { + "value": [ + { + "properties": { + "@id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" + "byte_count": { + "value": { + "value": 1234, + "type": "int" }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" + "type": "primitive" + }, + "data": { + "properties": { + "base64": { + "value": { + "value": "ey4uLn0=", + "type": "string" }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "json": { + "value": [ + { + "key": { + "value": "key", + "type": "string" }, "value": { "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" + "type": "unknown" } + } + ], + "type": "map" + }, + "links": { + "value": [ + { + "value": { + "value": "https://link.to/data", + "type": "string" + }, + "type": "primitive" }, - "type": "object" - } - ], - "type": "array" - } + { + "value": { + "value": "https://link.to/data", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "sha256": { + "value": { + "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" + "description": { + "value": { + "value": "view from doorway, facing east, with lights off", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" - }, - "non_revoked": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" + "filename": { + "value": { + "value": "IMG1092348.png", + "type": "string" }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } + "type": "primitive" }, - "type": "object" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" + "lastmod_time": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" + "mime-type": { + "value": { + "value": "image/png", + "type": "string" + }, + "type": "primitive" + } }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" + "type": "object" + }, + { + "properties": { + "@id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "byte_count": { + "value": { + "value": 1234, + "type": "int" + }, + "type": "primitive" + }, + "data": { + "properties": { + "base64": { + "value": { + "value": "ey4uLn0=", + "type": "string" + }, + "type": "primitive" }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", + "json": { + "value": [ + { + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { + "value": { + "value": { "value": { - "value": "age", + "value": "value", "type": "string" }, "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" + "type": "unknown" + } } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" + ], + "type": "map" }, - "value": { - "properties": { - "name": { + "links": { + "value": [ + { "value": { - "value": "index", + "value": "https://link.to/data", "type": "string" }, "type": "primitive" }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { + { "value": { - "value": 0, - "type": "int" + "value": "https://link.to/data", + "type": "string" }, "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" } + ], + "type": "array" + }, + "sha256": { + "value": { + "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", + "type": "string" }, - "type": "object" + "type": "primitive" } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" + }, + "type": "object" }, - "type": "primitive" - } - }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" + "description": { + "value": { + "value": "view from doorway, facing east, with lights off", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" + "filename": { + "value": { + "value": "IMG1092348.png", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" + "lastmod_time": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" }, - "type": "primitive" + "mime-type": { + "value": { + "value": "image/png", + "type": "string" + }, + "type": "primitive" + } }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" + "type": "object" + } + ], + "type": "array" + }, + "services": { + "value": [ + { + "value": [ + { + "key": { + "value": "did", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" + "type": "primitive" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "id", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "string", + "type": "string" }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" + "type": "primitive" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "recipientKeys", + "type": "string" + }, + "value": { + "value": { + "value": [ + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "type": "primitive" + } + ], + "type": "array" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "routingKeys", + "type": "string" + }, + "value": { + "value": { + "value": [ + { + "value": { + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", + "type": "string" }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + } + ], + "type": "array" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "serviceEndpoint", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "http://192.168.56.101:8020", + "type": "string" }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "type", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "string", + "type": "string" }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" }, - "type": "object" + "type": "unknown" } - ], - "type": "array" - } + } + ], + "type": "map" }, - "type": "object" - }, - "role": { - "value": "prover", - "type": "enum" - }, - "state": { + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "attach_thread_id": { "value": { - "value": "verified", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "thread_id": { + "connection_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "trace": { + "created_at": { "value": { - "value": true, - "type": "boolean" + "value": "2021-12-31 23:59:59+00:00", + "type": "string" }, "type": "primitive" }, - "updated_at": { + "invi_msg_id": { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { + "invitation": { + "properties": { + "@id": { "value": { - "value": "verified_msgs", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - { + "@type": { "value": { - "value": "verified_msgs", + "value": "https://didcomm.org/my-family/1.0/my-message-type", "type": "string" }, "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - } - ], - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "summary": "Fetch all present-proof exchange records", - "audiences": [], - "operationId": "get_matching_pres_ex_records", - "tags": [ - "present-proof v1.0" - ], - "pathParameters": [], - "queryParameters": [ - { - "description": "Connection identifier", - "name": "connection_id", - "schema": { - "generatedName": "GetMatchingPresExRecordsRequestConnectionId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingPresExRecordsRequestConnectionId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Role assigned in presentation exchange", - "name": "role", - "schema": { - "generatedName": "GetMatchingPresExRecordsRequestRole", - "value": { - "generatedName": "GetMatchingPresExRecordsRequestRole", - "values": [ - { - "generatedName": "prover", - "value": "prover", - "casing": {} - }, - { - "generatedName": "verifier", - "value": "verifier", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Presentation exchange state", - "name": "state", - "schema": { - "generatedName": "GetMatchingPresExRecordsRequestState", - "value": { - "generatedName": "GetMatchingPresExRecordsRequestState", - "values": [ - { - "generatedName": "proposal_sent", - "value": "proposal_sent", - "casing": {} - }, - { - "generatedName": "proposal_received", - "value": "proposal_received", - "casing": {} - }, - { - "generatedName": "request_sent", - "value": "request_sent", - "casing": {} - }, - { - "generatedName": "request_received", - "value": "request_received", - "casing": {} - }, - { - "generatedName": "presentation_sent", - "value": "presentation_sent", - "casing": {} - }, - { - "generatedName": "presentation_received", - "value": "presentation_received", - "casing": {} - }, - { - "generatedName": "verified", - "value": "verified", - "casing": {} - }, - { - "generatedName": "presentation_acked", - "value": "presentation_acked", - "casing": {} - }, - { - "generatedName": "abandoned", - "value": "abandoned", - "casing": {} - } - ], - "groupName": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "enum" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Thread identifier", - "name": "thread_id", - "schema": { - "generatedName": "GetMatchingPresExRecordsRequestThreadId", - "value": { - "schema": { - "format": "uuid", - "type": "string" - }, - "generatedName": "GetMatchingPresExRecordsRequestThreadId", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], - "headers": [], - "generatedRequestName": "GetMatchingPresExRecordsRequest", - "response": { - "description": "", - "schema": { - "generatedName": "GetMatchingPresExRecordsResponse", - "schema": "V10PresentationExchangeList", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" - }, - "fullExamples": [], - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "json" - }, - "errors": {}, - "server": [], - "authed": true, - "method": "GET", - "path": "/present-proof/records", - "examples": [ - { - "pathParameters": [], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "properties": { - "results": { - "value": [ - { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { + }, + "accept": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "didcomm/aip1", "type": "string" }, "type": "primitive" }, - "created_at": { + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "didcomm/aip2;env=rfc19", "type": "string" }, "type": "primitive" - }, - "error_msg": { + } + ], + "type": "array" + }, + "handshake_protocols": { + "value": [ + { "value": { - "value": "Invalid structure", + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", "type": "string" }, "type": "primitive" }, - "initiator": { - "value": "self", - "type": "enum" - }, - "presentation_exchange_id": { + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", "type": "string" }, "type": "primitive" - }, - "presentation_proposal_dict": { + } + ], + "type": "array" + }, + "imageUrl": { + "value": { + "value": "http://192.168.56.101/img/logo.jpg", + "type": "string" + }, + "type": "primitive" + }, + "label": { + "value": { + "value": "Bob", + "type": "string" + }, + "type": "primitive" + }, + "requests~attach": { + "value": [ + { "properties": { "@id": { "value": { @@ -49975,355 +20928,96 @@ }, "type": "primitive" }, - "@type": { + "byte_count": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" + "value": 1234, + "type": "int" }, "type": "primitive" }, - "presentation_proposal": { + "data": { "properties": { - "@type": { + "base64": { "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", + "value": "ey4uLn0=", "type": "string" }, "type": "primitive" }, - "attributes": { + "json": { "value": [ { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } + "key": { + "value": "key", + "type": "string" }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, + "value": { "value": { "value": { - "value": "martini", + "value": "value", "type": "string" }, "type": "primitive" - } - }, - "type": "object" + }, + "type": "unknown" + } } ], - "type": "array" + "type": "map" }, - "predicates": { + "links": { "value": [ { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } + "value": { + "value": "https://link.to/data", + "type": "string" }, - "type": "object" + "type": "primitive" }, { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } + "value": { + "value": "https://link.to/data", + "type": "string" }, - "type": "object" + "type": "primitive" } ], "type": "array" + }, + "sha256": { + "value": { + "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", + "type": "string" + }, + "type": "primitive" } }, "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { - "properties": { - "name": { + }, + "description": { "value": { - "value": "Proof request", + "value": "view from doorway, facing east, with lights off", "type": "string" }, "type": "primitive" }, - "nonce": { + "filename": { "value": { - "value": "1", + "value": "IMG1092348.png", "type": "string" }, "type": "primitive" }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" + "lastmod_time": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" }, - "version": { + "mime-type": { "value": { - "value": "1.0", + "value": "image/png", "type": "string" }, "type": "primitive" @@ -50331,7 +21025,7 @@ }, "type": "object" }, - "presentation_request_dict": { + { "properties": { "@id": { "value": { @@ -50340,185 +21034,811 @@ }, "type": "primitive" }, - "@type": { + "byte_count": { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" + "value": 1234, + "type": "int" }, "type": "primitive" }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "data": { + "properties": { + "base64": { + "value": { + "value": "ey4uLn0=", + "type": "string" + }, + "type": "primitive" + }, + "json": { + "value": [ + { + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - "byte_count": { "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { + "value": { "value": { - "value": "ey4uLn0=", + "value": "value", "type": "string" }, "type": "primitive" }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { + "type": "unknown" + } + } + ], + "type": "map" + }, + "links": { + "value": [ + { "value": { - "value": "view from doorway, facing east, with lights off", + "value": "https://link.to/data", "type": "string" }, "type": "primitive" }, - "filename": { + { "value": { - "value": "IMG1092348.png", + "value": "https://link.to/data", "type": "string" }, "type": "primitive" - }, - "lastmod_time": { + } + ], + "type": "array" + }, + "sha256": { + "value": { + "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "description": { + "value": { + "value": "view from doorway, facing east, with lights off", + "type": "string" + }, + "type": "primitive" + }, + "filename": { + "value": { + "value": "IMG1092348.png", + "type": "string" + }, + "type": "primitive" + }, + "lastmod_time": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "mime-type": { + "value": { + "value": "image/png", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "services": { + "value": [ + { + "value": [ + { + "key": { + "value": "did", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "id", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "string", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "recipientKeys", + "type": "string" + }, + "value": { + "value": { + "value": [ + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" - }, - "mime-type": { + } + ], + "type": "array" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "routingKeys", + "type": "string" + }, + "value": { + "value": { + "value": [ + { "value": { - "value": "image/png", + "value": "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", "type": "string" }, "type": "primitive" } + ], + "type": "array" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "serviceEndpoint", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "http://192.168.56.101:8020", + "type": "string" }, - "type": "object" - } - ], - "type": "array" + "type": "primitive" + }, + "type": "unknown" + } + }, + { + "key": { + "value": "type", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "string", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } } - }, - "type": "object" - }, - "role": { - "value": "prover", - "type": "enum" + ], + "type": "map" }, - "state": { + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "oob_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "our_recipient_key": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "receiver", + "type": "enum" + }, + "state": { + "value": "await-response", + "type": "enum" + }, + "their_service": { + "properties": { + "recipientKeys": { + "value": [ + { "value": { - "value": "verified", + "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", "type": "string" }, "type": "primitive" }, - "thread_id": { + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", "type": "string" }, "type": "primitive" - }, - "trace": { + } + ], + "type": "array" + }, + "routingKeys": { + "value": [ + { "value": { - "value": true, - "type": "boolean" + "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", + "type": "string" }, "type": "primitive" }, - "updated_at": { + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", "type": "string" }, "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" } + ], + "type": "array" + }, + "serviceEndpoint": { + "value": { + "value": "http://192.168.56.101:8020", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch the list of loaded plugins", + "audiences": [], + "operationId": "get_loaded_plugins", + "tags": [ + "server" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetLoadedPluginsRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetLoadedPluginsResponse", + "schema": "AdminModules", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/plugins", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "result": { + "value": [ + { + "value": { + "value": "result", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "result", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Creates a presentation request not bound to any proposal or connection", + "audiences": [], + "operationId": "create_proof_request", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "CreateProofRequestRequest", + "request": { + "schema": { + "generatedName": "CreateProofRequestRequest", + "schema": "V20PresCreateRequestRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "CreateProofRequestResponse", + "schema": "V20PresExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof-2.0/create-request", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_verify": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "presentation_request": { + "properties": {}, + "type": "object" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { + "value": { + "value": "verified_msgs", + "type": "string" }, - "type": "object" + "type": "primitive" }, + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch all present-proof exchange records", + "audiences": [], + "operationId": "get_matching_pres_ex_records-v2", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [], + "queryParameters": [ + { + "description": "Connection identifier", + "name": "connection_id", + "schema": { + "generatedName": "GetMatchingPresExRecordsV2RequestConnectionId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingPresExRecordsV2RequestConnectionId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Role assigned in presentation exchange", + "name": "role", + "schema": { + "generatedName": "GetMatchingPresExRecordsV2RequestRole", + "value": { + "generatedName": "GetMatchingPresExRecordsV2RequestRole", + "values": [ + { + "generatedName": "prover", + "value": "prover", + "casing": {} + }, + { + "generatedName": "verifier", + "value": "verifier", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Presentation exchange state", + "name": "state", + "schema": { + "generatedName": "GetMatchingPresExRecordsV2RequestState", + "value": { + "generatedName": "GetMatchingPresExRecordsV2RequestState", + "values": [ + { + "generatedName": "ProposalSent", + "value": "proposal-sent", + "casing": {} + }, + { + "generatedName": "ProposalReceived", + "value": "proposal-received", + "casing": {} + }, + { + "generatedName": "RequestSent", + "value": "request-sent", + "casing": {} + }, + { + "generatedName": "RequestReceived", + "value": "request-received", + "casing": {} + }, + { + "generatedName": "PresentationSent", + "value": "presentation-sent", + "casing": {} + }, + { + "generatedName": "PresentationReceived", + "value": "presentation-received", + "casing": {} + }, + { + "generatedName": "done", + "value": "done", + "casing": {} + }, + { + "generatedName": "abandoned", + "value": "abandoned", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Thread identifier", + "name": "thread_id", + "schema": { + "generatedName": "GetMatchingPresExRecordsV2RequestThreadId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingPresExRecordsV2RequestThreadId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetMatchingPresExRecordsV2Request", + "response": { + "description": "", + "schema": { + "generatedName": "GetMatchingPresExRecordsV2Response", + "schema": "V20PresExRecordList", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/present-proof-2.0/records", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "results": { + "value": [ { "properties": { "auto_present": { @@ -50560,565 +21880,1002 @@ "value": "self", "type": "enum" }, - "presentation_exchange_id": { + "pres_ex_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "presentation_request": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } + "trace": { + "value": { + "value": true, + "type": "boolean" }, - "type": "object" + "type": "primitive" }, - "presentation_request_dict": { - "properties": { - "@id": { + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "verified_msgs", "type": "string" }, "type": "primitive" }, - "@type": { + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "verified_msgs", "type": "string" }, "type": "primitive" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" } + ], + "type": "array" + } + }, + "type": "object" + }, + { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" }, - "type": "object" + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "role": { "value": "prover", "type": "enum" }, "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { "value": { - "value": "verified", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "thread_id": { + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch a single presentation exchange record", + "audiences": [], + "operationId": "get_pres_ex_record", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "GetPresExRecordRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetPresExRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetPresExRecordResponse", + "schema": "V20PresExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/present-proof-2.0/records/{pres_ex_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Remove an existing presentation exchange record", + "audiences": [], + "operationId": "delete_pres_ex_record", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "DeletePresExRecordRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "DeletePresExRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "DeletePresExRecordResponse", + "schema": "V20PresentProofModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "DELETE", + "path": "/present-proof-2.0/records/{pres_ex_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch credentials from wallet for presentation request", + "audiences": [], + "operationId": "get_pres_ex_credentials-v2", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "GetPresExCredentialsV2RequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [ + { + "description": "Maximum number to retrieve", + "name": "count", + "schema": { + "generatedName": "GetPresExCredentialsV2RequestCount", + "value": { + "schema": { + "pattern": "^[1-9][0-9]*$", + "type": "string" + }, + "generatedName": "GetPresExCredentialsV2RequestCount", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "(JSON) object mapping referents to extra WQL queries", + "name": "extra_query", + "schema": { + "generatedName": "GetPresExCredentialsV2RequestExtraQuery", + "value": { + "schema": { + "pattern": "^{\\s*\".*?\"\\s*:\\s*{.*?}\\s*(,\\s*\".*?\"\\s*:\\s*{.*?}\\s*)*\\s*}$", + "type": "string" + }, + "generatedName": "GetPresExCredentialsV2RequestExtraQuery", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Proof request referents of interest, comma-separated", + "name": "referent", + "schema": { + "generatedName": "GetPresExCredentialsV2RequestReferent", + "value": { + "schema": { + "type": "string" + }, + "generatedName": "GetPresExCredentialsV2RequestReferent", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Start index", + "name": "start", + "schema": { + "generatedName": "GetPresExCredentialsV2RequestStart", + "value": { + "schema": { + "pattern": "^[0-9]*$", + "type": "string" + }, + "generatedName": "GetPresExCredentialsV2RequestStart", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetPresExCredentialsV2Request", + "response": { + "description": "", + "schema": { + "value": { + "generatedName": "GetPresExCredentialsV2ResponseItem", + "schema": "IndyCredPrecis", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "generatedName": "GetPresExCredentialsV2Response", + "groupName": [], + "type": "array" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/present-proof-2.0/records/{pres_ex_id}/credentials", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "value": [ + { + "properties": { + "presentation_referents": { + "value": [ + { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "1_age_uuid", "type": "string" }, "type": "primitive" }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "1_age_uuid", "type": "string" }, "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" } + ], + "type": "array" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send a problem report for presentation exchange", + "audiences": [], + "operationId": "report_pres_ex_problem", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "ReportPresExProblemRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "ReportPresExProblemRequest", + "request": { + "schema": { + "generatedName": "ReportPresExProblemRequest", + "schema": "V20PresProblemReportRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "ReportPresExProblemResponse", + "schema": "V20PresentProofModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof-2.0/records/{pres_ex_id}/problem-report", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "description": { + "value": { + "value": "description", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" }, - "type": "object" + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Sends a proof presentation", + "audiences": [], + "operationId": "send_proof_presentation", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "SendProofPresentationRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendProofPresentationRequest", + "request": { + "schema": { + "generatedName": "SendProofPresentationRequest", + "schema": "V20PresSpecByFormatRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendProofPresentationResponse", + "schema": "V20PresExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof-2.0/records/{pres_ex_id}/send-presentation", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" } ], "type": "array" @@ -51138,11 +22895,11 @@ } }, { - "summary": "Fetch a single presentation exchange record", + "summary": "Sends a presentation request in reference to a proposal", "audiences": [], - "operationId": "get_pres_ex_record", + "operationId": "send_proof_presentation_request", "tags": [ - "present-proof v1.0" + "present-proof v2.0" ], "pathParameters": [ { @@ -51153,7 +22910,7 @@ "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", "type": "string" }, - "generatedName": "GetPresExRecordRequestPresExId", + "generatedName": "SendProofPresentationRequestRequestPresExId", "groupName": [], "type": "primitive" }, @@ -51165,12 +22922,31 @@ ], "queryParameters": [], "headers": [], - "generatedRequestName": "GetPresExRecordRequest", + "generatedRequestName": "SendProofPresentationRequestRequest", + "request": { + "schema": { + "generatedName": "SendProofPresentationRequestRequest", + "schema": "V20PresentationSendRequestToProposal", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "GetPresExRecordResponse", - "schema": "V10PresentationExchange", + "generatedName": "SendProofPresentationRequestResponse", + "schema": "V20PresExRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -51187,8 +22963,8 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/present-proof/records/{pres_ex_id}", + "method": "POST", + "path": "/present-proof-2.0/records/{pres_ex_id}/send-request", "examples": [ { "pathParameters": [ @@ -51205,6 +22981,25 @@ ], "queryParameters": [], "headers": [], + "request": { + "properties": { + "auto_verify": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, "response": { "value": { "properties": { @@ -51247,614 +23042,20 @@ "value": "self", "type": "enum" }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_exchange_id": { + "pres_ex_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "non_revoked": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "role": { "value": "prover", "type": "enum" }, "state": { - "value": { - "value": "verified", - "type": "string" - }, - "type": "primitive" + "value": "proposal-sent", + "type": "enum" }, "thread_id": { "value": { @@ -51915,11 +23116,11 @@ } }, { - "summary": "Remove an existing presentation exchange record", + "summary": "Verify a received presentation", "audiences": [], - "operationId": "delete_pres_ex_record", + "operationId": "verify_received_presentation", "tags": [ - "present-proof v1.0" + "present-proof v2.0" ], "pathParameters": [ { @@ -51930,7 +23131,7 @@ "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", "type": "string" }, - "generatedName": "DeletePresExRecordRequestPresExId", + "generatedName": "VerifyReceivedPresentationRequestPresExId", "groupName": [], "type": "primitive" }, @@ -51942,12 +23143,12 @@ ], "queryParameters": [], "headers": [], - "generatedRequestName": "DeletePresExRecordRequest", + "generatedRequestName": "VerifyReceivedPresentationRequest", "response": { "description": "", "schema": { - "generatedName": "DeletePresExRecordResponse", - "schema": "V10PresentProofModuleResponse", + "generatedName": "VerifyReceivedPresentationResponse", + "schema": "V20PresExRecord", "source": { "file": "../openapi.yml", "type": "openapi" @@ -51964,8 +23165,8 @@ "errors": {}, "server": [], "authed": true, - "method": "DELETE", - "path": "/present-proof/records/{pres_ex_id}", + "method": "POST", + "path": "/present-proof-2.0/records/{pres_ex_id}/verify-presentation", "examples": [ { "pathParameters": [ @@ -51984,25 +23185,107 @@ "headers": [], "response": { "value": { - "value": [ - { - "key": { - "value": "key", + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, + "type": "primitive" + }, + "created_at": { "value": { - "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { "value": { - "value": "value", + "value": "verified_msgs", "type": "string" }, "type": "primitive" }, - "type": "unknown" - } + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" } - ], - "type": "map" + }, + "type": "object" }, "type": "withoutStreaming" }, @@ -52016,137 +23299,255 @@ } }, { - "summary": "Fetch credentials for a presentation request from wallet", + "summary": "Sends a presentation proposal", "audiences": [], - "operationId": "get_pres_ex_credentials", + "operationId": "send_presentation_proposal", "tags": [ - "present-proof v1.0" + "present-proof v2.0" ], - "pathParameters": [ - { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "GetPresExCredentialsRequestPresExId", - "groupName": [], - "type": "primitive" - }, + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendPresentationProposalRequest", + "request": { + "schema": { + "generatedName": "SendPresentationProposalRequest", + "schema": "V20PresProposalRequest", "source": { "file": "../openapi.yml", "type": "openapi" - } - } - ], - "queryParameters": [ - { - "description": "Maximum number to retrieve", - "name": "count", - "schema": { - "generatedName": "GetPresExCredentialsRequestCount", - "value": { - "schema": { - "pattern": "^[1-9][0-9]*$", - "type": "string" - }, - "generatedName": "GetPresExCredentialsRequestCount", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } + "type": "reference" }, - { - "description": "(JSON) object mapping referents to extra WQL queries", - "name": "extra_query", - "schema": { - "generatedName": "GetPresExCredentialsRequestExtraQuery", - "value": { - "schema": { - "pattern": "^{\\s*\".*?\"\\s*:\\s*{.*?}\\s*(,\\s*\".*?\"\\s*:\\s*{.*?}\\s*)*\\s*}$", - "type": "string" - }, - "generatedName": "GetPresExCredentialsRequestExtraQuery", - "groupName": [], - "type": "primitive" - }, - "groupName": [], - "type": "nullable" - }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendPresentationProposalResponse", + "schema": "V20PresExRecord", "source": { "file": "../openapi.yml", "type": "openapi" - } + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof-2.0/send-proposal", + "examples": [ { - "description": "Proof request referents of interest, comma-separated", - "name": "referent", - "schema": { - "generatedName": "GetPresExCredentialsRequestReferent", - "value": { - "schema": { - "type": "string" + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_present": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" }, - "generatedName": "GetPresExCredentialsRequestReferent", - "groupName": [], - "type": "primitive" + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "presentation_proposal": { + "properties": {}, + "type": "object" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } }, - "groupName": [], - "type": "nullable" + "type": "object" }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - }, - { - "description": "Start index", - "name": "start", - "schema": { - "generatedName": "GetPresExCredentialsRequestStart", + "response": { "value": { - "schema": { - "pattern": "^[0-9]*$", - "type": "string" + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } }, - "generatedName": "GetPresExCredentialsRequestStart", - "groupName": [], - "type": "primitive" + "type": "object" }, - "groupName": [], - "type": "nullable" + "type": "withoutStreaming" }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } + "codeSamples": [], + "type": "full" } ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Sends a free presentation request not bound to any proposal", + "audiences": [], + "operationId": "send_free_presentation_request", + "tags": [ + "present-proof v2.0" + ], + "pathParameters": [], + "queryParameters": [], "headers": [], - "generatedRequestName": "GetPresExCredentialsRequest", + "generatedRequestName": "SendFreePresentationRequestRequest", + "request": { + "schema": { + "generatedName": "SendFreePresentationRequestRequest", + "schema": "V20PresSendRequestRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "value": { - "generatedName": "GetPresExCredentialsResponseItem", - "schema": "IndyCredPrecis", - "source": { - "file": "../openapi.yml", - "type": "openapi" - }, - "type": "reference" + "generatedName": "SendFreePresentationRequestResponse", + "schema": "V20PresExRecord", + "source": { + "file": "../openapi.yml", + "type": "openapi" }, - "generatedName": "GetPresExCredentialsResponse", - "groupName": [], - "type": "array" + "type": "reference" }, "fullExamples": [], "source": { @@ -52158,130 +23559,153 @@ "errors": {}, "server": [], "authed": true, - "method": "GET", - "path": "/present-proof/records/{pres_ex_id}/credentials", + "method": "POST", + "path": "/present-proof-2.0/send-request", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_verify": { "value": { - "value": "pres_ex_id", + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "response": { - "value": { - "value": [ - { - "properties": { - "cred_info": { - "properties": { - "attrs": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "alice", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "cred_rev_id": { - "value": { - "value": "12345", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "rev_reg_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" + }, + "presentation_request": { + "properties": {}, + "type": "object" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "pres_ex_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": "proposal-sent", + "type": "enum" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { + "value": { + "value": "verified_msgs", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "interval": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } + { + "value": { + "value": "verified_msgs", + "type": "string" }, - "type": "object" - }, - "presentation_referents": { - "value": [ - { - "value": { - "value": "1_age_uuid", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "1_age_uuid", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "type": "primitive" } - }, - "type": "object" + ], + "type": "array" } - ], - "type": "array" + }, + "type": "object" }, "type": "withoutStreaming" }, @@ -52295,38 +23719,20 @@ } }, { - "summary": "Send a problem report for presentation exchange", + "summary": "Creates a presentation request not bound to any proposal or connection", "audiences": [], - "operationId": "report_pres_ex_problem", + "operationId": "create_free_proof_request", "tags": [ "present-proof v1.0" ], - "pathParameters": [ - { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", - "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "generatedName": "ReportPresExProblemRequestPresExId", - "groupName": [], - "type": "primitive" - }, - "source": { - "file": "../openapi.yml", - "type": "openapi" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], - "generatedRequestName": "ReportPresExProblemRequest", + "generatedRequestName": "CreateFreeProofRequestRequest", "request": { "schema": { - "generatedName": "ReportPresExProblemRequest", - "schema": "V10PresentationProblemReportRequest", + "generatedName": "CreateFreeProofRequestRequest", + "schema": "V10PresentationCreateRequestRequest", "source": { "file": "../openapi.yml", "type": "openapi" @@ -52345,8 +23751,8 @@ "response": { "description": "", "schema": { - "generatedName": "ReportPresExProblemResponse", - "schema": "V10PresentProofModuleResponse", + "generatedName": "CreateFreeProofRequestResponse", + "schema": "V10PresentationExchange", "source": { "file": "../openapi.yml", "type": "openapi" @@ -52364,56 +23770,328 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof/records/{pres_ex_id}/problem-report", + "path": "/present-proof/create-request", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { - "value": { - "value": "pres_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], "request": { "properties": { - "description": { + "auto_verify": { "value": { - "value": "description", + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", "type": "string" }, "type": "primitive" + }, + "proof_request": { + "properties": { + "name": { + "value": { + "value": "Proof request", + "type": "string" + }, + "type": "primitive" + }, + "nonce": { + "value": { + "value": "1", + "type": "string" + }, + "type": "primitive" + }, + "requested_attributes": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "properties": { + "name": { + "value": { + "value": "favouriteDrink", + "type": "string" + }, + "type": "primitive" + }, + "names": { + "value": [ + { + "value": { + "value": "age", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "age", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "restrictions": { + "value": [ + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + } + ], + "type": "array" + } + }, + "type": "object" + } + } + ], + "type": "map" + }, + "requested_predicates": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "properties": { + "name": { + "value": { + "value": "index", + "type": "string" + }, + "type": "primitive" + }, + "p_type": { + "value": ">=", + "type": "enum" + }, + "p_value": { + "value": { + "value": 0, + "type": "int" + }, + "type": "primitive" + }, + "restrictions": { + "value": [ + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + } + ], + "type": "array" + } + }, + "type": "object" + } + } + ], + "type": "map" + }, + "version": { + "value": { + "value": "1.0", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" }, "response": { "value": { - "value": [ - { - "key": { - "value": "key", + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, + "type": "primitive" + }, + "created_at": { "value": { - "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": { + "value": "verified", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { "value": { - "value": "value", + "value": "verified_msgs", "type": "string" }, "type": "primitive" }, - "type": "unknown" - } + { + "value": { + "value": "verified_msgs", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" } - ], - "type": "map" + }, + "type": "object" }, "type": "withoutStreaming" }, @@ -52427,58 +24105,169 @@ } }, { - "summary": "Sends a proof presentation", + "summary": "Fetch all present-proof exchange records", "audiences": [], - "operationId": "send_proof_presentation", + "operationId": "get_matching_pres_ex_records", "tags": [ "present-proof v1.0" ], - "pathParameters": [ + "pathParameters": [], + "queryParameters": [ { - "description": "Presentation exchange identifier", - "name": "pres_ex_id", + "description": "Connection identifier", + "name": "connection_id", "schema": { - "schema": { - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" + "generatedName": "GetMatchingPresExRecordsRequestConnectionId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingPresExRecordsRequestConnectionId", + "groupName": [], + "type": "primitive" }, - "generatedName": "SendProofPresentationRequestPresExId", "groupName": [], - "type": "primitive" + "type": "nullable" }, "source": { "file": "../openapi.yml", "type": "openapi" } - } - ], - "queryParameters": [], - "headers": [], - "generatedRequestName": "SendProofPresentationRequest", - "request": { - "schema": { - "generatedName": "SendProofPresentationRequest", - "schema": "IndyPresSpec", + }, + { + "description": "Role assigned in presentation exchange", + "name": "role", + "schema": { + "generatedName": "GetMatchingPresExRecordsRequestRole", + "value": { + "generatedName": "GetMatchingPresExRecordsRequestRole", + "values": [ + { + "generatedName": "prover", + "value": "prover", + "casing": {} + }, + { + "generatedName": "verifier", + "value": "verifier", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, "source": { "file": "../openapi.yml", "type": "openapi" - }, - "type": "reference" + } }, - "contentType": "application/json", - "fullExamples": [], - "additionalProperties": false, - "source": { - "file": "../openapi.yml", - "type": "openapi" + { + "description": "Presentation exchange state", + "name": "state", + "schema": { + "generatedName": "GetMatchingPresExRecordsRequestState", + "value": { + "generatedName": "GetMatchingPresExRecordsRequestState", + "values": [ + { + "generatedName": "proposal_sent", + "value": "proposal_sent", + "casing": {} + }, + { + "generatedName": "proposal_received", + "value": "proposal_received", + "casing": {} + }, + { + "generatedName": "request_sent", + "value": "request_sent", + "casing": {} + }, + { + "generatedName": "request_received", + "value": "request_received", + "casing": {} + }, + { + "generatedName": "presentation_sent", + "value": "presentation_sent", + "casing": {} + }, + { + "generatedName": "presentation_received", + "value": "presentation_received", + "casing": {} + }, + { + "generatedName": "verified", + "value": "verified", + "casing": {} + }, + { + "generatedName": "presentation_acked", + "value": "presentation_acked", + "casing": {} + }, + { + "generatedName": "abandoned", + "value": "abandoned", + "casing": {} + } + ], + "groupName": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "enum" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } }, - "type": "json" - }, + { + "description": "Thread identifier", + "name": "thread_id", + "schema": { + "generatedName": "GetMatchingPresExRecordsRequestThreadId", + "value": { + "schema": { + "format": "uuid", + "type": "string" + }, + "generatedName": "GetMatchingPresExRecordsRequestThreadId", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetMatchingPresExRecordsRequest", "response": { "description": "", "schema": { - "generatedName": "SendProofPresentationResponse", - "schema": "V10PresentationExchange", + "generatedName": "GetMatchingPresExRecordsResponse", + "schema": "V10PresentationExchangeList", "source": { "file": "../openapi.yml", "type": "openapi" @@ -52495,753 +24284,363 @@ "errors": {}, "server": [], "authed": true, - "method": "POST", - "path": "/present-proof/records/{pres_ex_id}/send-presentation", + "method": "GET", + "path": "/present-proof/records", "examples": [ { - "pathParameters": [ - { - "name": "pres_ex_id", - "value": { - "value": { - "value": "pres_ex_id", - "type": "string" - }, - "type": "primitive" - } - } - ], + "pathParameters": [], "queryParameters": [], "headers": [], - "request": { - "properties": { - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { + "response": { + "value": { + "properties": { + "results": { + "value": [ + { "properties": { - "cred_id": { + "auto_present": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" + "value": false, + "type": "boolean" }, "type": "primitive" }, - "revealed": { + "auto_verify": { "value": { "value": true, "type": "boolean" }, "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "cred_id": { + }, + "connection_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "timestamp": { + "created_at": { "value": { - "value": 1640995199, - "type": "int" + "value": "2021-12-31 23:59:59+00:00", + "type": "string" }, "type": "primitive" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "self_attested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "self_attested_value", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": { + "value": "verified", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" }, - "predicates": { + "verified_msgs": { "value": [ { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } + "value": { + "value": "verified_msgs", + "type": "string" }, - "type": "object" + "type": "primitive" }, { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } + "value": { + "value": "verified_msgs", + "type": "string" }, - "type": "object" + "type": "primitive" } ], "type": "array" } }, "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" }, - "non_revoked": { + { "properties": { - "from": { + "auto_present": { "value": { - "value": 1640995199, - "type": "int" + "value": false, + "type": "boolean" }, "type": "primitive" }, - "to": { + "auto_verify": { "value": { - "value": 1640995199, - "type": "int" + "value": true, + "type": "boolean" }, "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, + "type": "primitive" + }, + "created_at": { "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", + "value": "2021-12-31 23:59:59+00:00", "type": "string" }, + "type": "primitive" + }, + "error_msg": { "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": { + "value": "verified", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { "value": { - "value": "2021-12-31 23:59:59+00:00", + "value": "verified_msgs", "type": "string" }, "type": "primitive" }, - "mime-type": { + { "value": { - "value": "image/png", + "value": "verified_msgs", "type": "string" }, "type": "primitive" } - }, - "type": "object" + ], + "type": "array" } - ], - "type": "array" + }, + "type": "object" } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch a single presentation exchange record", + "audiences": [], + "operationId": "get_pres_ex_record", + "tags": [ + "present-proof v1.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "GetPresExRecordRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "GetPresExRecordRequest", + "response": { + "description": "", + "schema": { + "generatedName": "GetPresExRecordResponse", + "schema": "V10PresentationExchange", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "GET", + "path": "/present-proof/records/{pres_ex_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" }, - "type": "object" + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "role": { "value": "prover", @@ -53313,9 +24712,9 @@ } }, { - "summary": "Sends a presentation request in reference to a proposal", + "summary": "Remove an existing presentation exchange record", "audiences": [], - "operationId": "send_proof_presentation_request", + "operationId": "delete_pres_ex_record", "tags": [ "present-proof v1.0" ], @@ -53328,7 +24727,7 @@ "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", "type": "string" }, - "generatedName": "SendProofPresentationRequestRequestPresExId", + "generatedName": "DeletePresExRecordRequestPresExId", "groupName": [], "type": "primitive" }, @@ -53340,36 +24739,211 @@ ], "queryParameters": [], "headers": [], - "generatedRequestName": "SendProofPresentationRequestRequest", - "request": { + "generatedRequestName": "DeletePresExRecordRequest", + "response": { + "description": "", "schema": { - "generatedName": "SendProofPresentationRequestRequest", - "schema": "V10PresentationSendRequestToProposal", + "generatedName": "DeletePresExRecordResponse", + "schema": "V10PresentProofModuleResponse", "source": { "file": "../openapi.yml", "type": "openapi" }, "type": "reference" }, - "contentType": "application/json", "fullExamples": [], - "additionalProperties": false, "source": { "file": "../openapi.yml", "type": "openapi" }, "type": "json" }, - "response": { - "description": "", - "schema": { - "generatedName": "SendProofPresentationRequestResponse", - "schema": "V10PresentationExchange", + "errors": {}, + "server": [], + "authed": true, + "method": "DELETE", + "path": "/present-proof/records/{pres_ex_id}", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + } + } + ], + "type": "map" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Fetch credentials for a presentation request from wallet", + "audiences": [], + "operationId": "get_pres_ex_credentials", + "tags": [ + "present-proof v1.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "GetPresExCredentialsRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [ + { + "description": "Maximum number to retrieve", + "name": "count", + "schema": { + "generatedName": "GetPresExCredentialsRequestCount", + "value": { + "schema": { + "pattern": "^[1-9][0-9]*$", + "type": "string" + }, + "generatedName": "GetPresExCredentialsRequestCount", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, "source": { "file": "../openapi.yml", "type": "openapi" + } + }, + { + "description": "(JSON) object mapping referents to extra WQL queries", + "name": "extra_query", + "schema": { + "generatedName": "GetPresExCredentialsRequestExtraQuery", + "value": { + "schema": { + "pattern": "^{\\s*\".*?\"\\s*:\\s*{.*?}\\s*(,\\s*\".*?\"\\s*:\\s*{.*?}\\s*)*\\s*}$", + "type": "string" + }, + "generatedName": "GetPresExCredentialsRequestExtraQuery", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" }, - "type": "reference" + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Proof request referents of interest, comma-separated", + "name": "referent", + "schema": { + "generatedName": "GetPresExCredentialsRequestReferent", + "value": { + "schema": { + "type": "string" + }, + "generatedName": "GetPresExCredentialsRequestReferent", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "description": "Start index", + "name": "start", + "schema": { + "generatedName": "GetPresExCredentialsRequestStart", + "value": { + "schema": { + "pattern": "^[0-9]*$", + "type": "string" + }, + "generatedName": "GetPresExCredentialsRequestStart", + "groupName": [], + "type": "primitive" + }, + "groupName": [], + "type": "nullable" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "headers": [], + "generatedRequestName": "GetPresExCredentialsRequest", + "response": { + "description": "", + "schema": { + "value": { + "generatedName": "GetPresExCredentialsResponseItem", + "schema": "IndyCredPrecis", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "generatedName": "GetPresExCredentialsResponse", + "groupName": [], + "type": "array" }, "fullExamples": [], "source": { @@ -53381,8 +24955,8 @@ "errors": {}, "server": [], "authed": true, - "method": "POST", - "path": "/present-proof/records/{pres_ex_id}/send-request", + "method": "GET", + "path": "/present-proof/records/{pres_ex_id}/credentials", "examples": [ { "pathParameters": [ @@ -53399,722 +24973,167 @@ ], "queryParameters": [], "headers": [], - "request": { - "properties": { - "auto_verify": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, "response": { "value": { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { + "value": [ + { "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "non_revoked": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { + "presentation_referents": { "value": [ { - "key": { - "value": "key", - "type": "string" - }, "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", + "value": "1_age_uuid", "type": "string" }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "request_presentations~attach": { - "value": [ + "type": "primitive" + }, { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "value": { + "value": "1_age_uuid", + "type": "string" }, - "type": "object" + "type": "primitive" } ], "type": "array" } }, "type": "object" + } + ], + "type": "array" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Send a problem report for presentation exchange", + "audiences": [], + "operationId": "report_pres_ex_problem", + "tags": [ + "present-proof v1.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "ReportPresExProblemRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "ReportPresExProblemRequest", + "request": { + "schema": { + "generatedName": "ReportPresExProblemRequest", + "schema": "V10PresentationProblemReportRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "ReportPresExProblemResponse", + "schema": "V10PresentProofModuleResponse", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof/records/{pres_ex_id}/problem-report", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" }, - "role": { - "value": "prover", - "type": "enum" - }, - "state": { - "value": { - "value": "verified", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "description": { + "value": { + "value": "description", + "type": "string" }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "value": [ + { + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "updated_at": { "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "verified": { - "value": "true", - "type": "enum" - }, - "verified_msgs": { - "value": [ - { + "value": { "value": { - "value": "verified_msgs", + "value": "value", "type": "string" }, "type": "primitive" }, - { - "value": { - "value": "verified_msgs", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" + "type": "unknown" + } } - }, - "type": "object" + ], + "type": "map" }, "type": "withoutStreaming" }, @@ -54128,9 +25147,9 @@ } }, { - "summary": "Verify a received presentation", + "summary": "Sends a proof presentation", "audiences": [], - "operationId": "verify_received_presentation", + "operationId": "send_proof_presentation", "tags": [ "present-proof v1.0" ], @@ -54143,7 +25162,7 @@ "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", "type": "string" }, - "generatedName": "VerifyReceivedPresentationRequestPresExId", + "generatedName": "SendProofPresentationRequestPresExId", "groupName": [], "type": "primitive" }, @@ -54155,11 +25174,30 @@ ], "queryParameters": [], "headers": [], - "generatedRequestName": "VerifyReceivedPresentationRequest", + "generatedRequestName": "SendProofPresentationRequest", + "request": { + "schema": { + "generatedName": "SendProofPresentationRequest", + "schema": "IndyPresSpec", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, "response": { "description": "", "schema": { - "generatedName": "VerifyReceivedPresentationResponse", + "generatedName": "SendProofPresentationResponse", "schema": "V10PresentationExchange", "source": { "file": "../openapi.yml", @@ -54178,7 +25216,7 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof/records/{pres_ex_id}/verify-presentation", + "path": "/present-proof/records/{pres_ex_id}/send-presentation", "examples": [ { "pathParameters": [ @@ -54186,15 +25224,105 @@ "name": "pres_ex_id", "value": { "value": { - "value": "pres_ex_id", - "type": "string" + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "requested_attributes": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "properties": { + "cred_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "revealed": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + } + } + ], + "type": "map" + }, + "requested_predicates": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "properties": { + "cred_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "timestamp": { + "value": { + "value": 1640995199, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + } + } + ], + "type": "map" + }, + "self_attested_attributes": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "self_attested_value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" }, "type": "primitive" } - } - ], - "queryParameters": [], - "headers": [], + }, + "type": "object" + }, "response": { "value": { "properties": { @@ -54237,69 +25365,6 @@ "value": "self", "type": "enum" }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } - }, - "type": "object" - }, "presentation_exchange_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -54307,534 +25372,6 @@ }, "type": "primitive" }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "non_revoked": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" - }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "role": { "value": "prover", "type": "enum" @@ -54905,20 +25442,38 @@ } }, { - "summary": "Sends a presentation proposal", + "summary": "Sends a presentation request in reference to a proposal", "audiences": [], - "operationId": "send_presentation_proposal", + "operationId": "send_proof_presentation_request", "tags": [ "present-proof v1.0" ], - "pathParameters": [], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "SendProofPresentationRequestRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], "queryParameters": [], "headers": [], - "generatedRequestName": "SendPresentationProposalRequest", + "generatedRequestName": "SendProofPresentationRequestRequest", "request": { "schema": { - "generatedName": "SendPresentationProposalRequest", - "schema": "V10PresentationProposalRequest", + "generatedName": "SendProofPresentationRequestRequest", + "schema": "V10PresentationSendRequestToProposal", "source": { "file": "../openapi.yml", "type": "openapi" @@ -54937,7 +25492,7 @@ "response": { "description": "", "schema": { - "generatedName": "SendPresentationProposalResponse", + "generatedName": "SendProofPresentationRequestResponse", "schema": "V10PresentationExchange", "source": { "file": "../openapi.yml", @@ -54956,197 +25511,32 @@ "server": [], "authed": true, "method": "POST", - "path": "/present-proof/send-proposal", + "path": "/present-proof/records/{pres_ex_id}/send-request", "examples": [ { - "pathParameters": [], + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], "queryParameters": [], "headers": [], "request": { "properties": { - "auto_present": { + "auto_verify": { "value": { - "value": true, + "value": false, "type": "boolean" }, "type": "primitive" }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "trace": { "value": { "value": false, @@ -55199,603 +25589,569 @@ "value": "self", "type": "enum" }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" }, - "type": "object" + "type": "primitive" }, - "presentation_exchange_id": { + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": { + "value": "verified", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { "value": { "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "string" }, "type": "primitive" }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", + "value": "verified_msgs", "type": "string" }, "type": "primitive" }, - "comment": { + { "value": { - "value": "comment", + "value": "verified_msgs", "type": "string" }, "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Verify a received presentation", + "audiences": [], + "operationId": "verify_received_presentation", + "tags": [ + "present-proof v1.0" + ], + "pathParameters": [ + { + "description": "Presentation exchange identifier", + "name": "pres_ex_id", + "schema": { + "schema": { + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + "type": "string" + }, + "generatedName": "VerifyReceivedPresentationRequestPresExId", + "groupName": [], + "type": "primitive" + }, + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + } + ], + "queryParameters": [], + "headers": [], + "generatedRequestName": "VerifyReceivedPresentationRequest", + "response": { + "description": "", + "schema": { + "generatedName": "VerifyReceivedPresentationResponse", + "schema": "V10PresentationExchange", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof/records/{pres_ex_id}/verify-presentation", + "examples": [ + { + "pathParameters": [ + { + "name": "pres_ex_id", + "value": { + "value": { + "value": "pres_ex_id", + "type": "string" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" }, - "type": "object" + "type": "primitive" }, - "presentation_request": { - "properties": { - "name": { + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "role": { + "value": "prover", + "type": "enum" + }, + "state": { + "value": { + "value": "verified", + "type": "string" + }, + "type": "primitive" + }, + "thread_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "trace": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "verified": { + "value": "true", + "type": "enum" + }, + "verified_msgs": { + "value": [ + { "value": { - "value": "Proof request", + "value": "verified_msgs", "type": "string" }, "type": "primitive" }, - "non_revoked": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { + { "value": { - "value": "1", + "value": "verified_msgs", "type": "string" }, "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + } + ], + "source": { + "file": "../openapi.yml", + "type": "openapi" + } + }, + { + "summary": "Sends a presentation proposal", + "audiences": [], + "operationId": "send_presentation_proposal", + "tags": [ + "present-proof v1.0" + ], + "pathParameters": [], + "queryParameters": [], + "headers": [], + "generatedRequestName": "SendPresentationProposalRequest", + "request": { + "schema": { + "generatedName": "SendPresentationProposalRequest", + "schema": "V10PresentationProposalRequest", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "contentType": "application/json", + "fullExamples": [], + "additionalProperties": false, + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "response": { + "description": "", + "schema": { + "generatedName": "SendPresentationProposalResponse", + "schema": "V10PresentationExchange", + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "reference" + }, + "fullExamples": [], + "source": { + "file": "../openapi.yml", + "type": "openapi" + }, + "type": "json" + }, + "errors": {}, + "server": [], + "authed": true, + "method": "POST", + "path": "/present-proof/send-proposal", + "examples": [ + { + "pathParameters": [], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "auto_present": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "comment": { + "value": { + "value": "comment", + "type": "string" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "presentation_proposal": { + "properties": { + "@type": { + "value": { + "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", + "type": "string" }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" + "type": "primitive" + }, + "attributes": { + "value": [ + { + "properties": { + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "referent": { + "value": { + "value": "0", + "type": "string" + }, + "type": "primitive" }, "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } + "value": { + "value": "martini", + "type": "string" }, - "type": "object" + "type": "primitive" } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" + }, + "type": "object" + }, + { + "properties": { + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + }, + "mime-type": { + "value": { + "value": "image/jpeg", + "type": "string" + }, + "type": "primitive" + }, + "name": { + "value": { + "value": "favourite_drink", + "type": "string" + }, + "type": "primitive" + }, + "referent": { + "value": { + "value": "0", + "type": "string" + }, + "type": "primitive" }, "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } + "value": { + "value": "martini", + "type": "string" }, - "type": "object" + "type": "primitive" } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } + }, + "type": "object" + } + ], + "type": "array" }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "request_presentations~attach": { - "value": [ - { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "byte_count": { - "value": { - "value": 1234, - "type": "int" - }, - "type": "primitive" + "predicates": { + "value": [ + { + "properties": { + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" - }, - "links": { - "value": [ - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" + "type": "primitive" + }, + "name": { + "value": { + "value": "high_score", + "type": "string" }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "predicate": { + "value": ">=", + "type": "enum" + }, + "threshold": { + "value": { + "value": 0, + "type": "int" }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + } + }, + "type": "object" + }, + { + "properties": { + "cred_def_id": { + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" + "type": "primitive" + }, + "name": { + "value": { + "value": "high_score", + "type": "string" }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" }, - "type": "object" - } - ], - "type": "array" - } + "predicate": { + "value": ">=", + "type": "enum" + }, + "threshold": { + "value": { + "value": 0, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" }, - "type": "object" + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "role": { "value": "prover", @@ -55950,751 +26306,132 @@ "proof_request": { "properties": { "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "trace": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "auto_present": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "auto_verify": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "error_msg": { - "value": { - "value": "Invalid structure", - "type": "string" - }, - "type": "primitive" - }, - "initiator": { - "value": "self", - "type": "enum" - }, - "presentation": { - "properties": { - "identifiers": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "proof": { - "properties": { - "proofs": { - "value": [ - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "requested_proof": { - "properties": { - "predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": {}, - "type": "object" - } - } - ], - "type": "map" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_exchange_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "presentation_proposal": { - "properties": { - "@type": { - "value": { - "value": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "type": "string" - }, - "type": "primitive" - }, - "attributes": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/jpeg", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "favourite_drink", - "type": "string" - }, - "type": "primitive" - }, - "referent": { - "value": { - "value": "0", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "martini", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" + "value": { + "value": "Proof request", + "type": "string" + }, + "type": "primitive" + }, + "nonce": { + "value": { + "value": "1", + "type": "string" + }, + "type": "primitive" + }, + "requested_attributes": { + "value": [ + { + "key": { + "value": "key", + "type": "string" }, - "predicates": { - "value": [ - { - "properties": { - "cred_def_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "high_score", - "type": "string" - }, - "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - } + "value": { + "properties": { + "name": { + "value": { + "value": "favouriteDrink", + "type": "string" }, - "type": "object" + "type": "primitive" }, - { - "properties": { - "cred_def_id": { + "names": { + "value": [ + { "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "value": "age", "type": "string" }, "type": "primitive" }, - "name": { + { "value": { - "value": "high_score", + "value": "age", "type": "string" }, "type": "primitive" - }, - "predicate": { - "value": ">=", - "type": "enum" - }, - "threshold": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "presentation_request": { - "properties": { - "name": { - "value": { - "value": "Proof request", - "type": "string" - }, - "type": "primitive" - }, - "non_revoked": { - "properties": { - "from": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - }, - "to": { - "value": { - "value": 1640995199, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "nonce": { - "value": { - "value": "1", - "type": "string" - }, - "type": "primitive" - }, - "requested_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "favouriteDrink", - "type": "string" - }, - "type": "primitive" - }, - "names": { - "value": [ - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "age", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, + ], + "type": "array" + }, + "restrictions": { + "value": [ + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "type": "string" }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } - } - ], - "type": "map" - }, - "requested_predicates": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "properties": { - "name": { - "value": { - "value": "index", - "type": "string" - }, - "type": "primitive" - }, - "p_type": { - "value": ">=", - "type": "enum" - }, - "p_value": { - "value": { - "value": 0, - "type": "int" + } + ], + "type": "map" }, - "type": "primitive" - }, - "restrictions": { - "value": [ - { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, + { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "key", + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "type": "string" }, - "value": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - } + "type": "primitive" } - ], - "type": "map" - } - ], - "type": "array" - } - }, - "type": "object" - } + } + ], + "type": "map" + } + ], + "type": "array" + } + }, + "type": "object" } - ], - "type": "map" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } + } + ], + "type": "map" }, - "type": "object" - }, - "presentation_request_dict": { - "properties": { - "@id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "@type": { - "value": { - "value": "https://didcomm.org/my-family/1.0/my-message-type", - "type": "string" - }, - "type": "primitive" - }, - "comment": { - "value": { - "value": "comment", - "type": "string" - }, - "type": "primitive" - }, - "request_presentations~attach": { - "value": [ - { + "requested_predicates": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { "properties": { - "@id": { + "name": { "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "value": "index", "type": "string" }, "type": "primitive" }, - "byte_count": { + "p_type": { + "value": ">=", + "type": "enum" + }, + "p_value": { "value": { - "value": 1234, + "value": 0, "type": "int" }, "type": "primitive" }, - "data": { - "properties": { - "base64": { - "value": { - "value": "ey4uLn0=", - "type": "string" - }, - "type": "primitive" - }, - "json": { + "restrictions": { + "value": [ + { "value": [ { "key": { @@ -56703,83 +26440,111 @@ }, "value": { "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" }, - "type": "unknown" + "type": "primitive" } } ], "type": "map" }, - "links": { + { "value": [ { - "value": { - "value": "https://link.to/data", + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - { "value": { - "value": "https://link.to/data", - "type": "string" - }, - "type": "primitive" + "value": { + "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + "type": "string" + }, + "type": "primitive" + } } ], - "type": "array" - }, - "sha256": { - "value": { - "value": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - "type": "string" - }, - "type": "primitive" + "type": "map" } - }, - "type": "object" - }, - "description": { - "value": { - "value": "view from doorway, facing east, with lights off", - "type": "string" - }, - "type": "primitive" - }, - "filename": { - "value": { - "value": "IMG1092348.png", - "type": "string" - }, - "type": "primitive" - }, - "lastmod_time": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "mime-type": { - "value": { - "value": "image/png", - "type": "string" - }, - "type": "primitive" + ], + "type": "array" } }, "type": "object" } - ], - "type": "array" - } + } + ], + "type": "map" }, - "type": "object" + "version": { + "value": { + "value": "1.0", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "trace": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "auto_present": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "auto_verify": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "connection_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": "2021-12-31 23:59:59+00:00", + "type": "string" + }, + "type": "primitive" + }, + "error_msg": { + "value": { + "value": "Invalid structure", + "type": "string" + }, + "type": "primitive" + }, + "initiator": { + "value": "self", + "type": "enum" + }, + "presentation_exchange_id": { + "value": { + "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "type": "string" + }, + "type": "primitive" }, "role": { "value": "prover", @@ -57084,96 +26849,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "revocDefType": { - "value": { - "value": "CL_ACCUM", - "type": "string" - }, - "type": "literal" - }, - "tag": { - "value": { - "value": "tag", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "properties": { - "maxCredNum": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "tailsHash": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "value": { - "properties": { - "accum": { - "value": { - "value": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "type": "string" - }, - "type": "primitive" - }, - "prevAccum": { - "value": { - "value": "21 137AC810975E4 6 76F0384B6F23", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -57530,96 +27205,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "revocDefType": { - "value": { - "value": "CL_ACCUM", - "type": "string" - }, - "type": "literal" - }, - "tag": { - "value": { - "value": "tag", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "properties": { - "maxCredNum": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "tailsHash": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "value": { - "properties": { - "accum": { - "value": { - "value": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "type": "string" - }, - "type": "primitive" - }, - "prevAccum": { - "value": { - "value": "21 137AC810975E4 6 76F0384B6F23", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -58007,180 +27592,6 @@ } }, "type": "object" - }, - "txn": { - "properties": { - "_type": { - "value": { - "value": "101", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endorser_write_txn": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - }, - "messages_attach": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_request": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_response": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "transaction_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" } }, "type": "object" @@ -58592,96 +28003,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "revocDefType": { - "value": { - "value": "CL_ACCUM", - "type": "string" - }, - "type": "literal" - }, - "tag": { - "value": { - "value": "tag", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "properties": { - "maxCredNum": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "tailsHash": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "value": { - "properties": { - "accum": { - "value": { - "value": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "type": "string" - }, - "type": "primitive" - }, - "prevAccum": { - "value": { - "value": "21 137AC810975E4 6 76F0384B6F23", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -58920,96 +28241,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "revocDefType": { - "value": { - "value": "CL_ACCUM", - "type": "string" - }, - "type": "literal" - }, - "tag": { - "value": { - "value": "tag", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "properties": { - "maxCredNum": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "tailsHash": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "value": { - "properties": { - "accum": { - "value": { - "value": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "type": "string" - }, - "type": "primitive" - }, - "prevAccum": { - "value": { - "value": "21 137AC810975E4 6 76F0384B6F23", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -59262,44 +28493,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -59354,180 +28547,6 @@ } }, "type": "object" - }, - "txn": { - "properties": { - "_type": { - "value": { - "value": "101", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endorser_write_txn": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - }, - "messages_attach": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_request": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_response": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "transaction_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" } }, "type": "object" @@ -59727,96 +28746,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "revocDefType": { - "value": { - "value": "CL_ACCUM", - "type": "string" - }, - "type": "literal" - }, - "tag": { - "value": { - "value": "tag", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "properties": { - "maxCredNum": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "tailsHash": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "value": { - "properties": { - "accum": { - "value": { - "value": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "type": "string" - }, - "type": "primitive" - }, - "prevAccum": { - "value": { - "value": "21 137AC810975E4 6 76F0384B6F23", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -60591,96 +29520,6 @@ }, "type": "literal" }, - "revoc_reg_def": { - "properties": { - "credDefId": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "type": "string" - }, - "type": "primitive" - }, - "revocDefType": { - "value": { - "value": "CL_ACCUM", - "type": "string" - }, - "type": "literal" - }, - "tag": { - "value": { - "value": "tag", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "properties": { - "maxCredNum": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "tailsHash": { - "value": { - "value": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "revoc_reg_entry": { - "properties": { - "value": { - "properties": { - "accum": { - "value": { - "value": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "type": "string" - }, - "type": "primitive" - }, - "prevAccum": { - "value": { - "value": "21 137AC810975E4 6 76F0384B6F23", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "revoc_reg_id": { "value": { "value": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", @@ -61241,253 +30080,7 @@ }, "response": { "value": { - "properties": { - "sent": { - "properties": { - "schema": { - "properties": { - "attrNames": { - "value": [ - { - "value": { - "value": "score", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "score", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "schema_name", - "type": "string" - }, - "type": "primitive" - }, - "seqNo": { - "value": { - "value": 10, - "type": "int" - }, - "type": "primitive" - }, - "ver": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - }, - "version": { - "value": { - "value": "1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "schema_id": { - "value": { - "value": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "txn": { - "properties": { - "_type": { - "value": { - "value": "101", - "type": "string" - }, - "type": "primitive" - }, - "connection_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - }, - "endorser_write_txn": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "formats": { - "value": [ - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - { - "value": [ - { - "key": { - "value": "attach_id", - "type": "string" - }, - "value": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - } - }, - { - "key": { - "value": "format", - "type": "string" - }, - "value": { - "value": { - "value": "dif/endorse-transaction/request@v1.0", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - } - ], - "type": "array" - }, - "messages_attach": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_request": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "signature_response": { - "value": [ - { - "properties": {}, - "type": "object" - }, - { - "properties": {}, - "type": "object" - } - ], - "type": "array" - }, - "state": { - "value": { - "value": "active", - "type": "string" - }, - "type": "primitive" - }, - "thread_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "trace": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "transaction_id": { - "value": { - "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "type": "string" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": "2021-12-31 23:59:59+00:00", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, + "properties": {}, "type": "object" }, "type": "withoutStreaming" diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json index dcaf95f8df8..b4e8867d729 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json @@ -7172,23 +7172,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -7221,20 +7204,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -7497,20 +7466,6 @@ "type": "string" }, "type": "primitive" - }, - "monthly_payment": { - "value": { - "value": 1.1, - "type": "double" - }, - "type": "primitive" - }, - "last_payment_date": { - "value": { - "value": "last_payment_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -7712,23 +7667,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -7761,20 +7699,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -8256,23 +8180,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -8305,20 +8212,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -8999,20 +8892,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -9490,23 +9369,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -9539,20 +9401,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -10807,23 +10655,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -10856,20 +10687,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -11139,20 +10956,6 @@ "type": "string" }, "type": "primitive" - }, - "monthly_payment": { - "value": { - "value": 1.1, - "type": "double" - }, - "type": "primitive" - }, - "last_payment_date": { - "value": { - "value": "last_payment_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -11354,23 +11157,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -11403,20 +11189,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -11905,23 +11677,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -11954,20 +11709,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -12655,20 +12396,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -13153,23 +12880,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -13202,20 +12912,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -14145,75 +13841,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "FIX X", - "type": "string" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "public_identifications": { - "value": [ - { - "properties": { - "name": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "05.954.445/0221-68", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "balance": { - "value": { - "value": 88427.94, - "type": "float" - }, - "type": "primitive" - }, - "percentage": { - "value": { - "value": 100, - "type": "float" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -14246,20 +13873,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -14516,20 +14129,6 @@ "type": "string" }, "type": "primitive" - }, - "monthly_payment": { - "value": { - "value": 1.1, - "type": "double" - }, - "type": "primitive" - }, - "last_payment_date": { - "value": { - "value": "last_payment_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -14731,75 +14330,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "FIX X", - "type": "string" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "public_identifications": { - "value": [ - { - "properties": { - "name": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "05.954.445/0221-68", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "balance": { - "value": { - "value": 88427.94, - "type": "float" - }, - "type": "primitive" - }, - "percentage": { - "value": { - "value": 100, - "type": "float" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -14832,20 +14362,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -15321,75 +14837,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "FIX X", - "type": "string" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "public_identifications": { - "value": [ - { - "properties": { - "name": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "05.954.445/0221-68", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "balance": { - "value": { - "value": 88427.94, - "type": "float" - }, - "type": "primitive" - }, - "percentage": { - "value": { - "value": 100, - "type": "float" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -15422,20 +14869,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -16110,20 +15543,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -16595,75 +16014,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "FIX X", - "type": "string" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "public_identifications": { - "value": [ - { - "properties": { - "name": { - "value": { - "value": "CNPJ", - "type": "string" - }, - "type": "primitive" - }, - "value": { - "value": { - "value": "05.954.445/0221-68", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "balance": { - "value": { - "value": 88427.94, - "type": "float" - }, - "type": "primitive" - }, - "percentage": { - "value": { - "value": 100, - "type": "float" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -16696,20 +16046,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -19123,13 +18459,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -20098,13 +19427,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -21066,13 +20388,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -23117,13 +22432,6 @@ }, "type": "object" }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, "internal_identification": { "value": { "value": "996685090015", @@ -23626,23 +22934,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -23675,20 +22966,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -26133,13 +25410,6 @@ }, "type": "object" }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, "internal_identification": { "value": { "value": "996685090015", @@ -26635,23 +25905,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -26684,20 +25937,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -28522,13 +27761,6 @@ }, "type": "object" }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, "internal_identification": { "value": { "value": "996685090015", @@ -28967,27 +28199,6 @@ "type": "float" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" - }, - "monthly_payment": { - "value": { - "value": 1.1, - "type": "double" - }, - "type": "primitive" - }, - "last_payment_date": { - "value": { - "value": "last_payment_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -29189,23 +28400,6 @@ }, "type": "object" }, - "funds_data": { - "value": [ - { - "properties": { - "collected_at": { - "value": { - "value": "2020-04-23T21:32:55.336854+00:00", - "type": "datetime" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, "receivables_data": { "properties": { "current": { @@ -29238,20 +28432,6 @@ } }, "type": "object" - }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, - "internal_identification": { - "value": { - "value": "internal_identification", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -30726,13 +29906,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -30943,13 +30116,6 @@ }, "type": "primitive" }, - "statement": { - "value": { - "value": "statement", - "type": "string" - }, - "type": "primitive" - }, "collected_at": { "value": { "value": "2022-04-06T23:30:51.282174+00:00", @@ -31900,13 +31066,6 @@ }, "type": "object" }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, "internal_identification": { "value": { "value": "9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c", @@ -31938,13 +31097,6 @@ }, "type": "primitive" }, - "statement": { - "value": { - "value": "statement", - "type": "string" - }, - "type": "primitive" - }, "collected_at": { "value": { "value": "2022-04-06T23:30:51.282174+00:00", @@ -32885,13 +32037,6 @@ }, "type": "object" }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, "internal_identification": { "value": { "value": "9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c", @@ -32923,13 +32068,6 @@ }, "type": "primitive" }, - "statement": { - "value": { - "value": "statement", - "type": "string" - }, - "type": "primitive" - }, "collected_at": { "value": { "value": "2022-04-06T23:30:51.282174+00:00", @@ -33731,13 +32869,6 @@ }, "type": "object" }, - "bank_product_id": { - "value": { - "value": "bank_product_id", - "type": "string" - }, - "type": "primitive" - }, "internal_identification": { "value": { "value": "9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c", @@ -33769,13 +32900,6 @@ }, "type": "primitive" }, - "statement": { - "value": { - "value": "statement", - "type": "string" - }, - "type": "primitive" - }, "collected_at": { "value": { "value": "2022-04-06T23:30:51.282174+00:00", @@ -36055,13 +35179,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -36147,27 +35264,6 @@ } }, "type": "object" - }, - "first_name": { - "value": { - "value": "first_name", - "type": "string" - }, - "type": "primitive" - }, - "last_name": { - "value": { - "value": "last_name", - "type": "string" - }, - "type": "primitive" - }, - "second_last_name": { - "value": { - "value": "second_last_name", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -36883,27 +35979,6 @@ } }, "type": "object" - }, - "first_name": { - "value": { - "value": "first_name", - "type": "string" - }, - "type": "primitive" - }, - "last_name": { - "value": { - "value": "last_name", - "type": "string" - }, - "type": "primitive" - }, - "second_last_name": { - "value": { - "value": "second_last_name", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -37623,27 +36698,6 @@ } }, "type": "object" - }, - "first_name": { - "value": { - "value": "first_name", - "type": "string" - }, - "type": "primitive" - }, - "last_name": { - "value": { - "value": "last_name", - "type": "string" - }, - "type": "primitive" - }, - "second_last_name": { - "value": { - "value": "second_last_name", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -38046,27 +37100,6 @@ } }, "type": "object" - }, - "first_name": { - "value": { - "value": "first_name", - "type": "string" - }, - "type": "primitive" - }, - "last_name": { - "value": { - "value": "last_name", - "type": "string" - }, - "type": "primitive" - }, - "second_last_name": { - "value": { - "value": "second_last_name", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -39796,13 +38829,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -40757,13 +39783,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -40912,13 +39931,6 @@ }, "type": "primitive" }, - "payment_method": { - "value": { - "value": "PUE", - "type": "string" - }, - "type": "primitive" - }, "payment_method_description": { "value": { "value": "payment_method_description", @@ -41725,13 +40737,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -42693,13 +41698,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -43654,13 +42652,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -43809,13 +42800,6 @@ }, "type": "primitive" }, - "payment_method": { - "value": { - "value": "PUE", - "type": "string" - }, - "type": "primitive" - }, "payment_method_description": { "value": { "value": "payment_method_description", @@ -45981,13 +44965,6 @@ }, "type": "primitive" }, - "payment_method": { - "value": { - "value": "PUE", - "type": "string" - }, - "type": "primitive" - }, "payment_method_description": { "value": { "value": "payment_method_description", @@ -48019,13 +46996,6 @@ }, "type": "primitive" }, - "payment_method": { - "value": { - "value": "PUE", - "type": "string" - }, - "type": "primitive" - }, "payment_method_description": { "value": { "value": "payment_method_description", @@ -51116,13 +50086,6 @@ }, "type": "primitive" }, - "payment_method": { - "value": { - "value": "PUE", - "type": "string" - }, - "type": "primitive" - }, "payment_method_description": { "value": { "value": "payment_method_description", @@ -53132,13 +52095,6 @@ }, "type": "primitive" }, - "payment_method": { - "value": { - "value": "PUE", - "type": "string" - }, - "type": "primitive" - }, "payment_method_description": { "value": { "value": "payment_method_description", @@ -55734,13 +54690,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -57764,13 +56713,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -58547,13 +57489,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -59434,13 +58369,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -61593,13 +60521,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -85642,13 +84563,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -86200,13 +85114,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -87354,13 +86261,6 @@ }, "type": "primitive" }, - "social_name": { - "value": { - "value": "John Doe SA DE CV", - "type": "string" - }, - "type": "primitive" - }, "email": { "value": { "value": "alfredo@robin.com", @@ -87422,13 +86322,6 @@ }, "type": "primitive" }, - "locality": { - "value": { - "value": "none", - "type": "string" - }, - "type": "primitive" - }, "municipality": { "value": { "value": "ALTOS DE MIRAMAR", @@ -87488,13 +86381,6 @@ }, "type": "primitive" }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" - }, "order": { "value": { "value": "1", @@ -87570,13 +86456,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -87603,13 +86482,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -87769,34 +86641,6 @@ }, "type": "primitive" }, - "curp": { - "value": { - "value": "curp", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "JOHN", - "type": "string" - }, - "type": "primitive" - }, - "first_last_name": { - "value": { - "value": "DOE", - "type": "string" - }, - "type": "primitive" - }, - "second_last_name": { - "value": { - "value": "SCHMOE", - "type": "string" - }, - "type": "primitive" - }, "start_operations_date": { "value": { "value": "1995-08-01", @@ -87818,13 +86662,6 @@ }, "type": "primitive" }, - "commercial_name": { - "value": { - "value": "Jar Jar Transport", - "type": "string" - }, - "type": "primitive" - }, "social_name": { "value": { "value": "ACNE SA DE CV", @@ -87893,13 +86730,6 @@ }, "type": "primitive" }, - "locality": { - "value": { - "value": "none", - "type": "string" - }, - "type": "primitive" - }, "municipality": { "value": { "value": "ALTOS DE MIRAMAR", @@ -87959,13 +86789,6 @@ }, "type": "primitive" }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" - }, "order": { "value": { "value": "1", @@ -88041,13 +86864,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -88074,13 +86890,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -88695,13 +87504,6 @@ }, "type": "primitive" }, - "social_name": { - "value": { - "value": "John Doe SA DE CV", - "type": "string" - }, - "type": "primitive" - }, "email": { "value": { "value": "alfredo@robin.com", @@ -88763,13 +87565,6 @@ }, "type": "primitive" }, - "locality": { - "value": { - "value": "none", - "type": "string" - }, - "type": "primitive" - }, "municipality": { "value": { "value": "ALTOS DE MIRAMAR", @@ -88829,13 +87624,6 @@ }, "type": "primitive" }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" - }, "order": { "value": { "value": "1", @@ -88911,13 +87699,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -88944,13 +87725,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -89109,34 +87883,6 @@ }, "type": "primitive" }, - "curp": { - "value": { - "value": "curp", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "JOHN", - "type": "string" - }, - "type": "primitive" - }, - "first_last_name": { - "value": { - "value": "DOE", - "type": "string" - }, - "type": "primitive" - }, - "second_last_name": { - "value": { - "value": "SCHMOE", - "type": "string" - }, - "type": "primitive" - }, "start_operations_date": { "value": { "value": "1995-08-01", @@ -89158,13 +87904,6 @@ }, "type": "primitive" }, - "commercial_name": { - "value": { - "value": "Jar Jar Transport", - "type": "string" - }, - "type": "primitive" - }, "social_name": { "value": { "value": "ACNE SA DE CV", @@ -89233,13 +87972,6 @@ }, "type": "primitive" }, - "locality": { - "value": { - "value": "none", - "type": "string" - }, - "type": "primitive" - }, "municipality": { "value": { "value": "ALTOS DE MIRAMAR", @@ -89299,13 +88031,6 @@ }, "type": "primitive" }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" - }, "order": { "value": { "value": "1", @@ -89381,13 +88106,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -89414,13 +88132,6 @@ "type": "string" }, "type": "primitive" - }, - "end_date": { - "value": { - "value": "end_date", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -115499,13 +114210,6 @@ }, "type": "primitive" }, - "mcc": { - "value": { - "value": 2345, - "type": "int" - }, - "type": "primitive" - }, "category": { "value": { "value": "Income & Payments", @@ -118708,13 +117412,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -118997,13 +117694,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -119286,13 +117976,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -121532,13 +120215,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -121824,13 +120500,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { @@ -122105,13 +120774,6 @@ }, "type": "primitive" }, - "previous": { - "value": { - "value": "previous", - "type": "string" - }, - "type": "primitive" - }, "results": { "value": [ { 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..d745cf11f36 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 @@ -1133,13 +1133,6 @@ }, "type": "primitive" }, - "street_address2": { - "value": { - "value": "STE 2918", - "type": "string" - }, - "type": "primitive" - }, "city": { "value": { "value": "Shanghai", @@ -1147,13 +1140,6 @@ }, "type": "primitive" }, - "state": { - "value": { - "value": "MN", - "type": "string" - }, - "type": "primitive" - }, "country": { "value": { "value": "China", @@ -1168,13 +1154,6 @@ }, "type": "primitive" }, - "zip": { - "value": { - "value": "56307", - "type": "string" - }, - "type": "primitive" - }, "timezone": { "value": { "value": "China/Shanghai", @@ -1215,13 +1194,6 @@ }, "type": "primitive" }, - "street_address2": { - "value": { - "value": "STE 2918", - "type": "string" - }, - "type": "primitive" - }, "city": { "value": { "value": "Shanghai", @@ -1229,13 +1201,6 @@ }, "type": "primitive" }, - "state": { - "value": { - "value": "MN", - "type": "string" - }, - "type": "primitive" - }, "country": { "value": { "value": "China", @@ -1250,13 +1215,6 @@ }, "type": "primitive" }, - "zip": { - "value": { - "value": "56307", - "type": "string" - }, - "type": "primitive" - }, "timezone": { "value": { "value": "China/Shanghai", @@ -2402,13 +2360,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/booking_line_items?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -4672,13 +4623,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/bookings?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -5134,13 +5078,6 @@ }, "type": "primitive" }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" - }, "unlocode": { "value": { "value": "CNSZP", @@ -5251,13 +5188,6 @@ }, "type": "primitive" }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" - }, "unlocode": { "value": { "value": "USLA", @@ -6868,10 +6798,6 @@ "value": "archived", "type": "enum" }, - "quote_status": { - "value": "pending_quote", - "type": "enum" - }, "shipper_entity": { "properties": { "_object": { @@ -7164,13 +7090,6 @@ }, "type": "object" }, - "notify_party": { - "value": { - "value": "John Doe | john@example.com | 905-555-1234", - "type": "string" - }, - "type": "primitive" - }, "transportation_mode": { "value": "ocean", "type": "enum" @@ -7557,142 +7476,6 @@ }, "type": "object" }, - "air_booking": { - "properties": { - "_object": { - "value": { - "value": "/air/booking", - "type": "string" - }, - "type": "primitive" - }, - "incoterm": { - "value": "EXW", - "type": "enum" - }, - "wants_pickup_service": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "wants_delivery_service": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "origin_port": { - "properties": { - "_object": { - "value": { - "value": "/place", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "ORD - Chicago - IL", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "destination_port": { - "properties": { - "_object": { - "value": { - "value": "/place", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "ORD - Chicago - IL", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "product_descriptions": { - "value": [ - { - "properties": { - "_object": { - "value": { - "value": "/bookings/product_descriptions", - "type": "string" - }, - "type": "primitive" - }, - "description": { - "value": { - "value": "Wristwatches", - "type": "string" - }, - "type": "primitive" - }, - "description_for_export_customs": { - "value": { - "value": "手表", - "type": "string" - }, - "type": "primitive" - }, - "description_for_export_customs_locale": { - "value": { - "value": "zh_CN", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "trucking_booking": { - "properties": { - "_object": { - "value": { - "value": "/trucking/booking", - "type": "string" - }, - "type": "primitive" - }, - "is_ftl": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "payment_terms": { - "value": "collect", - "type": "enum" - }, - "description_of_products": { - "value": { - "value": "Wristwatches", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "origin_address": { "properties": { "_object": { @@ -9547,142 +9330,6 @@ }, "type": "object" }, - "air_booking": { - "properties": { - "_object": { - "value": { - "value": "/air/booking", - "type": "string" - }, - "type": "primitive" - }, - "incoterm": { - "value": "EXW", - "type": "enum" - }, - "wants_pickup_service": { - "value": { - "value": true, - "type": "boolean" - }, - "type": "primitive" - }, - "wants_delivery_service": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "origin_port": { - "properties": { - "_object": { - "value": { - "value": "/place", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "ORD - Chicago - IL", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "destination_port": { - "properties": { - "_object": { - "value": { - "value": "/place", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "ORD - Chicago - IL", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "product_descriptions": { - "value": [ - { - "properties": { - "_object": { - "value": { - "value": "/bookings/product_descriptions", - "type": "string" - }, - "type": "primitive" - }, - "description": { - "value": { - "value": "Wristwatches", - "type": "string" - }, - "type": "primitive" - }, - "description_for_export_customs": { - "value": { - "value": "手表", - "type": "string" - }, - "type": "primitive" - }, - "description_for_export_customs_locale": { - "value": { - "value": "zh_CN", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "trucking_booking": { - "properties": { - "_object": { - "value": { - "value": "/trucking/booking", - "type": "string" - }, - "type": "primitive" - }, - "is_ftl": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "payment_terms": { - "value": "collect", - "type": "enum" - }, - "description_of_products": { - "value": { - "value": "Wristwatches", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "origin_address": { "properties": { "_object": { @@ -11236,13 +10883,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/commercial_invoices?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -15504,13 +15144,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/customs_entries?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -16754,13 +16387,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/documents?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "total_count": { "value": { "value": 121, @@ -17762,13 +17388,6 @@ }, "type": "primitive" }, - "memo": { - "value": { - "value": "memo", - "type": "string" - }, - "type": "primitive" - }, "file_link": { "value": { "value": "https://api.flexport.com/documents/ABC123/download", @@ -17776,13 +17395,6 @@ }, "type": "primitive" }, - "archived_at": { - "value": { - "value": "2024-01-15T09:30:00Z", - "type": "datetime" - }, - "type": "primitive" - }, "file_metadata": { "properties": { "_object": { @@ -20775,13 +20387,6 @@ }, "type": "primitive" }, - "prev": { - "value": { - "value": "https://api.flexport.com/invoices?page=1&per=10", - "type": "string" - }, - "type": "primitive" - }, "next": { "value": { "value": "https://api.flexport.com/invoices?page=2&per=10", @@ -24287,13 +23892,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/network/companies?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "total_count": { "value": { "value": 121, @@ -27138,13 +26736,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/network/company_entities?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "total_count": { "value": { "value": 121, @@ -29575,13 +29166,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/network/contacts?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "total_count": { "value": { "value": 121, @@ -31868,13 +31452,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/network/locations?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "total_count": { "value": { "value": 11, @@ -33785,13 +33362,6 @@ }, "type": "primitive" }, - "street_address2": { - "value": { - "value": "STE 2918", - "type": "string" - }, - "type": "primitive" - }, "city": { "value": { "value": "Los Angeles", @@ -41921,13 +41491,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/purchase_order_line_items?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -42368,13 +41931,6 @@ }, "type": "primitive" }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" - }, "unlocode": { "value": { "value": "US AL2", @@ -43198,124 +42754,6 @@ }, "type": "primitive" }, - "origin_port": { - "properties": { - "_object": { - "value": { - "value": "/place", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "ORD - Chicago - IL", - "type": "string" - }, - "type": "primitive" - }, - "address": { - "properties": { - "_object": { - "value": { - "value": "/address", - "type": "string" - }, - "type": "primitive" - }, - "street_address": { - "value": { - "value": "1641 Settlers Lane", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Albany", - "type": "string" - }, - "type": "primitive" - }, - "country": { - "value": { - "value": "United States of America", - "type": "string" - }, - "type": "primitive" - }, - "country_code": { - "value": { - "value": "US", - "type": "string" - }, - "type": "primitive" - }, - "timezone": { - "value": { - "value": "America/Los_Angeles", - "type": "string" - }, - "type": "primitive" - }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "details": { - "value": [ - { - "properties": { - "_object": { - "value": { - "value": "/air/port", - "type": "string" - }, - "type": "primitive" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" - }, - "country_code": { - "value": { - "value": "US", - "type": "string" - }, - "type": "primitive" - }, - "iata_code": { - "value": { - "value": "LAX", - "type": "string" - }, - "type": "primitive" - }, - "icao_code": { - "value": { - "value": "KLAX", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "origin_location": { "properties": { "_object": { @@ -43332,13 +42770,6 @@ }, "type": "primitive" }, - "street_address2": { - "value": { - "value": "STE 2918", - "type": "string" - }, - "type": "primitive" - }, "city": { "value": { "value": "Shenzhen", @@ -43367,13 +42798,6 @@ }, "type": "primitive" }, - "zip": { - "value": { - "value": "56307", - "type": "string" - }, - "type": "primitive" - }, "timezone": { "value": { "value": "China/Shenzhen", @@ -43387,131 +42811,6 @@ "type": "string" }, "type": "primitive" - }, - "unlocode": { - "value": { - "value": "US AL2", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "destination_port": { - "properties": { - "_object": { - "value": { - "value": "/place", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "ORD - Chicago - IL", - "type": "string" - }, - "type": "primitive" - }, - "address": { - "properties": { - "_object": { - "value": { - "value": "/address", - "type": "string" - }, - "type": "primitive" - }, - "street_address": { - "value": { - "value": "1641 Settlers Lane", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Albany", - "type": "string" - }, - "type": "primitive" - }, - "country": { - "value": { - "value": "United States of America", - "type": "string" - }, - "type": "primitive" - }, - "country_code": { - "value": { - "value": "US", - "type": "string" - }, - "type": "primitive" - }, - "timezone": { - "value": { - "value": "America/Los_Angeles", - "type": "string" - }, - "type": "primitive" - }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "details": { - "value": [ - { - "properties": { - "_object": { - "value": { - "value": "/air/port", - "type": "string" - }, - "type": "primitive" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" - }, - "country_code": { - "value": { - "value": "US", - "type": "string" - }, - "type": "primitive" - }, - "iata_code": { - "value": { - "value": "LAX", - "type": "string" - }, - "type": "primitive" - }, - "icao_code": { - "value": { - "value": "KLAX", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" } }, "type": "object" @@ -43571,13 +42870,6 @@ ], "type": "array" }, - "parent_line_key": { - "value": { - "value": "parent_line_key", - "type": "string" - }, - "type": "primitive" - }, "assigned_party": { "properties": { "_object": { @@ -43673,13 +42965,6 @@ }, "type": "primitive" }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" - }, "unlocode": { "value": { "value": "US AL2", @@ -44983,13 +44268,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "https://api.flexport.com/purchase_orders?page=3&per=10", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -45084,13 +44362,6 @@ }, "type": "primitive" }, - "street_address": { - "value": { - "value": "1641 Settlers Lane", - "type": "string" - }, - "type": "primitive" - }, "city": { "value": { "value": "Fairburn", @@ -45150,13 +44421,6 @@ "_object": { "value": "/ocean/railport", "type": "enum" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45166,13 +44430,6 @@ "_object": { "value": "/trucking/port", "type": "enum" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45182,13 +44439,6 @@ "_object": { "value": "/ocean/port", "type": "enum" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45285,13 +44535,6 @@ }, "type": "primitive" }, - "street_address": { - "value": { - "value": "1641 Settlers Lane", - "type": "string" - }, - "type": "primitive" - }, "city": { "value": { "value": "Fairburn", @@ -45351,13 +44594,6 @@ "_object": { "value": "/ocean/railport", "type": "enum" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45367,13 +44603,6 @@ "_object": { "value": "/trucking/port", "type": "enum" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45383,13 +44612,6 @@ "_object": { "value": "/ocean/port", "type": "enum" - }, - "port_code": { - "value": { - "value": "3901", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45561,13 +44783,6 @@ "type": "string" }, "type": "primitive" - }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -45858,13 +45073,6 @@ "type": "string" }, "type": "primitive" - }, - "ref": { - "value": { - "value": "address_ref_x", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -53302,32 +52510,6 @@ } }, "type": "object" - }, - "terminal": { - "properties": { - "_object": { - "value": { - "value": "/shipment_node/terminal", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "Terminal 3", - "type": "string" - }, - "type": "primitive" - }, - "firms_code": { - "value": { - "value": "I092", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" } }, "type": "object" @@ -53343,39 +52525,6 @@ }, "type": "primitive" }, - "air_leg": { - "properties": { - "_object": { - "value": { - "value": "/air/shipment_leg", - "type": "string" - }, - "type": "primitive" - }, - "iata_code": { - "value": { - "value": "2Q", - "type": "string" - }, - "type": "primitive" - }, - "icao_code": { - "value": { - "value": "SNC", - "type": "string" - }, - "type": "primitive" - }, - "flight_number": { - "value": { - "value": "Y8 1234", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "ocean_leg": { "properties": { "_object": { @@ -53442,107 +52591,6 @@ }, "type": "object" }, - "trucking_leg": { - "properties": { - "_object": { - "value": { - "value": "/trucking/shipment_leg", - "type": "string" - }, - "type": "primitive" - }, - "tracking_number": { - "value": { - "value": "FBA123456789", - "type": "string" - }, - "type": "primitive" - }, - "service_type": { - "value": "ltl", - "type": "enum" - }, - "pieces": { - "value": { - "value": 32, - "type": "int" - }, - "type": "primitive" - }, - "scac_code": { - "value": { - "value": "ABCD", - "type": "string" - }, - "type": "primitive" - }, - "container_legs": { - "properties": { - "_object": { - "value": { - "value": "/api/refs/collection", - "type": "string" - }, - "type": "primitive" - }, - "ref_type": { - "value": { - "value": "/ocean/shipment_container_leg", - "type": "string" - }, - "type": "primitive" - }, - "link": { - "value": { - "value": "https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "rail_leg": { - "properties": { - "_object": { - "value": { - "value": "/rail/shipment_leg", - "type": "string" - }, - "type": "primitive" - }, - "container_legs": { - "properties": { - "_object": { - "value": { - "value": "/api/refs/collection", - "type": "string" - }, - "type": "primitive" - }, - "ref_type": { - "value": { - "value": "/ocean/shipment_container_leg", - "type": "string" - }, - "type": "primitive" - }, - "link": { - "value": { - "value": "https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "cargo_ready_date": { "value": { "value": "cargo_ready_date", @@ -55024,20 +54072,6 @@ }, "type": "primitive" }, - "prev": { - "value": { - "value": "prev", - "type": "string" - }, - "type": "primitive" - }, - "next": { - "value": { - "value": "next", - "type": "string" - }, - "type": "primitive" - }, "data": { "value": [ { @@ -57389,77 +56423,6 @@ }, "type": "primitive" }, - "child_shipments": { - "value": [ - { - "properties": { - "_object": { - "value": { - "value": "/api/refs/object", - "type": "string" - }, - "type": "primitive" - }, - "ref_type": { - "value": { - "value": "/shipment", - "type": "string" - }, - "type": "primitive" - }, - "link": { - "value": { - "value": "https://api.flexport.com/shipments/123", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "parent_shipment": { - "properties": { - "_object": { - "value": { - "value": "/api/refs/object", - "type": "string" - }, - "type": "primitive" - }, - "ref_type": { - "value": { - "value": "/shipment", - "type": "string" - }, - "type": "primitive" - }, - "link": { - "value": { - "value": "https://api.flexport.com/shipments/123", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "estimated_picked_up_in_full_date": { "value": { "value": "2019-02-06T19:28:25+00:00", @@ -57582,70 +56545,6 @@ }, "type": "object" }, - "air_shipment": { - "properties": { - "_object": { - "value": { - "value": "/air/shipment", - "type": "string" - }, - "type": "primitive" - }, - "house_airway_bill": { - "value": { - "value": "HWXJKE67732", - "type": "string" - }, - "type": "primitive" - }, - "master_airway_bill": { - "value": { - "value": "22831046871", - "type": "string" - }, - "type": "primitive" - }, - "chargeable_weight": { - "properties": { - "value": { - "value": { - "value": 2300.4, - "type": "double" - }, - "type": "primitive" - }, - "_object": { - "value": { - "value": "/quantity/weight", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "chargeable_volume": { - "properties": { - "value": { - "value": { - "value": 472.62, - "type": "double" - }, - "type": "primitive" - }, - "_object": { - "value": { - "value": "/quantity/volume", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "dangerous_goods": { "properties": { "_object": { @@ -59826,70 +58725,6 @@ }, "type": "object" }, - "air_shipment": { - "properties": { - "_object": { - "value": { - "value": "/air/shipment", - "type": "string" - }, - "type": "primitive" - }, - "house_airway_bill": { - "value": { - "value": "HWXJKE67732", - "type": "string" - }, - "type": "primitive" - }, - "master_airway_bill": { - "value": { - "value": "22831046871", - "type": "string" - }, - "type": "primitive" - }, - "chargeable_weight": { - "properties": { - "value": { - "value": { - "value": 2300.4, - "type": "double" - }, - "type": "primitive" - }, - "_object": { - "value": { - "value": "/quantity/weight", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "chargeable_volume": { - "properties": { - "value": { - "value": { - "value": 472.62, - "type": "double" - }, - "type": "primitive" - }, - "_object": { - "value": { - "value": "/quantity/volume", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "dangerous_goods": { "properties": { "_object": { 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..4c43c812008 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 @@ -1493,25 +1493,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 20, @@ -18126,13 +18107,6 @@ }, "type": "primitive" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 79, @@ -18166,13 +18140,6 @@ }, "type": "primitive" }, - "description": { - "value": { - "value": "Default language description", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492720, @@ -18221,13 +18188,6 @@ "type": "string" }, "type": "primitive" - }, - "help_center_id": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -19610,13 +19570,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 81, @@ -20703,13 +20656,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 81, @@ -22076,13 +22022,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 84, @@ -23493,13 +23432,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 87, @@ -24590,13 +24522,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 87, @@ -26046,25 +25971,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 15, @@ -29798,25 +29704,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 15, @@ -30522,65 +30409,6 @@ ], "type": "array" }, - "pages": { - "properties": { - "type": { - "value": { - "value": "pages", - "type": "string" - }, - "type": "literal" - }, - "page": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "total_pages": { - "value": { - "value": 13, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "total_count": { - "value": { - "value": 100, - "type": "int" - }, - "type": "primitive" - }, "scroll_param": { "value": { "value": "12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc", @@ -31144,13 +30972,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "next", - "type": "string" - }, - "type": "primitive" - }, "per_page": { "value": { "value": 50, @@ -33752,25 +33573,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 50, @@ -38952,13 +38754,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -38973,13 +38768,6 @@ }, "type": "primitive" }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -39022,160 +38810,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -39197,25 +38831,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -39364,27 +38979,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -39823,13 +39417,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -39844,13 +39431,6 @@ }, "type": "primitive" }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -39893,160 +39473,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -40068,25 +39494,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -40235,27 +39642,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -40905,13 +40291,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -40926,13 +40305,6 @@ }, "type": "primitive" }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -40975,160 +40347,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -41150,25 +40368,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -41317,27 +40516,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -43105,13 +42283,6 @@ }, "type": "primitive" }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - }, "workspace_id": { "value": { "value": "this_is_an_id272_that_should_be_at_least_", @@ -43140,13 +42311,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -43154,20 +42318,6 @@ }, "type": "primitive" }, - "name": { - "value": { - "value": "John Doe", - "type": "string" - }, - "type": "primitive" - }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -43203,167 +42353,6 @@ }, "type": "primitive" }, - "signed_up_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -43385,25 +42374,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -43552,27 +42522,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -46761,13 +45710,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492825, @@ -46782,20 +45724,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -46818,20 +45746,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -46882,77 +45796,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -47082,13 +45925,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -47142,35 +45978,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -47189,193 +45996,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -47503,100 +46123,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -48234,13 +46760,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492832, @@ -48255,20 +46774,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -48291,20 +46796,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -48355,77 +46846,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -48555,13 +46975,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -48615,35 +47028,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -48675,193 +47059,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -49227,100 +47424,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -49417,13 +47520,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492832, @@ -49438,20 +47534,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -49474,20 +47556,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -49538,77 +47606,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -49738,13 +47735,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -49798,35 +47788,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -49858,193 +47819,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -50410,100 +48184,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -50778,13 +48458,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492843, @@ -50799,20 +48472,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -50835,20 +48494,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -50899,32 +48544,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -51107,18 +48726,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -51137,182 +48744,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "total_count": { @@ -52213,13 +49644,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492849, @@ -52241,13 +49665,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -52270,20 +49687,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -52334,77 +49737,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -52534,13 +49866,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -52594,35 +49919,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -52656,174 +49952,6 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -53054,100 +50182,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -53220,13 +50254,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492852, @@ -53241,20 +50268,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -53277,20 +50290,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -53341,77 +50340,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -53541,13 +50469,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -53601,35 +50522,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -53648,201 +50540,14 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { + "conversation_parts": { "properties": { "type": { "value": { - "value": "conversation_statistics", + "value": "conversation_part.list", "type": "string" }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "conversation_parts": { - "properties": { - "type": { - "value": { - "value": "conversation_part.list", - "type": "string" - }, - "type": "literal" + "type": "literal" }, "conversation_parts": { "value": [ @@ -54061,100 +50766,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -54230,13 +50841,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492855, @@ -54258,13 +50862,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -54287,20 +50884,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -54351,77 +50934,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -54551,13 +51063,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -54611,35 +51116,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -54673,186 +51149,18 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" } }, "type": "object" }, - "statistics": { + "conversation_parts": { "properties": { "type": { "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", + "value": "conversation_part.list", "type": "string" }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "conversation_parts": { - "properties": { - "type": { - "value": { - "value": "conversation_part.list", - "type": "string" - }, - "type": "literal" + "type": "literal" }, "conversation_parts": { "value": [ @@ -55071,100 +51379,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -55240,13 +51454,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492849, @@ -55268,13 +51475,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -55297,20 +51497,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -55361,77 +51547,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -55561,13 +51676,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -55621,35 +51729,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -55683,174 +51762,6 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -56081,100 +51992,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -57089,13 +52906,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492862, @@ -57110,20 +52920,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -57146,20 +52942,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -57210,77 +52992,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -57410,13 +53121,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -57470,35 +53174,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -57517,193 +53192,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -57930,100 +53418,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -58106,13 +53500,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492864, @@ -58127,13 +53514,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "snoozed_until": { "value": { "value": 1719496464, @@ -58163,20 +53543,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -58227,77 +53593,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -58427,13 +53722,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -58487,35 +53775,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -58534,193 +53793,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -58940,100 +54012,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -59137,20 +54115,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -59173,20 +54137,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -59237,77 +54187,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -59437,13 +54316,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -59488,249 +54360,33 @@ }, "type": "primitive" } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "custom_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" + }, + "type": "object" + } + ], + "type": "array" } }, "type": "object" }, + "custom_attributes": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, "conversation_parts": { "properties": { "type": { @@ -59950,100 +54606,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -60126,13 +54688,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492874, @@ -60147,20 +54702,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -60190,13 +54731,6 @@ }, "type": "primitive" }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -60247,77 +54781,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -60447,13 +54910,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -60507,35 +54963,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -60554,193 +54981,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -60926,153 +55166,59 @@ "type": "int" }, "type": "primitive" - } - }, - "type": "object" - }, - "linked_objects": { - "properties": { - "type": { - "value": { - "value": "list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "has_more": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "data": { - "value": [ - { - "properties": { - "id": { - "value": { - "value": "7583", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "ai_agent_participated": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { + } + }, + "type": "object" + }, + "linked_objects": { + "properties": { + "type": { "value": { - "value": "assumed_resolution", + "value": "list", "type": "string" }, - "type": "primitive" + "type": "literal" }, - "rating": { + "total_count": { "value": { - "value": 4, + "value": 0, "type": "int" }, "type": "primitive" }, - "rating_remark": { + "has_more": { "value": { - "value": "Very helpful!", - "type": "string" + "value": false, + "type": "boolean" }, "type": "primitive" }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } + "data": { + "value": [ + { + "properties": { + "id": { + "value": { + "value": "7583", + "type": "string" }, - "type": "object" + "type": "primitive" } - ], - "type": "array" + }, + "type": "object" } - }, - "type": "object" + ], + "type": "array" } }, "type": "object" + }, + "ai_agent_participated": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" @@ -61155,13 +55301,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492862, @@ -61176,20 +55315,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -61212,20 +55337,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -61276,77 +55387,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -61476,13 +55516,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -61536,35 +55569,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -61583,193 +55587,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -61996,100 +55813,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -62592,13 +56315,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492880, @@ -62613,20 +56329,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -62649,20 +56351,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -62713,77 +56401,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -62913,13 +56530,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -62973,35 +56583,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -63020,193 +56601,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -63438,100 +56832,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -70336,13 +63636,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492938, @@ -70364,13 +63657,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -70393,20 +63679,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -70457,77 +63729,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -70634,317 +63835,113 @@ "value": { "value": 100, "type": "int" - }, - "type": "primitive" - }, - "width": { - "value": { - "value": 100, - "type": "int" - }, - "type": "primitive" - }, - "height": { - "value": { - "value": 100, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, - "redacted": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "contacts": { - "properties": { - "type": { - "value": { - "value": "contact.list", - "type": "string" - }, - "type": "literal" - }, - "contacts": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "667d614a8a68186f43bafe42", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "70", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "custom_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1719492939, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" + }, + "type": "primitive" + }, + "width": { + "value": { + "value": 100, + "type": "int" + }, + "type": "primitive" + }, + "height": { + "value": { + "value": 100, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" }, - "last_admin_reply_at": { + "redacted": { "value": { - "value": 1663597233, - "type": "int" + "value": false, + "type": "boolean" }, "type": "primitive" - }, - "last_close_at": { + } + }, + "type": "object" + }, + "contacts": { + "properties": { + "type": { "value": { - "value": 1663597233, - "type": "int" + "value": "contact.list", + "type": "string" }, - "type": "primitive" + "type": "literal" }, - "last_closed_by_id": { - "value": { - "value": "c3po", + "contacts": { + "value": [ + { + "properties": { + "type": { + "value": { + "value": "contact", + "type": "string" + }, + "type": "literal" + }, + "id": { + "value": { + "value": "667d614a8a68186f43bafe42", + "type": "string" + }, + "type": "primitive" + }, + "external_id": { + "value": { + "value": "70", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "custom_attributes": { + "value": [ + { + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - "count_reopens": { "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, + "first_contact_reply": { + "properties": { + "created_at": { "value": { - "value": 1, + "value": 1719492939, "type": "int" }, "type": "primitive" }, - "count_conversation_parts": { + "type": { "value": { - "value": 1, - "type": "int" + "value": "conversation", + "type": "string" }, "type": "primitive" } @@ -71177,100 +64174,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -71331,13 +64234,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492938, @@ -71359,13 +64255,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -71388,20 +64277,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -71452,77 +64327,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -71652,13 +64456,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -71712,35 +64509,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -71774,174 +64542,6 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -72172,100 +64772,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -83085,13 +75591,6 @@ ], "type": "array" }, - "cover_image_url": { - "value": { - "value": "https://example.com/cover.jpg", - "type": "string" - }, - "type": "primitive" - }, "reactions": { "value": [ { @@ -83535,13 +76034,6 @@ ], "type": "array" }, - "cover_image_url": { - "value": { - "value": "https://example.com/cover.jpg", - "type": "string" - }, - "type": "primitive" - }, "reactions": { "value": [ { @@ -84080,207 +76572,193 @@ ], "type": "array" }, - "cover_image_url": { - "value": { - "value": "https://example.com/cover.jpg", - "type": "string" - }, - "type": "primitive" - }, - "reactions": { - "value": [ - { - "value": { - "value": "😝", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "😂", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "deliver_silently": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1719492982, - "type": "int" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": 1719492982, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - }, - { - "name": "News Item Not Found", - "pathParameters": [ - { - "name": "id", - "value": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "title": { - "value": { - "value": "Christmas is here!", - "type": "string" - }, - "type": "primitive" - }, - "body": { - "value": { - "value": "

New gifts in store for the jolly season

", - "type": "string" - }, - "type": "primitive" - }, - "sender_id": { - "value": { - "value": 991267748, - "type": "int" - }, - "type": "primitive" - }, - "reactions": { - "value": [ - { - "value": { - "value": "😝", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "😂", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "id": { - "value": { - "value": "37", - "type": "string" - }, - "type": "primitive" - }, - "workspace_id": { - "value": { - "value": "this_is_an_id508_that_should_be_at_least_", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "Christmas is here!", - "type": "string" - }, - "type": "primitive" - }, - "body": { - "value": { - "value": "

New gifts in store for the jolly season

", - "type": "string" - }, - "type": "primitive" - }, - "sender_id": { - "value": { - "value": 991267745, - "type": "int" - }, - "type": "primitive" - }, - "state": { - "value": "live", - "type": "enum" - }, - "newsfeed_assignments": { - "value": [ - { - "properties": { - "newsfeed_id": { - "value": { - "value": 198313, - "type": "int" - }, - "type": "primitive" - }, - "published_at": { - "value": { - "value": 1674917488, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "labels": { - "value": [ - { - "value": { - "value": "Product Update", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "cover_image_url": { + "reactions": { + "value": [ + { + "value": { + "value": "😝", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "😂", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "deliver_silently": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": 1719492982, + "type": "int" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": 1719492982, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + }, + { + "name": "News Item Not Found", + "pathParameters": [ + { + "name": "id", + "value": { + "value": { + "value": 1, + "type": "int" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "title": { + "value": { + "value": "Christmas is here!", + "type": "string" + }, + "type": "primitive" + }, + "body": { + "value": { + "value": "

New gifts in store for the jolly season

", + "type": "string" + }, + "type": "primitive" + }, + "sender_id": { + "value": { + "value": 991267748, + "type": "int" + }, + "type": "primitive" + }, + "reactions": { + "value": [ + { + "value": { + "value": "😝", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "😂", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "id": { + "value": { + "value": "37", + "type": "string" + }, + "type": "primitive" + }, + "workspace_id": { + "value": { + "value": "this_is_an_id508_that_should_be_at_least_", + "type": "string" + }, + "type": "primitive" + }, + "title": { "value": { - "value": "https://example.com/cover.jpg", + "value": "Christmas is here!", "type": "string" }, "type": "primitive" }, + "body": { + "value": { + "value": "

New gifts in store for the jolly season

", + "type": "string" + }, + "type": "primitive" + }, + "sender_id": { + "value": { + "value": 991267745, + "type": "int" + }, + "type": "primitive" + }, + "state": { + "value": "live", + "type": "enum" + }, + "newsfeed_assignments": { + "value": [ + { + "properties": { + "newsfeed_id": { + "value": { + "value": 198313, + "type": "int" + }, + "type": "primitive" + }, + "published_at": { + "value": { + "value": 1674917488, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "labels": { + "value": [ + { + "value": { + "value": "Product Update", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, "reactions": { "value": [ { @@ -102681,27 +95159,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "555-555-5555", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "Jane Doe", - "type": "string" - }, - "type": "primitive" - }, - "pseudonym": { - "value": { - "value": "Red Duck from Dublin", - "type": "string" - }, - "type": "primitive" - }, "avatar": { "properties": { "type": { @@ -102710,13 +95167,6 @@ "type": "string" }, "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.com/avatar.png", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -103019,13 +95469,6 @@ }, "type": "object" }, - "owner_id": { - "value": { - "value": "5169261", - "type": "string" - }, - "type": "primitive" - }, "unsubscribed_from_emails": { "value": { "value": false, @@ -103124,55 +95567,6 @@ } ], "type": "map" - }, - "referrer": { - "value": { - "value": "https://www.google.com/", - "type": "string" - }, - "type": "primitive" - }, - "utm_campaign": { - "value": { - "value": "intercom-link", - "type": "string" - }, - "type": "primitive" - }, - "utm_content": { - "value": { - "value": "banner", - "type": "string" - }, - "type": "primitive" - }, - "utm_medium": { - "value": { - "value": "email", - "type": "string" - }, - "type": "primitive" - }, - "utm_source": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "utm_term": { - "value": { - "value": "messenger", - "type": "string" - }, - "type": "primitive" - }, - "do_not_track": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" } }, "type": "object" @@ -103601,13 +95995,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "555-555-5555", - "type": "string" - }, - "type": "primitive" - }, "name": { "value": { "value": "Gareth Bale", @@ -103939,13 +96326,6 @@ }, "type": "object" }, - "owner_id": { - "value": { - "value": "5169261", - "type": "string" - }, - "type": "primitive" - }, "unsubscribed_from_emails": { "value": { "value": false, @@ -104044,55 +96424,6 @@ } ], "type": "map" - }, - "referrer": { - "value": { - "value": "https://www.google.com/", - "type": "string" - }, - "type": "primitive" - }, - "utm_campaign": { - "value": { - "value": "intercom-link", - "type": "string" - }, - "type": "primitive" - }, - "utm_content": { - "value": { - "value": "banner", - "type": "string" - }, - "type": "primitive" - }, - "utm_medium": { - "value": { - "value": "email", - "type": "string" - }, - "type": "primitive" - }, - "utm_source": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "utm_term": { - "value": { - "value": "messenger", - "type": "string" - }, - "type": "primitive" - }, - "do_not_track": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" } }, "type": "object" @@ -104179,13 +96510,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "555-555-5555", - "type": "string" - }, - "type": "primitive" - }, "name": { "value": { "value": "Gareth Bale", @@ -104517,13 +96841,6 @@ }, "type": "object" }, - "owner_id": { - "value": { - "value": "5169261", - "type": "string" - }, - "type": "primitive" - }, "unsubscribed_from_emails": { "value": { "value": false, @@ -104622,55 +96939,6 @@ } ], "type": "map" - }, - "referrer": { - "value": { - "value": "https://www.google.com/", - "type": "string" - }, - "type": "primitive" - }, - "utm_campaign": { - "value": { - "value": "intercom-link", - "type": "string" - }, - "type": "primitive" - }, - "utm_content": { - "value": { - "value": "banner", - "type": "string" - }, - "type": "primitive" - }, - "utm_medium": { - "value": { - "value": "email", - "type": "string" - }, - "type": "primitive" - }, - "utm_source": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "utm_term": { - "value": { - "value": "messenger", - "type": "string" - }, - "type": "primitive" - }, - "do_not_track": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" } }, "type": "object" @@ -105045,13 +97313,6 @@ }, "type": "primitive" }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - }, "workspace_id": { "value": { "value": "this_is_an_id683_that_should_be_at_least_", @@ -105080,13 +97341,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -105094,20 +97348,6 @@ }, "type": "primitive" }, - "name": { - "value": { - "value": "John Doe", - "type": "string" - }, - "type": "primitive" - }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -105150,160 +97390,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -105325,25 +97411,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -105492,27 +97559,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" 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..14eae22c673 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 @@ -1488,22 +1488,6 @@ }, "type": "object" }, - "error": { - "properties": { - "code": { - "value": "account_holder_not_found", - "type": "enum" - }, - "message": { - "value": { - "value": "message", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "created_at": { "value": { "value": "2024-03-30T00:00:00", 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..4c43c812008 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 @@ -1493,25 +1493,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 20, @@ -18126,13 +18107,6 @@ }, "type": "primitive" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 79, @@ -18166,13 +18140,6 @@ }, "type": "primitive" }, - "description": { - "value": { - "value": "Default language description", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492720, @@ -18221,13 +18188,6 @@ "type": "string" }, "type": "primitive" - }, - "help_center_id": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -19610,13 +19570,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 81, @@ -20703,13 +20656,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 81, @@ -22076,13 +22022,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 84, @@ -23493,13 +23432,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 87, @@ -24590,13 +24522,6 @@ }, "type": "object" }, - "parent_id": { - "value": { - "value": "6871118", - "type": "string" - }, - "type": "primitive" - }, "help_center_id": { "value": { "value": 87, @@ -26046,25 +25971,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 15, @@ -29798,25 +29704,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 15, @@ -30522,65 +30409,6 @@ ], "type": "array" }, - "pages": { - "properties": { - "type": { - "value": { - "value": "pages", - "type": "string" - }, - "type": "literal" - }, - "page": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "total_pages": { - "value": { - "value": 13, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "total_count": { - "value": { - "value": 100, - "type": "int" - }, - "type": "primitive" - }, "scroll_param": { "value": { "value": "12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc", @@ -31144,13 +30972,6 @@ }, "type": "primitive" }, - "next": { - "value": { - "value": "next", - "type": "string" - }, - "type": "primitive" - }, "per_page": { "value": { "value": 50, @@ -33752,25 +33573,6 @@ }, "type": "primitive" }, - "next": { - "properties": { - "per_page": { - "value": { - "value": 2, - "type": "int" - }, - "type": "primitive" - }, - "starting_after": { - "value": { - "value": "your-cursor-from-response", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "per_page": { "value": { "value": 50, @@ -38952,13 +38754,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -38973,13 +38768,6 @@ }, "type": "primitive" }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -39022,160 +38810,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -39197,25 +38831,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -39364,27 +38979,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -39823,13 +39417,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -39844,13 +39431,6 @@ }, "type": "primitive" }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -39893,160 +39473,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -40068,25 +39494,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -40235,27 +39642,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -40905,13 +40291,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -40926,13 +40305,6 @@ }, "type": "primitive" }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -40975,160 +40347,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -41150,25 +40368,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -41317,27 +40516,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -43105,13 +42283,6 @@ }, "type": "primitive" }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - }, "workspace_id": { "value": { "value": "this_is_an_id272_that_should_be_at_least_", @@ -43140,13 +42311,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -43154,20 +42318,6 @@ }, "type": "primitive" }, - "name": { - "value": { - "value": "John Doe", - "type": "string" - }, - "type": "primitive" - }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -43203,167 +42353,6 @@ }, "type": "primitive" }, - "signed_up_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -43385,25 +42374,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -43552,27 +42522,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -46761,13 +45710,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492825, @@ -46782,20 +45724,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -46818,20 +45746,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -46882,77 +45796,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -47082,13 +45925,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -47142,35 +45978,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -47189,193 +45996,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -47503,100 +46123,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -48234,13 +46760,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492832, @@ -48255,20 +46774,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -48291,20 +46796,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -48355,77 +46846,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -48555,13 +46975,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -48615,35 +47028,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -48675,193 +47059,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -49227,100 +47424,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -49417,13 +47520,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492832, @@ -49438,20 +47534,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -49474,20 +47556,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -49538,77 +47606,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -49738,13 +47735,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -49798,35 +47788,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -49858,193 +47819,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -50410,100 +48184,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -50778,13 +48458,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492843, @@ -50799,20 +48472,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -50835,20 +48494,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -50899,32 +48544,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -51107,18 +48726,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -51137,182 +48744,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "total_count": { @@ -52213,13 +49644,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492849, @@ -52241,13 +49665,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -52270,20 +49687,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -52334,77 +49737,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -52534,13 +49866,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -52594,35 +49919,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -52656,174 +49952,6 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -53054,100 +50182,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -53220,13 +50254,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492852, @@ -53241,20 +50268,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -53277,20 +50290,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -53341,77 +50340,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -53541,13 +50469,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -53601,35 +50522,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -53648,201 +50540,14 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { + "conversation_parts": { "properties": { "type": { "value": { - "value": "conversation_statistics", + "value": "conversation_part.list", "type": "string" }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "conversation_parts": { - "properties": { - "type": { - "value": { - "value": "conversation_part.list", - "type": "string" - }, - "type": "literal" + "type": "literal" }, "conversation_parts": { "value": [ @@ -54061,100 +50766,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -54230,13 +50841,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492855, @@ -54258,13 +50862,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -54287,20 +50884,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -54351,77 +50934,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -54551,13 +51063,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -54611,35 +51116,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -54673,186 +51149,18 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" } }, "type": "object" }, - "statistics": { + "conversation_parts": { "properties": { "type": { "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", + "value": "conversation_part.list", "type": "string" }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "conversation_parts": { - "properties": { - "type": { - "value": { - "value": "conversation_part.list", - "type": "string" - }, - "type": "literal" + "type": "literal" }, "conversation_parts": { "value": [ @@ -55071,100 +51379,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -55240,13 +51454,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492849, @@ -55268,13 +51475,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -55297,20 +51497,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -55361,77 +51547,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -55561,13 +51676,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -55621,35 +51729,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -55683,174 +51762,6 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -56081,100 +51992,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -57089,13 +52906,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492862, @@ -57110,20 +52920,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -57146,20 +52942,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -57210,77 +52992,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -57410,13 +53121,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -57470,35 +53174,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -57517,193 +53192,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -57930,100 +53418,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -58106,13 +53500,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492864, @@ -58127,13 +53514,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "snoozed_until": { "value": { "value": 1719496464, @@ -58163,20 +53543,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -58227,77 +53593,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -58427,13 +53722,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -58487,35 +53775,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -58534,193 +53793,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -58940,100 +54012,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -59137,20 +54115,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -59173,20 +54137,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -59237,77 +54187,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -59437,13 +54316,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -59488,249 +54360,33 @@ }, "type": "primitive" } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "custom_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" + }, + "type": "object" + } + ], + "type": "array" } }, "type": "object" }, + "custom_attributes": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, "conversation_parts": { "properties": { "type": { @@ -59950,100 +54606,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -60126,13 +54688,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492874, @@ -60147,20 +54702,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -60190,13 +54731,6 @@ }, "type": "primitive" }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -60247,77 +54781,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -60447,13 +54910,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -60507,35 +54963,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -60554,193 +54981,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -60926,153 +55166,59 @@ "type": "int" }, "type": "primitive" - } - }, - "type": "object" - }, - "linked_objects": { - "properties": { - "type": { - "value": { - "value": "list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "has_more": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "data": { - "value": [ - { - "properties": { - "id": { - "value": { - "value": "7583", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "ai_agent_participated": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { + } + }, + "type": "object" + }, + "linked_objects": { + "properties": { + "type": { "value": { - "value": "assumed_resolution", + "value": "list", "type": "string" }, - "type": "primitive" + "type": "literal" }, - "rating": { + "total_count": { "value": { - "value": 4, + "value": 0, "type": "int" }, "type": "primitive" }, - "rating_remark": { + "has_more": { "value": { - "value": "Very helpful!", - "type": "string" + "value": false, + "type": "boolean" }, "type": "primitive" }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } + "data": { + "value": [ + { + "properties": { + "id": { + "value": { + "value": "7583", + "type": "string" }, - "type": "object" + "type": "primitive" } - ], - "type": "array" + }, + "type": "object" } - }, - "type": "object" + ], + "type": "array" } }, "type": "object" + }, + "ai_agent_participated": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" } }, "type": "object" @@ -61155,13 +55301,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492862, @@ -61176,20 +55315,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -61212,20 +55337,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -61276,77 +55387,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -61476,13 +55516,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -61536,35 +55569,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -61583,193 +55587,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -61996,100 +55813,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -62592,13 +56315,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492880, @@ -62613,20 +56329,6 @@ }, "type": "primitive" }, - "waiting_since": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": false, @@ -62649,20 +56351,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -62713,77 +56401,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -62913,13 +56530,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -62973,35 +56583,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -63020,193 +56601,6 @@ ], "type": "map" }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1663597223, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, "conversation_parts": { "properties": { "type": { @@ -63438,100 +56832,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -70336,13 +63636,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492938, @@ -70364,13 +63657,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -70393,20 +63679,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -70457,77 +63729,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -70634,317 +63835,113 @@ "value": { "value": 100, "type": "int" - }, - "type": "primitive" - }, - "width": { - "value": { - "value": 100, - "type": "int" - }, - "type": "primitive" - }, - "height": { - "value": { - "value": 100, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, - "redacted": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "contacts": { - "properties": { - "type": { - "value": { - "value": "contact.list", - "type": "string" - }, - "type": "literal" - }, - "contacts": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "667d614a8a68186f43bafe42", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "70", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "custom_attributes": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - } - } - ], - "type": "map" - }, - "first_contact_reply": { - "properties": { - "created_at": { - "value": { - "value": 1719492939, - "type": "int" - }, - "type": "primitive" - }, - "type": { - "value": { - "value": "conversation", - "type": "string" - }, - "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" + }, + "type": "primitive" + }, + "width": { + "value": { + "value": 100, + "type": "int" + }, + "type": "primitive" + }, + "height": { + "value": { + "value": 100, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" }, - "last_admin_reply_at": { + "redacted": { "value": { - "value": 1663597233, - "type": "int" + "value": false, + "type": "boolean" }, "type": "primitive" - }, - "last_close_at": { + } + }, + "type": "object" + }, + "contacts": { + "properties": { + "type": { "value": { - "value": 1663597233, - "type": "int" + "value": "contact.list", + "type": "string" }, - "type": "primitive" + "type": "literal" }, - "last_closed_by_id": { - "value": { - "value": "c3po", + "contacts": { + "value": [ + { + "properties": { + "type": { + "value": { + "value": "contact", + "type": "string" + }, + "type": "literal" + }, + "id": { + "value": { + "value": "667d614a8a68186f43bafe42", + "type": "string" + }, + "type": "primitive" + }, + "external_id": { + "value": { + "value": "70", + "type": "string" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "custom_attributes": { + "value": [ + { + "key": { + "value": "key", "type": "string" }, - "type": "primitive" - }, - "count_reopens": { "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" + }, + "first_contact_reply": { + "properties": { + "created_at": { "value": { - "value": 1, + "value": 1719492939, "type": "int" }, "type": "primitive" }, - "count_conversation_parts": { + "type": { "value": { - "value": 1, - "type": "int" + "value": "conversation", + "type": "string" }, "type": "primitive" } @@ -71177,100 +64174,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -71331,13 +64234,6 @@ }, "type": "primitive" }, - "title": { - "value": { - "value": "Conversation Title", - "type": "string" - }, - "type": "primitive" - }, "created_at": { "value": { "value": 1719492938, @@ -71359,13 +64255,6 @@ }, "type": "primitive" }, - "snoozed_until": { - "value": { - "value": 1663597260, - "type": "int" - }, - "type": "primitive" - }, "open": { "value": { "value": true, @@ -71388,20 +64277,6 @@ "value": "not_priority", "type": "enum" }, - "admin_assignee_id": { - "value": { - "value": 0, - "type": "int" - }, - "type": "primitive" - }, - "team_assignee_id": { - "value": { - "value": "5017691", - "type": "string" - }, - "type": "primitive" - }, "tags": { "properties": { "type": { @@ -71452,77 +64327,6 @@ }, "type": "object" }, - "conversation_rating": { - "properties": { - "rating": { - "value": { - "value": 5, - "type": "int" - }, - "type": "primitive" - }, - "remark": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1671028894, - "type": "int" - }, - "type": "primitive" - }, - "contact": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "literal" - }, - "id": { - "value": { - "value": "5ba682d23d7cf92bef87bfd4", - "type": "string" - }, - "type": "primitive" - }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "teammate": { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - }, - "id": { - "value": { - "value": "1a2b3c", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - }, - "type": "object" - }, "source": { "properties": { "type": { @@ -71652,13 +64456,6 @@ ], "type": "array" }, - "url": { - "value": { - "value": "url", - "type": "string" - }, - "type": "primitive" - }, "redacted": { "value": { "value": false, @@ -71712,35 +64509,6 @@ }, "type": "object" }, - "teammates": { - "properties": { - "type": { - "value": { - "value": "admin.list", - "type": "string" - }, - "type": "primitive" - }, - "teammates": { - "value": [ - { - "properties": { - "type": { - "value": { - "value": "contact", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - }, "custom_attributes": { "value": [ { @@ -71774,174 +64542,6 @@ "type": "string" }, "type": "primitive" - }, - "url": { - "value": { - "value": "https://developers.intercom.com/", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "sla_applied": { - "properties": { - "type": { - "value": { - "value": "conversation_sla_summary", - "type": "string" - }, - "type": "primitive" - }, - "sla_name": { - "value": { - "value": "", - "type": "string" - }, - "type": "primitive" - }, - "sla_status": { - "value": "hit", - "type": "enum" - } - }, - "type": "object" - }, - "statistics": { - "properties": { - "type": { - "value": { - "value": "conversation_statistics", - "type": "string" - }, - "type": "primitive" - }, - "time_to_assignment": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_admin_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_first_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "time_to_last_close": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "median_time_to_reply": { - "value": { - "value": 2310, - "type": "int" - }, - "type": "primitive" - }, - "first_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "first_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_assignment_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_contact_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_admin_reply_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_close_at": { - "value": { - "value": 1663597233, - "type": "int" - }, - "type": "primitive" - }, - "last_closed_by_id": { - "value": { - "value": "c3po", - "type": "string" - }, - "type": "primitive" - }, - "count_reopens": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_assignments": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "count_conversation_parts": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" } }, "type": "object" @@ -72172,100 +64772,6 @@ "type": "boolean" }, "type": "primitive" - }, - "ai_agent": { - "properties": { - "source_type": { - "value": "essentials_plan_setup", - "type": "enum" - }, - "source_title": { - "value": { - "value": "My AI Workflow", - "type": "string" - }, - "type": "primitive" - }, - "last_answer_type": { - "value": { - "value": "ai_answer", - "type": "string" - }, - "type": "primitive" - }, - "resolution_state": { - "value": { - "value": "assumed_resolution", - "type": "string" - }, - "type": "primitive" - }, - "rating": { - "value": { - "value": 4, - "type": "int" - }, - "type": "primitive" - }, - "rating_remark": { - "value": { - "value": "Very helpful!", - "type": "string" - }, - "type": "primitive" - }, - "content_sources": { - "properties": { - "type": { - "value": { - "value": "content_source.list", - "type": "string" - }, - "type": "literal" - }, - "total_count": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - }, - "content_sources": { - "value": [ - { - "properties": { - "url": { - "value": { - "value": "/fin-ai-agent/content?content=content_snippet&id=3234924", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "My internal content snippet", - "type": "string" - }, - "type": "primitive" - }, - "locale": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - } - }, - "type": "object" - } - }, - "type": "object" } }, "type": "object" @@ -83085,13 +75591,6 @@ ], "type": "array" }, - "cover_image_url": { - "value": { - "value": "https://example.com/cover.jpg", - "type": "string" - }, - "type": "primitive" - }, "reactions": { "value": [ { @@ -83535,13 +76034,6 @@ ], "type": "array" }, - "cover_image_url": { - "value": { - "value": "https://example.com/cover.jpg", - "type": "string" - }, - "type": "primitive" - }, "reactions": { "value": [ { @@ -84080,207 +76572,193 @@ ], "type": "array" }, - "cover_image_url": { - "value": { - "value": "https://example.com/cover.jpg", - "type": "string" - }, - "type": "primitive" - }, - "reactions": { - "value": [ - { - "value": { - "value": "😝", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "😂", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "deliver_silently": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" - }, - "created_at": { - "value": { - "value": 1719492982, - "type": "int" - }, - "type": "primitive" - }, - "updated_at": { - "value": { - "value": 1719492982, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - }, - "type": "withoutStreaming" - }, - "codeSamples": [], - "type": "full" - }, - { - "name": "News Item Not Found", - "pathParameters": [ - { - "name": "id", - "value": { - "value": { - "value": 1, - "type": "int" - }, - "type": "primitive" - } - } - ], - "queryParameters": [], - "headers": [], - "request": { - "properties": { - "title": { - "value": { - "value": "Christmas is here!", - "type": "string" - }, - "type": "primitive" - }, - "body": { - "value": { - "value": "

New gifts in store for the jolly season

", - "type": "string" - }, - "type": "primitive" - }, - "sender_id": { - "value": { - "value": 991267748, - "type": "int" - }, - "type": "primitive" - }, - "reactions": { - "value": [ - { - "value": { - "value": "😝", - "type": "string" - }, - "type": "primitive" - }, - { - "value": { - "value": "😂", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - } - }, - "type": "object" - }, - "response": { - "value": { - "properties": { - "id": { - "value": { - "value": "37", - "type": "string" - }, - "type": "primitive" - }, - "workspace_id": { - "value": { - "value": "this_is_an_id508_that_should_be_at_least_", - "type": "string" - }, - "type": "primitive" - }, - "title": { - "value": { - "value": "Christmas is here!", - "type": "string" - }, - "type": "primitive" - }, - "body": { - "value": { - "value": "

New gifts in store for the jolly season

", - "type": "string" - }, - "type": "primitive" - }, - "sender_id": { - "value": { - "value": 991267745, - "type": "int" - }, - "type": "primitive" - }, - "state": { - "value": "live", - "type": "enum" - }, - "newsfeed_assignments": { - "value": [ - { - "properties": { - "newsfeed_id": { - "value": { - "value": 198313, - "type": "int" - }, - "type": "primitive" - }, - "published_at": { - "value": { - "value": 1674917488, - "type": "int" - }, - "type": "primitive" - } - }, - "type": "object" - } - ], - "type": "array" - }, - "labels": { - "value": [ - { - "value": { - "value": "Product Update", - "type": "string" - }, - "type": "primitive" - } - ], - "type": "array" - }, - "cover_image_url": { + "reactions": { + "value": [ + { + "value": { + "value": "😝", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "😂", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, + "deliver_silently": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "created_at": { + "value": { + "value": 1719492982, + "type": "int" + }, + "type": "primitive" + }, + "updated_at": { + "value": { + "value": 1719492982, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + }, + "type": "withoutStreaming" + }, + "codeSamples": [], + "type": "full" + }, + { + "name": "News Item Not Found", + "pathParameters": [ + { + "name": "id", + "value": { + "value": { + "value": 1, + "type": "int" + }, + "type": "primitive" + } + } + ], + "queryParameters": [], + "headers": [], + "request": { + "properties": { + "title": { + "value": { + "value": "Christmas is here!", + "type": "string" + }, + "type": "primitive" + }, + "body": { + "value": { + "value": "

New gifts in store for the jolly season

", + "type": "string" + }, + "type": "primitive" + }, + "sender_id": { + "value": { + "value": 991267748, + "type": "int" + }, + "type": "primitive" + }, + "reactions": { + "value": [ + { + "value": { + "value": "😝", + "type": "string" + }, + "type": "primitive" + }, + { + "value": { + "value": "😂", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + } + }, + "type": "object" + }, + "response": { + "value": { + "properties": { + "id": { + "value": { + "value": "37", + "type": "string" + }, + "type": "primitive" + }, + "workspace_id": { + "value": { + "value": "this_is_an_id508_that_should_be_at_least_", + "type": "string" + }, + "type": "primitive" + }, + "title": { "value": { - "value": "https://example.com/cover.jpg", + "value": "Christmas is here!", "type": "string" }, "type": "primitive" }, + "body": { + "value": { + "value": "

New gifts in store for the jolly season

", + "type": "string" + }, + "type": "primitive" + }, + "sender_id": { + "value": { + "value": 991267745, + "type": "int" + }, + "type": "primitive" + }, + "state": { + "value": "live", + "type": "enum" + }, + "newsfeed_assignments": { + "value": [ + { + "properties": { + "newsfeed_id": { + "value": { + "value": 198313, + "type": "int" + }, + "type": "primitive" + }, + "published_at": { + "value": { + "value": 1674917488, + "type": "int" + }, + "type": "primitive" + } + }, + "type": "object" + } + ], + "type": "array" + }, + "labels": { + "value": [ + { + "value": { + "value": "Product Update", + "type": "string" + }, + "type": "primitive" + } + ], + "type": "array" + }, "reactions": { "value": [ { @@ -102681,27 +95159,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "555-555-5555", - "type": "string" - }, - "type": "primitive" - }, - "name": { - "value": { - "value": "Jane Doe", - "type": "string" - }, - "type": "primitive" - }, - "pseudonym": { - "value": { - "value": "Red Duck from Dublin", - "type": "string" - }, - "type": "primitive" - }, "avatar": { "properties": { "type": { @@ -102710,13 +95167,6 @@ "type": "string" }, "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.com/avatar.png", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -103019,13 +95469,6 @@ }, "type": "object" }, - "owner_id": { - "value": { - "value": "5169261", - "type": "string" - }, - "type": "primitive" - }, "unsubscribed_from_emails": { "value": { "value": false, @@ -103124,55 +95567,6 @@ } ], "type": "map" - }, - "referrer": { - "value": { - "value": "https://www.google.com/", - "type": "string" - }, - "type": "primitive" - }, - "utm_campaign": { - "value": { - "value": "intercom-link", - "type": "string" - }, - "type": "primitive" - }, - "utm_content": { - "value": { - "value": "banner", - "type": "string" - }, - "type": "primitive" - }, - "utm_medium": { - "value": { - "value": "email", - "type": "string" - }, - "type": "primitive" - }, - "utm_source": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "utm_term": { - "value": { - "value": "messenger", - "type": "string" - }, - "type": "primitive" - }, - "do_not_track": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" } }, "type": "object" @@ -103601,13 +95995,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "555-555-5555", - "type": "string" - }, - "type": "primitive" - }, "name": { "value": { "value": "Gareth Bale", @@ -103939,13 +96326,6 @@ }, "type": "object" }, - "owner_id": { - "value": { - "value": "5169261", - "type": "string" - }, - "type": "primitive" - }, "unsubscribed_from_emails": { "value": { "value": false, @@ -104044,55 +96424,6 @@ } ], "type": "map" - }, - "referrer": { - "value": { - "value": "https://www.google.com/", - "type": "string" - }, - "type": "primitive" - }, - "utm_campaign": { - "value": { - "value": "intercom-link", - "type": "string" - }, - "type": "primitive" - }, - "utm_content": { - "value": { - "value": "banner", - "type": "string" - }, - "type": "primitive" - }, - "utm_medium": { - "value": { - "value": "email", - "type": "string" - }, - "type": "primitive" - }, - "utm_source": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "utm_term": { - "value": { - "value": "messenger", - "type": "string" - }, - "type": "primitive" - }, - "do_not_track": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" } }, "type": "object" @@ -104179,13 +96510,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "555-555-5555", - "type": "string" - }, - "type": "primitive" - }, "name": { "value": { "value": "Gareth Bale", @@ -104517,13 +96841,6 @@ }, "type": "object" }, - "owner_id": { - "value": { - "value": "5169261", - "type": "string" - }, - "type": "primitive" - }, "unsubscribed_from_emails": { "value": { "value": false, @@ -104622,55 +96939,6 @@ } ], "type": "map" - }, - "referrer": { - "value": { - "value": "https://www.google.com/", - "type": "string" - }, - "type": "primitive" - }, - "utm_campaign": { - "value": { - "value": "intercom-link", - "type": "string" - }, - "type": "primitive" - }, - "utm_content": { - "value": { - "value": "banner", - "type": "string" - }, - "type": "primitive" - }, - "utm_medium": { - "value": { - "value": "email", - "type": "string" - }, - "type": "primitive" - }, - "utm_source": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "utm_term": { - "value": { - "value": "messenger", - "type": "string" - }, - "type": "primitive" - }, - "do_not_track": { - "value": { - "value": false, - "type": "boolean" - }, - "type": "primitive" } }, "type": "object" @@ -105045,13 +97313,6 @@ }, "type": "primitive" }, - "external_id": { - "value": { - "value": "f3b87a2e09d514c6c2e79b9a", - "type": "string" - }, - "type": "primitive" - }, "workspace_id": { "value": { "value": "this_is_an_id683_that_should_be_at_least_", @@ -105080,13 +97341,6 @@ }, "type": "primitive" }, - "phone": { - "value": { - "value": "+1123456789", - "type": "string" - }, - "type": "primitive" - }, "formatted_phone": { "value": { "value": "+1123456789", @@ -105094,20 +97348,6 @@ }, "type": "primitive" }, - "name": { - "value": { - "value": "John Doe", - "type": "string" - }, - "type": "primitive" - }, - "owner_id": { - "value": { - "value": 123, - "type": "int" - }, - "type": "primitive" - }, "has_hard_bounced": { "value": { "value": false, @@ -105150,160 +97390,6 @@ }, "type": "primitive" }, - "last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_replied_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_contacted_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_opened_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "last_email_clicked_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "language_override": { - "value": { - "value": "en", - "type": "string" - }, - "type": "primitive" - }, - "browser": { - "value": { - "value": "Chrome", - "type": "string" - }, - "type": "primitive" - }, - "browser_version": { - "value": { - "value": "80.0.3987.132", - "type": "string" - }, - "type": "primitive" - }, - "browser_language": { - "value": { - "value": "en-US", - "type": "string" - }, - "type": "primitive" - }, - "os": { - "value": { - "value": "Mac OS X", - "type": "string" - }, - "type": "primitive" - }, - "android_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "android_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "android_device": { - "value": { - "value": "Pixel 3", - "type": "string" - }, - "type": "primitive" - }, - "android_os_version": { - "value": { - "value": "10", - "type": "string" - }, - "type": "primitive" - }, - "android_sdk_version": { - "value": { - "value": "28", - "type": "string" - }, - "type": "primitive" - }, - "android_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, - "ios_app_name": { - "value": { - "value": "Intercom", - "type": "string" - }, - "type": "primitive" - }, - "ios_app_version": { - "value": { - "value": "5.0.0", - "type": "string" - }, - "type": "primitive" - }, - "ios_device": { - "value": { - "value": "iPhone 11", - "type": "string" - }, - "type": "primitive" - }, - "ios_os_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_sdk_version": { - "value": { - "value": "13.3.1", - "type": "string" - }, - "type": "primitive" - }, - "ios_last_seen_at": { - "value": { - "value": 1571672154, - "type": "int" - }, - "type": "primitive" - }, "custom_attributes": { "value": [ { @@ -105325,25 +97411,6 @@ ], "type": "map" }, - "avatar": { - "properties": { - "type": { - "value": { - "value": "avatar", - "type": "string" - }, - "type": "primitive" - }, - "image_url": { - "value": { - "value": "https://example.org/128Wash.jpg", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "tags": { "properties": { "data": { @@ -105492,27 +97559,6 @@ "type": "string" }, "type": "primitive" - }, - "country": { - "value": { - "value": "Ireland", - "type": "string" - }, - "type": "primitive" - }, - "region": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" - }, - "city": { - "value": { - "value": "Dublin", - "type": "string" - }, - "type": "primitive" } }, "type": "object" 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..fdbe19513d1 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 @@ -7394,13 +7394,6 @@ }, "type": "primitive" }, - "datetime_stored": { - "value": { - "value": "2024-01-15T09:30:00Z", - "type": "datetime" - }, - "type": "primitive" - }, "files_count": { "value": { "value": 1, @@ -8308,13 +8301,6 @@ }, "type": "primitive" }, - "datetime_stored": { - "value": { - "value": "2024-01-15T09:30:00Z", - "type": "datetime" - }, - "type": "primitive" - }, "files_count": { "value": { "value": 1, 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..1e4f165c4ee 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 @@ -4562,13 +4562,6 @@ "type": "double" }, "type": "primitive" - }, - "lastInsertRowid": { - "value": { - "value": "lastInsertRowid", - "type": "string" - }, - "type": "primitive" } }, "type": "object" 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..e6ea03c7a64 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 @@ -2189,13 +2189,6 @@ }, "type": "primitive" }, - "parentFolderId": { - "value": { - "value": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", - "type": "string" - }, - "type": "primitive" - }, "customDomains": { "value": [ { @@ -2406,13 +2399,6 @@ }, "type": "primitive" }, - "parentFolderId": { - "value": { - "value": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", - "type": "string" - }, - "type": "primitive" - }, "customDomains": { "value": [ { @@ -5797,41 +5783,6 @@ "type": "string" }, "type": "primitive" - }, - "newValue": { - "value": { - "value": "newValue", - "type": "string" - }, - "type": "primitive" - }, - "previousValue": { - "value": { - "value": "previousValue", - "type": "string" - }, - "type": "primitive" - }, - "payload": { - "value": [ - { - "key": { - "value": "key", - "type": "string" - }, - "value": { - "value": { - "value": { - "value": "value", - "type": "string" - }, - "type": "primitive" - }, - "type": "unknown" - } - } - ], - "type": "map" } }, "type": "object" @@ -7245,13 +7196,6 @@ "type": "string" }, "type": "primitive" - }, - "helpText": { - "value": { - "value": "helpText", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -7958,13 +7902,6 @@ "type": "string" }, "type": "primitive" - }, - "helpText": { - "value": { - "value": "helpText", - "type": "string" - }, - "type": "primitive" } }, "type": "object" @@ -19425,20 +19362,6 @@ }, "type": "primitive" }, - "parentId": { - "value": { - "value": "6419db964a9c435aa3af6251", - "type": "string" - }, - "type": "primitive" - }, - "collectionId": { - "value": { - "value": "6390c49774a71f12831a08e3", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2024-03-11T10:42:00.000Z", @@ -19580,20 +19503,6 @@ }, "type": "primitive" }, - "parentId": { - "value": { - "value": "6419db964a9c435aa3af6251", - "type": "string" - }, - "type": "primitive" - }, - "collectionId": { - "value": { - "value": "6390c49774a71f12831a08e3", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2024-05-25T09:00:00.000Z", @@ -20562,20 +20471,6 @@ }, "type": "primitive" }, - "parentId": { - "value": { - "value": "6419db964a9c435aa3af6251", - "type": "string" - }, - "type": "primitive" - }, - "collectionId": { - "value": { - "value": "6390c49774a71f12831a08e3", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2024-03-11T10:42:00.000Z", @@ -22096,20 +21991,6 @@ }, "type": "primitive" }, - "parentId": { - "value": { - "value": "6419db964a9c435aa3af6251", - "type": "string" - }, - "type": "primitive" - }, - "collectionId": { - "value": { - "value": "6390c49774a71f12831a08e3", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2024-03-11T10:42:00.000Z", @@ -27388,13 +27269,6 @@ }, "type": "primitive" }, - "integrityHash": { - "value": { - "value": "integrityHash", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2022-10-26T00:28:54.191Z", @@ -27449,13 +27323,6 @@ }, "type": "primitive" }, - "integrityHash": { - "value": { - "value": "integrityHash", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2022-10-26T00:28:54.191Z", @@ -28794,13 +28661,6 @@ }, "type": "primitive" }, - "integrityHash": { - "value": { - "value": "integrityHash", - "type": "string" - }, - "type": "primitive" - }, "createdOn": { "value": { "value": "2022-10-26T00:28:54.191Z", @@ -29520,13 +29380,6 @@ }, "type": "primitive" }, - "pageId": { - "value": { - "value": "pageId", - "type": "string" - }, - "type": "primitive" - }, "type": { "value": "site", "type": "enum" @@ -30572,13 +30425,6 @@ }, "type": "primitive" }, - "height": { - "value": { - "value": 900, - "type": "int" - }, - "type": "primitive" - }, "quality": { "value": { "value": 100, @@ -34041,13 +33887,6 @@ }, "type": "primitive" }, - "parentFolder": { - "value": { - "value": "6390c49774a71f99f21a08eb", - "type": "string" - }, - "type": "primitive" - }, "assets": { "value": [ { @@ -36949,18 +36788,6 @@ }, "type": "primitive" }, - "filter": { - "properties": { - "name": { - "value": { - "value": "My Form", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "lastTriggered": { "value": { "value": "2023-02-08T23:59:28.572Z", @@ -37555,18 +37382,6 @@ }, "type": "primitive" }, - "filter": { - "properties": { - "name": { - "value": { - "value": "My Form", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "lastTriggered": { "value": { "value": "2023-02-08T23:59:28.572Z", @@ -39919,13 +39734,6 @@ "value": "Plain", "type": "enum" }, - "placeholder": { - "value": { - "value": "Enter your email", - "type": "string" - }, - "type": "primitive" - }, "userVisible": { "value": { "value": true, @@ -39992,13 +39800,6 @@ }, "type": "primitive" }, - "redirectAction": { - "value": { - "value": "POST https://example.com", - "type": "string" - }, - "type": "primitive" - }, "sendEmailConfirmation": { "value": { "value": true, @@ -69583,38 +69384,6 @@ }, "type": "primitive" }, - "fulfilledOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, - "refundedOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, - "disputedOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, - "disputeUpdatedOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, - "disputeLastStatus": { - "value": "warning_needs_response", - "type": "enum" - }, "customerPaid": { "properties": { "unit": { @@ -70360,53 +70129,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { @@ -70600,13 +70322,6 @@ }, "type": "primitive" }, - "fulfilledOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, "refundedOn": { "value": { "value": "2024-04-08T18:25:04.238Z", @@ -70614,24 +70329,6 @@ }, "type": "primitive" }, - "disputedOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, - "disputeUpdatedOn": { - "value": { - "value": "2018-12-03T22:06:15.761Z", - "type": "datetime" - }, - "type": "primitive" - }, - "disputeLastStatus": { - "value": "warning_needs_response", - "type": "enum" - }, "customerPaid": { "properties": { "unit": { @@ -71394,53 +71091,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { @@ -76731,13 +76381,6 @@ }, "stripeDetails": { "properties": { - "subscriptionId": { - "value": { - "value": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", - "type": "string" - }, - "type": "primitive" - }, "paymentMethod": { "value": { "value": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", @@ -76766,13 +76409,6 @@ }, "type": "primitive" }, - "disputeId": { - "value": { - "value": "disputeId", - "type": "string" - }, - "type": "primitive" - }, "refundId": { "value": { "value": "re_3OzmzDJYFi4lcbXW1kFAmlBk", @@ -76832,53 +76468,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { @@ -82250,13 +81839,6 @@ }, "stripeDetails": { "properties": { - "subscriptionId": { - "value": { - "value": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", - "type": "string" - }, - "type": "primitive" - }, "paymentMethod": { "value": { "value": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", @@ -82285,13 +81867,6 @@ }, "type": "primitive" }, - "disputeId": { - "value": { - "value": "disputeId", - "type": "string" - }, - "type": "primitive" - }, "refundId": { "value": { "value": "re_3OzmzDJYFi4lcbXW1kFAmlBk", @@ -82351,53 +81926,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { @@ -87706,13 +87234,6 @@ }, "stripeDetails": { "properties": { - "subscriptionId": { - "value": { - "value": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", - "type": "string" - }, - "type": "primitive" - }, "paymentMethod": { "value": { "value": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", @@ -87741,13 +87262,6 @@ }, "type": "primitive" }, - "disputeId": { - "value": { - "value": "disputeId", - "type": "string" - }, - "type": "primitive" - }, "refundId": { "value": { "value": "re_3OzmzDJYFi4lcbXW1kFAmlBk", @@ -87807,53 +87321,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { @@ -93112,13 +92579,6 @@ }, "stripeDetails": { "properties": { - "subscriptionId": { - "value": { - "value": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", - "type": "string" - }, - "type": "primitive" - }, "paymentMethod": { "value": { "value": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", @@ -93147,13 +92607,6 @@ }, "type": "primitive" }, - "disputeId": { - "value": { - "value": "disputeId", - "type": "string" - }, - "type": "primitive" - }, "refundId": { "value": { "value": "re_3OzmzDJYFi4lcbXW1kFAmlBk", @@ -93213,53 +92666,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { @@ -98585,13 +97991,6 @@ }, "stripeDetails": { "properties": { - "subscriptionId": { - "value": { - "value": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", - "type": "string" - }, - "type": "primitive" - }, "paymentMethod": { "value": { "value": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", @@ -98620,13 +98019,6 @@ }, "type": "primitive" }, - "disputeId": { - "value": { - "value": "disputeId", - "type": "string" - }, - "type": "primitive" - }, "refundId": { "value": { "value": "re_3OzmzDJYFi4lcbXW1kFAmlBk", @@ -98686,53 +98078,6 @@ }, "type": "object" }, - "paypalDetails": { - "properties": { - "orderId": { - "value": { - "value": "1a2b3c4d5e6f7g8h9i0j", - "type": "string" - }, - "type": "primitive" - }, - "payerId": { - "value": { - "value": "9k8j7i6h5g4f3e2d1c0b", - "type": "string" - }, - "type": "primitive" - }, - "captureId": { - "value": { - "value": "qwe123rty456uio789p", - "type": "string" - }, - "type": "primitive" - }, - "refundId": { - "value": { - "value": "abcde12345fghij67890", - "type": "string" - }, - "type": "primitive" - }, - "refundReason": { - "value": { - "value": "Customer requested refund", - "type": "string" - }, - "type": "primitive" - }, - "disputeId": { - "value": { - "value": "zxcvbnm987poiuytrewq", - "type": "string" - }, - "type": "primitive" - } - }, - "type": "object" - }, "customData": { "value": [ { 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 0c12db90011..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.", @@ -2180,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", @@ -2187,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.", @@ -2293,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.", @@ -2320,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", @@ -2327,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.", @@ -2357,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`.", @@ -2453,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.", @@ -2475,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.", @@ -2594,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.", @@ -2631,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.", @@ -2691,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`.", @@ -2776,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`.", @@ -2807,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.", @@ -2926,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.", @@ -2952,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 a2ba8aa0d7c..931c7890e17 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,6 +124,7 @@ "ActionMenuModulesResult": "map", "AdminConfig": { "docs": undefined, + "inline": undefined, "properties": { "config": { "docs": "Configuration settings", @@ -134,6 +137,7 @@ }, "AdminConfigConfig": { "docs": "Configuration settings", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -141,6 +145,7 @@ }, "AdminModules": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "List of admin modules", @@ -155,6 +160,7 @@ "AdminShutdown": "map", "AdminStatus": { "docs": undefined, + "inline": undefined, "properties": { "conductor": { "docs": "Conductor statistics", @@ -179,6 +185,7 @@ }, "AdminStatusConductor": { "docs": "Conductor statistics", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -186,6 +193,7 @@ }, "AdminStatusLiveliness": { "docs": undefined, + "inline": undefined, "properties": { "alive": { "docs": "Liveliness status", @@ -198,6 +206,7 @@ }, "AdminStatusReadiness": { "docs": undefined, + "inline": undefined, "properties": { "ready": { "docs": "Readiness status", @@ -210,6 +219,7 @@ }, "AdminStatusTiming": { "docs": "Timing results", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -217,6 +227,7 @@ }, "AttachDecorator": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Attachment identifier", @@ -258,6 +269,7 @@ }, "AttachDecoratorData": { "docs": undefined, + "inline": undefined, "properties": { "base64": { "docs": "Base64-encoded data", @@ -297,6 +309,7 @@ }, "AttachDecoratorData1Jws": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "AttachDecoratorDataJWSHeader", @@ -328,6 +341,7 @@ }, "AttachDecoratorDataJWS": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "optional", @@ -363,6 +377,7 @@ }, "AttachDecoratorDataJWSHeader": { "docs": undefined, + "inline": undefined, "properties": { "kid": { "docs": "Key identifier, in W3C did:key or DID URL format", @@ -385,6 +400,7 @@ }, "AttachmentDef": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Attachment identifier", @@ -417,6 +433,7 @@ }, "AttributeMimeTypesResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>>", @@ -429,6 +446,7 @@ "BasicMessageModuleResponse": "map", "ClaimFormat": { "docs": undefined, + "inline": undefined, "properties": { "jwt": { "type": "optional", @@ -455,6 +473,7 @@ }, "ClaimFormatJwtVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -462,6 +481,7 @@ }, "ClaimFormatJwtVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -469,6 +489,7 @@ }, "ClaimFormatLdpVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -476,6 +497,7 @@ }, "ClaimFormatLdpVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -483,6 +505,7 @@ }, "ConnRecord": { "docs": undefined, + "inline": undefined, "properties": { "accept": { "docs": "Connection acceptance: manual or auto", @@ -662,6 +685,7 @@ }, "ConnectionInvitation": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -708,6 +732,7 @@ }, "ConnectionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of connection records", @@ -720,6 +745,7 @@ }, "ConnectionMetadata": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Dictionary of metadata associated with connection.", @@ -732,6 +758,7 @@ }, "ConnectionMetadataResults": { "docs": "Dictionary of metadata associated with connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -740,6 +767,7 @@ "ConnectionModuleResponse": "map", "ConnectionStaticResult": { "docs": undefined, + "inline": undefined, "properties": { "my_did": { "docs": "Local DID", @@ -801,6 +829,7 @@ }, "Constraints": { "docs": undefined, + "inline": undefined, "properties": { "fields": { "type": "optional>", @@ -872,6 +901,7 @@ }, "CreateWalletResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -930,6 +960,7 @@ }, "CreateWalletResponseSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -937,6 +968,7 @@ }, "CreateWalletTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "Authorization token to authenticate wallet requests", @@ -949,6 +981,7 @@ }, "CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -969,6 +1002,7 @@ }, "CredDefValue": { "docs": undefined, + "inline": undefined, "properties": { "primary": { "type": "optional", @@ -983,6 +1017,7 @@ }, "CredDefValuePrimary": { "docs": undefined, + "inline": undefined, "properties": { "n": { "type": "optional", @@ -1030,6 +1065,7 @@ }, "CredDefValueRevocation": { "docs": undefined, + "inline": undefined, "properties": { "g": { "type": "optional", @@ -1071,6 +1107,7 @@ }, "CredInfoList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1082,6 +1119,7 @@ }, "CredRevIndyRecordsResult": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_delta": { "docs": "Indy revocation registry delta", @@ -1094,6 +1132,7 @@ }, "CredRevIndyRecordsResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1101,6 +1140,7 @@ }, "CredRevRecordDetailsResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1112,6 +1152,7 @@ }, "CredRevRecordResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1123,6 +1164,7 @@ }, "CredRevokedResult": { "docs": undefined, + "inline": undefined, "properties": { "revoked": { "docs": "Whether credential is revoked on the ledger", @@ -1135,6 +1177,7 @@ }, "Credential": { "docs": undefined, + "inline": undefined, "properties": { "@context": { "docs": "The JSON-LD context of the credential", @@ -1190,6 +1233,7 @@ }, "CredentialDefinition": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Credential definition identifier", @@ -1233,6 +1277,7 @@ }, "CredentialDefinitionGetResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition": { "type": "optional", @@ -1244,6 +1289,7 @@ }, "CredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_id": { "docs": "Credential definition identifier", @@ -1266,6 +1312,7 @@ }, "CredentialDefinitionsCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_ids": { "type": "optional>", @@ -1277,6 +1324,7 @@ }, "CredentialOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1303,6 +1351,7 @@ }, "CredentialPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -1320,6 +1369,7 @@ }, "CredentialProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1391,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", @@ -1403,6 +1454,7 @@ }, "DID": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1443,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.", @@ -1465,6 +1518,7 @@ }, "DIDEndpoint": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1493,6 +1547,7 @@ }, "DIDList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "DID list", @@ -1505,6 +1560,7 @@ }, "DIDResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1516,6 +1572,7 @@ }, "DIFField": { "docs": undefined, + "inline": undefined, "properties": { "filter": { "type": "optional", @@ -1542,6 +1599,7 @@ }, "DIFHolder": { "docs": undefined, + "inline": undefined, "properties": { "directive": { "docs": "Preference", @@ -1557,6 +1615,7 @@ }, "DIFOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "Challenge protect against replay attack", @@ -1579,6 +1638,7 @@ }, "DIFPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "issuer_id": { "docs": "Issuer identifier to sign the presentation, if different from current public DID", @@ -1602,6 +1662,7 @@ }, "DIFProofProposal": { "docs": undefined, + "inline": undefined, "properties": { "input_descriptors": { "type": "optional>", @@ -1616,6 +1677,7 @@ }, "DIFProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "options": { "type": "optional", @@ -1669,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", @@ -1676,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", @@ -1683,6 +1747,7 @@ }, "Disclose": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1703,6 +1768,7 @@ }, "Disclosures": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1723,6 +1789,7 @@ }, "Doc": { "docs": undefined, + "inline": undefined, "properties": { "credential": { "docs": "Credential to sign", @@ -1736,6 +1803,7 @@ }, "DocCredential": { "docs": "Credential to sign", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1747,6 +1815,7 @@ }, "EndorserInfo": { "docs": undefined, + "inline": undefined, "properties": { "endorser_did": { "docs": "Endorser DID", @@ -1763,6 +1832,7 @@ }, "EndpointsResult": { "docs": undefined, + "inline": undefined, "properties": { "my_endpoint": { "docs": "My endpoint", @@ -1791,6 +1861,7 @@ }, "Filter": { "docs": undefined, + "inline": undefined, "properties": { "const": { "docs": "Const", @@ -1846,6 +1917,7 @@ }, "Generated": { "docs": undefined, + "inline": undefined, "properties": { "master_secret": { "type": "optional", @@ -1881,6 +1953,7 @@ }, "GetDIDEndpointResponse": { "docs": undefined, + "inline": undefined, "properties": { "endpoint": { "docs": "Full verification key", @@ -1899,6 +1972,7 @@ }, "GetDIDVerkeyResponse": { "docs": undefined, + "inline": undefined, "properties": { "verkey": { "docs": "Full verification key", @@ -1917,6 +1991,7 @@ }, "GetNymRoleResponse": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "Ledger role", @@ -1944,6 +2019,7 @@ "HolderModuleResponse": "map", "IndyAttrValue": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Attribute encoded value", @@ -1966,6 +2042,7 @@ }, "IndyCredAbstract": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2009,6 +2086,7 @@ }, "IndyCredInfo": { "docs": undefined, + "inline": undefined, "properties": { "attrs": { "docs": "Attribute names and value", @@ -2065,6 +2143,7 @@ }, "IndyCredPrecis": { "docs": undefined, + "inline": undefined, "properties": { "cred_info": { "type": "optional", @@ -2090,6 +2169,7 @@ }, "IndyCredRequest": { "docs": undefined, + "inline": undefined, "properties": { "blinded_ms": { "docs": "Blinded master secret", @@ -2136,6 +2216,7 @@ }, "IndyCredRequestBlindedMs": { "docs": "Blinded master secret", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2143,6 +2224,7 @@ }, "IndyCredRequestBlindedMsCorrectnessProof": { "docs": "Blinded master secret correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2150,6 +2232,7 @@ }, "IndyCredential": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2208,6 +2291,7 @@ }, "IndyCredentialRevReg": { "docs": "Revocation registry state", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2215,6 +2299,7 @@ }, "IndyCredentialSignatureCorrectnessProof": { "docs": "Credential signature correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2226,6 +2311,7 @@ }, "IndyEQProof": { "docs": undefined, + "inline": undefined, "properties": { "a_prime": { "type": "optional", @@ -2276,6 +2362,7 @@ }, "IndyGEProof": { "docs": undefined, + "inline": undefined, "properties": { "alpha": { "type": "optional", @@ -2314,6 +2401,7 @@ }, "IndyGEProofPred": { "docs": undefined, + "inline": undefined, "properties": { "attr_name": { "docs": "Attribute name, indy-canonicalized", @@ -2346,6 +2434,7 @@ }, "IndyKeyCorrectnessProof": { "docs": undefined, + "inline": undefined, "properties": { "c": { "docs": "c in key correctness proof", @@ -2378,6 +2467,7 @@ }, "IndyNonRevocProof": { "docs": undefined, + "inline": undefined, "properties": { "c_list": { "type": "optional>", @@ -2392,6 +2482,7 @@ }, "IndyNonRevocationInterval": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2422,6 +2513,7 @@ }, "IndyPresAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "type": "optional", @@ -2455,6 +2547,7 @@ }, "IndyPresPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2509,6 +2602,7 @@ }, "IndyPresPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -2523,6 +2617,7 @@ }, "IndyPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "requested_attributes": { "docs": "Nested object mapping proof request attribute referents to requested-attribute specifiers", @@ -2547,6 +2642,7 @@ }, "IndyPrimaryProof": { "docs": undefined, + "inline": undefined, "properties": { "eq_proof": { "type": "optional", @@ -2566,6 +2662,7 @@ }, "IndyProof": { "docs": undefined, + "inline": undefined, "properties": { "identifiers": { "docs": "Indy proof.identifiers content", @@ -2584,6 +2681,7 @@ }, "IndyProofIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2633,6 +2731,7 @@ }, "IndyProofProof": { "docs": undefined, + "inline": undefined, "properties": { "aggregated_proof": { "type": "optional", @@ -2648,6 +2747,7 @@ }, "IndyProofProofAggregatedProof": { "docs": undefined, + "inline": undefined, "properties": { "c_hash": { "docs": "c_hash value", @@ -2664,6 +2764,7 @@ }, "IndyProofProofProofsProof": { "docs": undefined, + "inline": undefined, "properties": { "non_revoc_proof": { "type": "optional", @@ -2686,6 +2787,7 @@ }, "IndyProofReqAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2709,6 +2811,7 @@ }, "IndyProofReqAttrSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2739,6 +2842,7 @@ }, "IndyProofReqPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2766,6 +2870,7 @@ }, "IndyProofReqPredSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2820,6 +2925,7 @@ }, "IndyProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Proof request name", @@ -2863,6 +2969,7 @@ }, "IndyProofRequestNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2893,6 +3000,7 @@ }, "IndyProofRequestedProof": { "docs": undefined, + "inline": undefined, "properties": { "predicates": { "docs": "Proof requested proof predicates.", @@ -2921,6 +3029,7 @@ }, "IndyProofRequestedProofPredicate": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2933,6 +3042,7 @@ }, "IndyProofRequestedProofRevealedAttr": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -2959,6 +3069,7 @@ }, "IndyProofRequestedProofRevealedAttrGroup": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2975,6 +3086,7 @@ }, "IndyProofRequestedProofSelfAttestedAttrs": { "docs": "Proof requested proof self-attested attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2982,6 +3094,7 @@ }, "IndyProofRequestedProofUnrevealedAttrs": { "docs": "Unrevealed attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2989,6 +3102,7 @@ }, "IndyRequestedCredsRequestedAttr": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3005,6 +3119,7 @@ }, "IndyRequestedCredsRequestedPred": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3028,6 +3143,7 @@ }, "IndyRevRegDef": { "docs": undefined, + "inline": undefined, "properties": { "credDefId": { "docs": "Credential definition identifier", @@ -3077,6 +3193,7 @@ }, "IndyRevRegDefValue": { "docs": undefined, + "inline": undefined, "properties": { "issuanceType": { "docs": "Issuance type", @@ -3117,6 +3234,7 @@ }, "IndyRevRegDefValuePublicKeys": { "docs": undefined, + "inline": undefined, "properties": { "accumKey": { "type": "optional", @@ -3128,6 +3246,7 @@ }, "IndyRevRegDefValuePublicKeysAccumKey": { "docs": undefined, + "inline": undefined, "properties": { "z": { "docs": "Value for z", @@ -3140,6 +3259,7 @@ }, "IndyRevRegEntry": { "docs": undefined, + "inline": undefined, "properties": { "value": { "type": "optional", @@ -3161,6 +3281,7 @@ }, "IndyRevRegEntryValue": { "docs": undefined, + "inline": undefined, "properties": { "accum": { "docs": "Accumulator value", @@ -3181,6 +3302,7 @@ }, "InputDescriptors": { "docs": undefined, + "inline": undefined, "properties": { "constraints": { "type": "optional", @@ -3219,6 +3341,7 @@ "IntroModuleResponse": "map", "InvitationMessage": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3257,6 +3380,7 @@ }, "InvitationRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3316,6 +3440,7 @@ }, "InvitationResult": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -3336,6 +3461,7 @@ "IssueCredentialModuleResponse": "map", "IssuerCredRevRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3410,6 +3536,7 @@ }, "IssuerRevRegRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3528,6 +3655,7 @@ }, "Keylist": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of keylist records", @@ -3540,6 +3668,7 @@ }, "KeylistQuery": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3563,6 +3692,7 @@ }, "KeylistQueryFilter": { "docs": "Query dictionary object", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3570,6 +3700,7 @@ }, "KeylistQueryPaginate": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "Limit for keylist query", @@ -3586,6 +3717,7 @@ }, "KeylistUpdate": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3606,6 +3738,7 @@ }, "KeylistUpdateRule": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "Action for specific key", @@ -3638,6 +3771,7 @@ }, "LDProofVCDetail": { "docs": undefined, + "inline": undefined, "properties": { "credential": "LdProofVcDetailCredential", "options": "LdProofVcDetailOptions", @@ -3648,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)", @@ -3697,6 +3832,7 @@ }, "LedgerConfigInstance": { "docs": undefined, + "inline": undefined, "properties": { "genesis_file": { "docs": "genesis_file", @@ -3725,6 +3861,7 @@ }, "LedgerConfigList": { "docs": undefined, + "inline": undefined, "properties": { "ledger_config_list": "list", }, @@ -3735,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", @@ -3797,6 +3935,7 @@ }, "MediationDeny": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3819,6 +3958,7 @@ }, "MediationGrant": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3842,6 +3982,7 @@ }, "MediationList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of mediation records", @@ -3854,6 +3995,7 @@ }, "MediationRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": "string", "created_at": { @@ -3903,6 +4045,7 @@ }, "Menu": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3935,6 +4078,7 @@ }, "MenuForm": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu form", @@ -3959,6 +4103,7 @@ }, "MenuFormParam": { "docs": undefined, + "inline": undefined, "properties": { "default": { "docs": "Default parameter value", @@ -3991,6 +4136,7 @@ }, "MenuJson": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Introductory text for the menu", @@ -4015,6 +4161,7 @@ }, "MenuOption": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu option", @@ -4043,6 +4190,7 @@ "MultitenantModuleResponse": "map", "OobRecord": { "docs": undefined, + "inline": undefined, "properties": { "attach_thread_id": { "docs": "Connection record identifier", @@ -4144,6 +4292,7 @@ }, "PingRequestResponse": { "docs": undefined, + "inline": undefined, "properties": { "thread_id": { "docs": "Thread ID of the ping message", @@ -4156,6 +4305,7 @@ }, "PresentationDefinition": { "docs": undefined, + "inline": undefined, "properties": { "format": { "type": "optional", @@ -4191,6 +4341,7 @@ }, "PresentationProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4214,6 +4365,7 @@ }, "PresentationRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4237,6 +4389,7 @@ }, "ProtocolDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "pid": "string", "roles": { @@ -4250,6 +4403,7 @@ }, "PublishRevocations": { "docs": undefined, + "inline": undefined, "properties": { "rrid2crid": { "docs": "Credential revocation ids by revocation registry id", @@ -4262,6 +4416,7 @@ }, "Queries": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4281,6 +4436,7 @@ }, "Query": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4301,6 +4457,7 @@ }, "QueryItem": { "docs": undefined, + "inline": undefined, "properties": { "feature-type": { "docs": "feature type", @@ -4330,6 +4487,7 @@ }, "RawEncoded": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -4352,6 +4510,7 @@ }, "ResolutionResult": { "docs": undefined, + "inline": undefined, "properties": { "did_document": { "docs": "DID Document", @@ -4368,6 +4527,7 @@ }, "ResolutionResultDidDocument": { "docs": "DID Document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4375,6 +4535,7 @@ }, "ResolutionResultMetadata": { "docs": "Resolution metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4382,6 +4543,7 @@ }, "RevRegIssuedResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "Number of credentials issued against revocation registry", @@ -4401,6 +4563,7 @@ }, "RevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4412,6 +4575,7 @@ }, "RevRegWalletUpdatedResult": { "docs": undefined, + "inline": undefined, "properties": { "accum_calculated": { "docs": "Calculated accumulator for phantom revocations", @@ -4432,6 +4596,7 @@ }, "RevRegWalletUpdatedResultAccumCalculated": { "docs": "Calculated accumulator for phantom revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4439,6 +4604,7 @@ }, "RevRegWalletUpdatedResultAccumFixed": { "docs": "Applied ledger transaction to fix revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4446,6 +4612,7 @@ }, "RevRegWalletUpdatedResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4453,6 +4620,7 @@ }, "RevRegsCreated": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_ids": { "type": "optional>", @@ -4465,6 +4633,7 @@ "RevocationModuleResponse": "map", "RouteRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "type": "optional", @@ -4510,6 +4679,7 @@ }, "Schema": { "docs": undefined, + "inline": undefined, "properties": { "attrNames": { "docs": "Schema attribute names", @@ -4567,6 +4737,7 @@ }, "SchemaGetResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4578,6 +4749,7 @@ }, "SchemaInputDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "required": { "docs": "Required", @@ -4594,6 +4766,7 @@ }, "SchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4619,6 +4792,7 @@ }, "SchemasCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "schema_ids": { "type": "optional>", @@ -4630,6 +4804,7 @@ }, "SchemasInputDescriptorFilter": { "docs": undefined, + "inline": undefined, "properties": { "oneof_filter": { "docs": "oneOf", @@ -4649,6 +4824,7 @@ }, "ServiceDecorator": { "docs": undefined, + "inline": undefined, "properties": { "recipientKeys": { "docs": "List of recipient keys", @@ -4669,6 +4845,7 @@ }, "SignResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -4685,6 +4862,7 @@ }, "SignResponseSignedDoc": { "docs": "Signed document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4692,6 +4870,7 @@ }, "SignatureOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "type": "optional", @@ -4711,6 +4890,7 @@ }, "SignedDoc": { "docs": undefined, + "inline": undefined, "properties": { "proof": "SignedDocProof", }, @@ -4724,6 +4904,7 @@ }, "SubmissionRequirements": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Count Value", @@ -4763,6 +4944,7 @@ }, "TAAAcceptance": { "docs": undefined, + "inline": undefined, "properties": { "mechanism": { "type": "optional", @@ -4784,6 +4966,7 @@ }, "TAAInfo": { "docs": undefined, + "inline": undefined, "properties": { "aml_record": { "type": "optional", @@ -4804,6 +4987,7 @@ }, "TAARecord": { "docs": undefined, + "inline": undefined, "properties": { "digest": { "type": "optional", @@ -4821,6 +5005,7 @@ }, "TAAResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4832,6 +5017,7 @@ }, "TailsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "type": "optional", @@ -4843,6 +5029,7 @@ }, "TransactionJobs": { "docs": undefined, + "inline": undefined, "properties": { "transaction_my_job": { "docs": "My transaction related job", @@ -4881,6 +5068,7 @@ }, "TransactionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of transaction records", @@ -4893,6 +5081,7 @@ }, "TransactionRecord": { "docs": undefined, + "inline": undefined, "properties": { "_type": { "docs": "Transaction type", @@ -4967,6 +5156,7 @@ }, "TransactionRecordMessagesAttachItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4974,6 +5164,7 @@ }, "TransactionRecordMetaData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4981,6 +5172,7 @@ }, "TransactionRecordSignatureRequestItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4988,6 +5180,7 @@ }, "TransactionRecordSignatureResponseItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4995,6 +5188,7 @@ }, "TransactionRecordTiming": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5002,6 +5196,7 @@ }, "TxnOrCredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5020,6 +5215,7 @@ }, "TxnOrPublishRevocationsResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5038,6 +5234,7 @@ }, "TxnOrRegisterLedgerNymResponse": { "docs": undefined, + "inline": undefined, "properties": { "success": { "docs": "Success of nym registration operation", @@ -5057,6 +5254,7 @@ }, "TxnOrRevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5075,6 +5273,7 @@ }, "TxnOrSchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5101,6 +5300,7 @@ }, "V10CredentialExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5251,6 +5451,7 @@ }, "V10CredentialExchangeCredentialRequestMetadata": { "docs": "(Indy) credential request metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5268,6 +5469,7 @@ }, "V10CredentialExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries#0036 v1.0 credential exchange records", @@ -5294,6 +5496,7 @@ }, "V10DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -5309,6 +5512,7 @@ }, "V10DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -5372,6 +5576,7 @@ "V10PresentProofModuleResponse": "map", "V10PresentationExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -5469,6 +5674,7 @@ }, "V10PresentationExchangeList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries RFC 37 v1.0 presentation exchange records", @@ -5517,6 +5723,7 @@ }, "V20CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -5545,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)", @@ -5583,6 +5791,7 @@ }, "V20CredExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5677,6 +5886,7 @@ }, "V20CredExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "cred_issue": { "type": "optional", @@ -5697,6 +5907,7 @@ }, "V20CredExRecordByFormatCredIssue": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5704,6 +5915,7 @@ }, "V20CredExRecordByFormatCredOffer": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5711,6 +5923,7 @@ }, "V20CredExRecordByFormatCredProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5718,6 +5931,7 @@ }, "V20CredExRecordByFormatCredRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5745,6 +5959,7 @@ }, "V20CredExRecordDetail": { "docs": undefined, + "inline": undefined, "properties": { "cred_ex_record": { "type": "optional", @@ -5766,6 +5981,7 @@ }, "V20CredExRecordIndy": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5834,6 +6050,7 @@ }, "V20CredExRecordIndyCredRequestMetadata": { "docs": "Credential request metadata for indy holder", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5851,6 +6068,7 @@ }, "V20CredExRecordLdProof": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5895,6 +6113,7 @@ }, "V20CredExRecordListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Credential exchange records and corresponding detail records", @@ -5964,6 +6183,7 @@ }, "V20CredFilter": { "docs": undefined, + "inline": undefined, "properties": { "indy": { "type": "optional", @@ -5978,6 +6198,7 @@ }, "V20CredFilterIndy": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -6044,6 +6265,7 @@ }, "V20CredFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6060,6 +6282,7 @@ }, "V20CredIssue": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6092,6 +6315,7 @@ }, "V20CredOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6127,6 +6351,7 @@ }, "V20CredPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -6140,6 +6365,7 @@ }, "V20CredProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6175,6 +6401,7 @@ }, "V20CredRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6207,6 +6434,7 @@ }, "V20DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6222,6 +6450,7 @@ }, "V20DiscoveryExchangeResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional", @@ -6233,6 +6462,7 @@ }, "V20DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -6296,6 +6526,7 @@ "V20IssueCredentialModuleResponse": "map", "V20Pres": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6323,6 +6554,7 @@ }, "V20PresExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -6410,6 +6642,7 @@ }, "V20PresExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "pres": { "type": "optional", @@ -6427,6 +6660,7 @@ }, "V20PresExRecordByFormatPresProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6434,6 +6668,7 @@ }, "V20PresExRecordByFormatPresRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6451,6 +6686,7 @@ }, "V20PresExRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Presentation exchange records", @@ -6530,6 +6766,7 @@ }, "V20PresFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6546,6 +6783,7 @@ }, "V20PresProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6573,6 +6811,7 @@ }, "V20PresProposalByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6595,6 +6834,7 @@ }, "V20PresRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6626,6 +6866,7 @@ }, "V20PresRequestByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6657,6 +6898,7 @@ "V20PresentProofModuleResponse": "map", "VCRecord": { "docs": undefined, + "inline": undefined, "properties": { "contexts": { "type": "optional>", @@ -6699,6 +6941,7 @@ }, "VCRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6710,6 +6953,7 @@ }, "VcRecordCredValue": { "docs": "(JSON-serializable) credential value", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6721,6 +6965,7 @@ }, "VerifyResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -6734,6 +6979,7 @@ }, "WalletList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of wallet records", @@ -6747,6 +6993,7 @@ "WalletModuleResponse": "map", "WalletRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -6801,6 +7048,7 @@ }, "WalletRecordSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6808,6 +7056,7 @@ }, "WriteLedgerRequest": { "docs": undefined, + "inline": undefined, "properties": { "ledger_id": { "type": "optional", @@ -6839,6 +7088,7 @@ }, "jwt": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6846,6 +7096,7 @@ }, "ldp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6853,6 +7104,7 @@ }, "metadata": { "docs": "Metadata dictionary", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6870,6 +7122,7 @@ }, "pres": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6887,6 +7140,7 @@ }, "signature": { "docs": "Credential signature", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6894,6 +7148,7 @@ }, "witness": { "docs": "Witness for revocation proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6978,6 +7233,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminConfig: properties: config: @@ -6999,11 +7255,13 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminStatusTiming: docs: Timing results properties: {} source: openapi: ../openapi.yml + inline: true AdminStatus: properties: conductor: @@ -7159,26 +7417,32 @@ 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: @@ -7361,6 +7625,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ConnectionMetadata: properties: results: @@ -7465,6 +7730,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CreateWalletResponse: properties: created_at: @@ -7585,6 +7851,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CredRevIndyRecordsResult: properties: rev_reg_delta: @@ -7929,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 @@ -7936,6 +8204,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true DIFPresSpec: properties: issuer_id: @@ -8004,6 +8273,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true Doc: properties: credential: @@ -8214,11 +8484,13 @@ 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: @@ -8251,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: @@ -8690,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: @@ -8871,6 +9149,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true InputDescriptors: properties: constraints: @@ -9105,6 +9384,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true KeylistQuery: properties: '@id': @@ -9642,11 +9922,13 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResultMetadata: docs: Resolution metadata properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResult: properties: did_document: @@ -9677,16 +9959,19 @@ 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: @@ -9829,6 +10114,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true SignResponse: properties: error: @@ -9971,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: @@ -10084,6 +10375,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V10CredentialExchangeInitiator: enum: - self @@ -10477,18 +10769,22 @@ 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: @@ -10516,6 +10812,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordIndy: properties: created_at: @@ -10922,14 +11219,17 @@ 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: @@ -11018,6 +11318,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true VCRecord: properties: contexts: @@ -11080,6 +11381,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true WalletRecord: properties: created_at: @@ -11379,23 +11681,7 @@ types: "conn_id": "conn_id", }, "response": { - "body": { - "result": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "description": "This menu presents options", - "errormsg": "Error: item not found", - "options": [ - { - "description": "Window display preferences", - "disabled": false, - "name": "window_prefs", - "title": "Window Preferences", - }, - ], - "title": "My Menu", - }, - }, + "body": {}, }, }, ], @@ -11612,18 +11898,7 @@ service: - path-parameters: conn_id: conn_id response: - body: - result: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - description: This menu presents options - errormsg: 'Error: item not found' - options: - - description: Window display preferences - disabled: false - name: window_prefs - title: Window Preferences - title: My Menu + body: {} perform_action_by_conn_id: path: /action-menu/{conn_id}/perform method: POST @@ -12737,6 +13012,7 @@ docs: Simple messaging "types": { "ConnectionMetadataSetRequestMetadata": { "docs": "Dictionary of metadata to set for connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12744,6 +13020,7 @@ docs: Simple messaging }, "CreateInvitationRequestMetadata": { "docs": "Optional metadata to attach to the connection created with the invitation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12828,11 +13105,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: @@ -13575,27 +13854,6 @@ docs: Connection management "type": { "key": "value", }, - "value": { - "primary": { - "n": "0", - "rctxt": "0", - "s": "0", - "z": "0", - }, - "revocation": { - "g": "1 1F14F&ECB578F 2 095E45DDF417D", - "g_dash": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D", - "h": "1 16675DAE54BFAE8 2 095E45DD417D", - "h0": "1 21E5EF9476EAF18 2 095E45DDF417D", - "h1": "1 236D1D99236090 2 095E45DDF417D", - "h2": "1 1C3AE8D1F1E277 2 095E45DDF417D", - "h_cap": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000", - "htilde": "1 1D8549E8C0F8 2 095E45DDF417D", - "pk": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D", - "u": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000", - "y": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000", - }, - }, "ver": "1.0", }, }, @@ -13636,39 +13894,6 @@ docs: Connection management "sent": { "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -13751,27 +13976,6 @@ docs: Connection management "type": { "key": "value", }, - "value": { - "primary": { - "n": "0", - "rctxt": "0", - "s": "0", - "z": "0", - }, - "revocation": { - "g": "1 1F14F&ECB578F 2 095E45DDF417D", - "g_dash": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D", - "h": "1 16675DAE54BFAE8 2 095E45DD417D", - "h0": "1 21E5EF9476EAF18 2 095E45DDF417D", - "h1": "1 236D1D99236090 2 095E45DDF417D", - "h2": "1 1C3AE8D1F1E277 2 095E45DDF417D", - "h_cap": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000", - "htilde": "1 1D8549E8C0F8 2 095E45DDF417D", - "pk": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D", - "u": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000", - "y": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000", - }, - }, "ver": "1.0", }, }, @@ -13857,30 +14061,6 @@ service: body: sent: credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' get_created_cred_defs: path: /credential-definitions/created method: GET @@ -13957,24 +14137,6 @@ service: tag: tag type: key: value - value: - primary: - 'n': '0' - rctxt: '0' - s: '0' - z: '0' - revocation: - g: 1 1F14F&ECB578F 2 095E45DDF417D - g_dash: 1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D - h: 1 16675DAE54BFAE8 2 095E45DD417D - h0: 1 21E5EF9476EAF18 2 095E45DDF417D - h1: 1 236D1D99236090 2 095E45DDF417D - h2: 1 1C3AE8D1F1E277 2 095E45DDF417D - h_cap: 1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000 - htilde: 1 1D8549E8C0F8 2 095E45DDF417D - pk: 1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D - u: 1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000 - 'y': 1 153558BD903312 2 095E45DDF417D 1 0000000000000000 ver: '1.0' write_credential_definition: path: /credential-definitions/{cred_def_id}/write_record @@ -14001,24 +14163,6 @@ service: tag: tag type: key: value - value: - primary: - 'n': '0' - rctxt: '0' - s: '0' - z: '0' - revocation: - g: 1 1F14F&ECB578F 2 095E45DDF417D - g_dash: 1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D - h: 1 16675DAE54BFAE8 2 095E45DD417D - h0: 1 21E5EF9476EAF18 2 095E45DDF417D - h1: 1 236D1D99236090 2 095E45DDF417D - h2: 1 1C3AE8D1F1E277 2 095E45DDF417D - h_cap: 1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000 - htilde: 1 1D8549E8C0F8 2 095E45DDF417D - pk: 1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D - u: 1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000 - 'y': 1 153558BD903312 2 095E45DDF417D 1 0000000000000000 ver: '1.0' source: openapi: ../openapi.yml @@ -15168,25 +15312,6 @@ docs: Holder credential management "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "@type": "https://didcomm.org/my-family/1.0/my-message-type", "did": "WgWxqztrNooG92RXvxSTWv", - "did_doc~attach": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, "label": "Request to connect with Bob", }, "response": { @@ -15417,22 +15542,6 @@ service: '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 '@type': https://didcomm.org/my-family/1.0/my-message-type did: WgWxqztrNooG92RXvxSTWv - did_doc~attach: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png label: Request to connect with Bob response: body: @@ -15591,21 +15700,7 @@ docs: Connection management via DID exchange { "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "disclose": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "protocols": [ - { - "pid": "pid", - }, - ], - }, "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "query_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "query": "query", - }, "state": "active", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "trace": true, @@ -15614,21 +15709,7 @@ docs: Connection management via DID exchange { "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "disclose": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "protocols": [ - { - "pid": "pid", - }, - ], - }, "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "query_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "query": "query", - }, "state": "active", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "trace": true, @@ -15669,22 +15750,7 @@ docs: Connection management via DID exchange "body": { "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "disclose": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "protocols": [ - { - "pid": "pid", - }, - ], - }, "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "query_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "query": "query", - }, "state": "active", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "trace": true, @@ -15762,17 +15828,7 @@ service: body: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - disclose: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - protocols: - - pid: pid discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - query_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - query: query state: active thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 trace: true @@ -15799,32 +15855,14 @@ service: results: - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - disclose: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - protocols: - - pid: pid discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - query_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - query: query state: active thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 trace: true updated_at: '2021-12-31 23:59:59+00:00' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - disclose: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - protocols: - - pid: pid discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - query_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - query: query state: active thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 trace: true @@ -15932,36 +15970,7 @@ docs: Feature discovery "examples": [ { "response": { - "body": { - "results": { - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "disclosures": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "disclosures": [ - { - "key": "value", - }, - ], - }, - "discovery_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "queries_msg": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "queries": [ - { - "feature-type": "protocol", - "match": "match", - }, - ], - }, - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, - }, + "body": {}, }, }, ], @@ -16031,26 +16040,7 @@ service: type: root.V20DiscoveryExchangeResult examples: - response: - body: - results: - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - disclosures: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - disclosures: - - key: value - discovery_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - queries_msg: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - queries: - - feature-type: protocol - match: match - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' + body: {} get_v20_feature_records: path: /discover-features-2.0/records method: GET @@ -17285,123 +17275,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -17540,123 +17419,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -17769,123 +17537,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -17930,119 +17587,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18058,119 +17608,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18248,123 +17691,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18474,123 +17806,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18650,123 +17871,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -18836,123 +17946,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19102,123 +18101,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19332,123 +18220,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19581,123 +18358,12 @@ docs: Introduction of known parties "auto_remove": false, "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", - "credential": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, "credential_definition_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", "credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "credential_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "credential_offer": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "key_correctness_proof": { - "c": "0", - "xr_cap": [ - [ - "xr_cap", - ], - ], - "xz_cap": "0", - }, - "nonce": "0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "credential_offer_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "credential_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "credential_proposal": { - "@type": "issue-credential/1.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv", - "schema_name": "schema_name", - "schema_version": "1.0", - }, - "credential_request": { - "blinded_ms": {}, - "blinded_ms_correctness_proof": {}, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "nonce": "0", - "prover_did": "WgWxqztrNooG92RXvxSTWv", - }, "error_msg": "Credential definition identifier is not set in proposal", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "raw_credential": { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "signature": {}, - "signature_correctness_proof": {}, - "values": { - "key": { - "encoded": "-1", - "raw": "raw", - }, - }, - }, "revoc_reg_id": "revoc_reg_id", "revocation_id": "revocation_id", "role": "issuer", @@ -19871,95 +18537,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20030,95 +18613,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20165,90 +18665,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20262,90 +18684,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20378,95 +18722,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20529,95 +18790,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20686,95 +18864,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20807,95 +18902,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -20937,95 +18949,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21127,95 +19056,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21292,95 +19138,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21482,95 +19245,12 @@ service: auto_remove: false connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' - credential: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 credential_definition_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag credential_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 credential_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - credential_offer: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - key_correctness_proof: - c: '0' - xr_cap: - - - xr_cap - xz_cap: '0' - nonce: '0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - credential_offer_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - credential_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - credential_proposal: - '@type': issue-credential/1.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - issuer_did: WgWxqztrNooG92RXvxSTWv - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - schema_issuer_did: WgWxqztrNooG92RXvxSTWv - schema_name: schema_name - schema_version: '1.0' - credential_request: - blinded_ms: {} - blinded_ms_correctness_proof: {} - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - nonce: '0' - prover_did: WgWxqztrNooG92RXvxSTWv error_msg: Credential definition identifier is not set in proposal initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - raw_credential: - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - signature: {} - signature_correctness_proof: {} - values: - key: - encoded: '-1' - raw: raw revoc_reg_id: revoc_reg_id revocation_id: revocation_id role: issuer @@ -21654,181 +19334,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -21915,181 +19420,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22188,197 +19518,6 @@ types: }, "response": { "body": { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22428,193 +19567,6 @@ types: "body": { "results": [ { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22635,193 +19587,6 @@ types: }, }, { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -22904,197 +19669,6 @@ types: }, "response": { "body": { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23206,23 +19780,7 @@ types: "path-parameters": { "cred_ex_id": "cred_ex_id", }, - "request": { - "counter_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - }, + "request": {}, "response": { "body": { "auto_issue": false, @@ -23231,181 +19789,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23472,181 +19855,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23728,181 +19936,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -23969,181 +20002,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -24245,181 +20103,6 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -24483,196 +20166,21 @@ types: ], }, "options": { - "proofType": "Ed25519Signature2018", - }, - }, - }, - "holder_did": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", - "trace": false, - }, - "response": { - "body": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], + "proofType": "Ed25519Signature2018", + }, }, + }, + "holder_did": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs", + "trace": false, + }, + "response": { + "body": { + "auto_issue": false, + "auto_offer": false, + "auto_remove": false, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "error_msg": "The front fell off", "initiator": "self", "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -24748,197 +20256,6 @@ types: }, "response": { "body": { - "cred_ex_record": { - "auto_issue": false, - "auto_offer": false, - "auto_remove": false, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "cred_issue": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credentials~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_offer": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "offers~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - }, - "cred_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "cred_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "credential_preview": { - "@type": "issue-credential/2.0/credential-preview", - "attributes": [ - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - { - "mime-type": "image/jpeg", - "name": "favourite_drink", - "value": "martini", - }, - ], - }, - "filters~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - }, - "cred_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "aries/ld-proof-vc-detail@v1.0", - }, - ], - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "error_msg": "The front fell off", - "initiator": "self", - "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "role": "issuer", - "state": "done", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "updated_at": "2021-12-31 23:59:59+00:00", - }, "indy": { "created_at": "2021-12-31 23:59:59+00:00", "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -25114,127 +20431,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25301,127 +20497,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25463,139 +20538,7 @@ service: - response: body: results: - - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' - indy: + - indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 cred_ex_indy_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25612,139 +20555,7 @@ service: cred_id_stored: 3fa85f64-5717-4562-b3fc-2c963f66afa6 state: active updated_at: '2021-12-31 23:59:59+00:00' - - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' - indy: + - indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 cred_ex_indy_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25780,142 +20591,6 @@ service: cred_ex_id: cred_ex_id response: body: - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -25971,153 +20646,17 @@ service: comment: type: optional docs: Human-readable comment - content-type: application/json - response: - docs: '' - type: root.V20CredExRecordDetail - examples: - - path-parameters: - cred_ex_id: cred_ex_id - request: - comment: comment - response: - body: - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' + content-type: application/json + response: + docs: '' + type: root.V20CredExRecordDetail + examples: + - path-parameters: + cred_ex_id: cred_ex_id + request: + comment: comment + response: + body: indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26189,16 +20728,7 @@ service: examples: - path-parameters: cred_ex_id: cred_ex_id - request: - counter_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini + request: {} response: body: auto_issue: false @@ -26207,127 +20737,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26371,127 +20780,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26528,142 +20816,6 @@ service: credential_id: credential_id response: body: - cred_ex_record: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - error_msg: The front fell off - initiator: self - parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - role: issuer - state: done - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - updated_at: '2021-12-31 23:59:59+00:00' indy: created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26705,142 +20857,21 @@ service: attributes: - mime-type: image/jpeg name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filter: {} - trace: true - verification_method: verification_method - response: - body: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png + value: martini + - mime-type: image/jpeg + name: favourite_drink + value: martini + filter: {} + trace: true + verification_method: verification_method + response: + body: + auto_issue: false + auto_offer: false + auto_remove: false + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + created_at: '2021-12-31 23:59:59+00:00' + cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -26913,127 +20944,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -27081,127 +20991,6 @@ service: connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 created_at: '2021-12-31 23:59:59+00:00' cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -27244,161 +21033,40 @@ service: type: optional docs: Whether to trace event (default false) content-type: application/json - response: - docs: '' - type: root.V20CredExRecord - examples: - - request: - auto_remove: true - comment: comment - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - filter: - ld_proof: - credential: - '@context': - - key: value - - key: value - credentialSubject: - key: value - issuanceDate: '2010-01-01 19:23:24+00:00' - issuer: - key: value - type: - - VerifiableCredential - - AlumniCredential - options: - proofType: Ed25519Signature2018 - holder_did: did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs - trace: false - response: - body: - auto_issue: false - auto_offer: false - auto_remove: false - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_issue: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credentials~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_offer: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - offers~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - replacement_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - cred_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - cred_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - credential_preview: - '@type': issue-credential/2.0/credential-preview - attributes: - - mime-type: image/jpeg - name: favourite_drink - value: martini - - mime-type: image/jpeg - name: favourite_drink - value: martini - filters~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - cred_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: aries/ld-proof-vc-detail@v1.0 - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png + response: + docs: '' + type: root.V20CredExRecord + examples: + - request: + auto_remove: true + comment: comment + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + filter: + ld_proof: + credential: + '@context': + - key: value + - key: value + credentialSubject: + key: value + issuanceDate: '2010-01-01 19:23:24+00:00' + issuer: + key: value + type: + - VerifiableCredential + - AlumniCredential + options: + proofType: Ed25519Signature2018 + holder_did: did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs + trace: false + response: + body: + auto_issue: false + auto_offer: false + auto_remove: false + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + created_at: '2021-12-31 23:59:59+00:00' + cred_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 error_msg: The front fell off initiator: self parent_thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -27946,39 +21614,6 @@ docs: Sign and verify json-ld data "response": { "body": { "success": true, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -28272,30 +21907,6 @@ service: response: body: success: true - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' rotate_public_did_keypair: path: /ledger/rotate-public-did-keypair method: PATCH @@ -28934,10 +22545,6 @@ docs: Interaction with ledger "body": { "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "paginate": { - "limit": 30, - "offset": 0, - }, }, }, }, @@ -29200,6 +22807,7 @@ docs: Interaction with ledger }, "KeylistQueryFilterRequestFilter": { "docs": "Filter for keylist query", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -29351,9 +22959,6 @@ service: body: '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 '@type': https://didcomm.org/my-family/1.0/my-message-type - paginate: - limit: 30 - offset: 0 send_keylist_update_to_mediator: path: /mediation/keylists/{mediation_id}/send-keylist-update method: POST @@ -29741,6 +23346,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true GetMatchingMediationRecordsRequestState: enum: - request @@ -30510,77 +24116,6 @@ docs: Multitenant wallet management "body": { "created_at": "2021-12-31 23:59:59+00:00", "invi_msg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "invitation": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "accept": [ - "didcomm/aip1", - "didcomm/aip2;env=rfc19", - ], - "handshake_protocols": [ - "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0", - ], - "imageUrl": "http://192.168.56.101/img/logo.jpg", - "label": "Bob", - "requests~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "services": [ - { - "did": "WgWxqztrNooG92RXvxSTWv", - "id": "string", - "recipientKeys": [ - "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - ], - "routingKeys": [ - "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH", - ], - "serviceEndpoint": "http://192.168.56.101:8020", - "type": "string", - }, - { - "key": "value", - }, - ], - }, "invitation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "invitation_url": "https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=", "oob_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -30888,6 +24423,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", @@ -30903,6 +24439,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -30984,58 +24521,6 @@ service: body: created_at: '2021-12-31 23:59:59+00:00' invi_msg_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - invitation: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - accept: - - didcomm/aip1 - - didcomm/aip2;env=rfc19 - handshake_protocols: - - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0 - - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0 - imageUrl: http://192.168.56.101/img/logo.jpg - label: Bob - requests~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - services: - - did: WgWxqztrNooG92RXvxSTWv - id: string - recipientKeys: - - did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH - routingKeys: - - did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH - serviceEndpoint: http://192.168.56.101:8020 - type: string - - key: value invitation_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 invitation_url: >- https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0= @@ -31249,154 +24734,31 @@ docs: Out-of-band connections "requested_predicates": { "key": { "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "trace": false, - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, - "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", + "p_type": ">=", + "p_value": 0, + "restrictions": [ + { + "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], + { + "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", + }, + ], + }, }, + "version": "1.0", + }, + "trace": false, + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -31497,105 +24859,6 @@ docs: Out-of-band connections "error_msg": "Invalid structure", "initiator": "self", "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -31615,105 +24878,6 @@ docs: Out-of-band connections "error_msg": "Invalid structure", "initiator": "self", "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -31786,20 +24950,6 @@ docs: Out-of-band connections "response": { "body": [ { - "cred_info": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "interval": { - "from": 1640995199, - "to": 1640995199, - }, "presentation_referents": [ "1_age_uuid", "1_age_uuid", @@ -31882,130 +25032,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32142,130 +25169,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32363,146 +25267,23 @@ docs: Out-of-band connections }, { "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - "trace": false, - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, - "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, + "name": "high_score", + "predicate": ">=", + "threshold": 0, }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, + ], + }, + "trace": false, + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32599,130 +25380,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32781,130 +25439,7 @@ docs: Out-of-band connections "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -32950,152 +25485,29 @@ docs: Out-of-band connections "response": { "docs": "", "type": "root.V10PresentationExchange", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "verify_received_presentation": { - "auth": true, - "display-name": "Verify a received presentation", - "docs": undefined, - "examples": [ - { - "path-parameters": { - "pres_ex_id": "pres_ex_id", - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "presentation": { - "identifiers": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - ], - "proof": { - "proofs": [ - {}, - ], - }, - "requested_proof": { - "predicates": { - "key": {}, - }, - }, - }, - "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "presentation_proposal": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview", - "attributes": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "mime-type": "image/jpeg", - "name": "favourite_drink", - "referent": "0", - "value": "martini", - }, - ], - "predicates": [ - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - { - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "name": "high_score", - "predicate": ">=", - "threshold": 0, - }, - ], - }, - }, - "presentation_request": { - "name": "Proof request", - "non_revoked": { - "from": 1640995199, - "to": 1640995199, - }, - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - "presentation_request_dict": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "verify_received_presentation": { + "auth": true, + "display-name": "Verify a received presentation", + "docs": undefined, + "examples": [ + { + "path-parameters": { + "pres_ex_id": "pres_ex_id", + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "verified", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -33225,88 +25637,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33356,72 +25687,6 @@ service: error_msg: Invalid structure initiator: self presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33438,72 +25703,6 @@ service: error_msg: Invalid structure initiator: self presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33538,88 +25737,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33689,19 +25807,7 @@ service: pres_ex_id: pres_ex_id response: body: - - cred_info: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - interval: - from: 1640995199 - to: 1640995199 - presentation_referents: + - presentation_referents: - 1_age_uuid - 1_age_uuid report_pres_ex_problem: @@ -33773,88 +25879,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -33903,88 +25928,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34019,88 +25963,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34180,88 +26043,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34336,88 +26118,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - presentation: - identifiers: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - proof: - proofs: - - {} - requested_proof: - predicates: - key: {} presentation_exchange_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - presentation_proposal: - '@type': >- - did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/presentation-preview - attributes: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - mime-type: image/jpeg - name: favourite_drink - referent: '0' - value: martini - predicates: - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - name: high_score - predicate: '>=' - threshold: 0 - presentation_request: - name: Proof request - non_revoked: - from: 1640995199 - to: 1640995199 - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' - presentation_request_dict: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: verified thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -34473,154 +26174,19 @@ types: { "request": { "auto_verify": false, - "comment": "comment", - "presentation_request": { - "indy": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - }, - "trace": false, - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, + "comment": "comment", + "presentation_request": {}, + "trace": false, + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -34720,100 +26286,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -34832,100 +26305,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -34998,20 +26378,6 @@ types: "response": { "body": [ { - "cred_info": { - "attrs": { - "key": "alice", - }, - "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "cred_rev_id": "12345", - "referent": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "interval": { - "from": 1640995199, - "to": 1640995199, - }, "presentation_referents": [ "1_age_uuid", "1_age_uuid", @@ -35044,154 +26410,57 @@ types: }, }, "extra_query": { - "docs": "(JSON) object mapping referents to extra WQL queries", - "type": "optional", - "validation": { - "format": undefined, - "maxLength": undefined, - "minLength": undefined, - "pattern": "^{\s*".*?"\s*:\s*{.*?}\s*(,\s*".*?"\s*:\s*{.*?}\s*)*\s*}$", - }, - }, - "referent": { - "docs": "Proof request referents of interest, comma-separated", - "type": "optional", - }, - "start": { - "docs": "Start index", - "type": "optional", - "validation": { - "format": undefined, - "maxLength": undefined, - "minLength": undefined, - "pattern": "^[0-9]*$", - }, - }, - }, - }, - "response": { - "docs": "", - "type": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "get_pres_ex_record": { - "auth": true, - "display-name": "Fetch a single presentation exchange record", - "docs": undefined, - "examples": [ - { - "path-parameters": { - "pres_ex_id": "pres_ex_id", - }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, + "docs": "(JSON) object mapping referents to extra WQL queries", + "type": "optional", + "validation": { + "format": undefined, + "maxLength": undefined, + "minLength": undefined, + "pattern": "^{\s*".*?"\s*:\s*{.*?}\s*(,\s*".*?"\s*:\s*{.*?}\s*)*\s*}$", + }, + }, + "referent": { + "docs": "Proof request referents of interest, comma-separated", + "type": "optional", + }, + "start": { + "docs": "Start index", + "type": "optional", + "validation": { + "format": undefined, + "maxLength": undefined, + "minLength": undefined, + "pattern": "^[0-9]*$", + }, + }, + }, + }, + "response": { + "docs": "", + "type": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "get_pres_ex_record": { + "auth": true, + "display-name": "Fetch a single presentation exchange record", + "docs": undefined, + "examples": [ + { + "path-parameters": { + "pres_ex_id": "pres_ex_id", + }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35281,45 +26550,7 @@ types: "auto_verify": false, "comment": "comment", "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_request": { - "indy": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - }, + "presentation_request": {}, "trace": false, }, "response": { @@ -35330,104 +26561,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35498,153 +26632,18 @@ types: "auto_present": true, "comment": "comment", "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "presentation_proposal": { - "indy": { - "name": "Proof request", - "nonce": "1", - "requested_attributes": { - "key": { - "name": "favouriteDrink", - "names": [ - "age", - "age", - ], - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "requested_predicates": { - "key": { - "name": "index", - "p_type": ">=", - "p_value": 0, - "restrictions": [ - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - { - "key": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - }, - ], - }, - }, - "version": "1.0", - }, - }, + "presentation_proposal": {}, "trace": false, }, - "response": { - "body": { - "auto_present": false, - "auto_verify": true, - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, + "response": { + "body": { + "auto_present": false, + "auto_verify": true, + "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2021-12-31 23:59:59+00:00", + "error_msg": "Invalid structure", + "initiator": "self", + "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35716,24 +26715,6 @@ types: "pres_ex_id": "pres_ex_id", }, "request": { - "indy": { - "requested_attributes": { - "key": { - "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "revealed": true, - }, - }, - "requested_predicates": { - "key": { - "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "timestamp": 1640995199, - }, - }, - "self_attested_attributes": { - "key": "self_attested_value", - }, - "trace": false, - }, "trace": true, }, "response": { @@ -35744,104 +26725,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -35915,104 +26799,7 @@ types: "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -36079,105 +26866,8 @@ types: "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2021-12-31 23:59:59+00:00", "error_msg": "Invalid structure", - "initiator": "self", - "pres": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "pres_proposal": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "proposals~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - }, - "pres_request": { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "@type": "https://didcomm.org/my-family/1.0/my-message-type", - "comment": "comment", - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/presentation-exchange/submission@v1.0", - }, - ], - "request_presentations~attach": [ - { - "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "byte_count": 1234, - "data": { - "base64": "ey4uLn0=", - "json": { - "key": "value", - }, - "links": [ - "https://link.to/data", - "https://link.to/data", - ], - "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb", - }, - "description": "view from doorway, facing east, with lights off", - "filename": "IMG1092348.png", - "lastmod_time": "2021-12-31 23:59:59+00:00", - "mime-type": "image/png", - }, - ], - "will_confirm": true, - }, + "initiator": "self", + "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "role": "prover", "state": "proposal-sent", "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", @@ -36294,28 +26984,7 @@ service: - request: auto_verify: false comment: comment - presentation_request: - indy: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' + presentation_request: {} trace: false response: body: @@ -36325,77 +26994,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36444,73 +27043,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36526,73 +27059,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36627,77 +27094,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36767,19 +27164,7 @@ service: pres_ex_id: pres_ex_id response: body: - - cred_info: - attrs: - key: alice - cred_def_id: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - cred_rev_id: '12345' - referent: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - rev_reg_id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - interval: - from: 1640995199 - to: 1640995199 - presentation_referents: + - presentation_referents: - 1_age_uuid - 1_age_uuid report_pres_ex_problem: @@ -36840,18 +27225,6 @@ service: - path-parameters: pres_ex_id: pres_ex_id request: - indy: - requested_attributes: - key: - cred_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - revealed: true - requested_predicates: - key: - cred_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - timestamp: 1640995199 - self_attested_attributes: - key: self_attested_value - trace: false trace: true response: body: @@ -36861,77 +27234,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -36980,77 +27283,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37081,81 +27314,11 @@ service: body: auto_present: false auto_verify: true - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - error_msg: Invalid structure - initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png + connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + created_at: '2021-12-31 23:59:59+00:00' + error_msg: Invalid structure + initiator: self pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37203,28 +27366,7 @@ service: auto_present: true comment: comment connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_proposal: - indy: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' + presentation_proposal: {} trace: false response: body: @@ -37234,77 +27376,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37349,28 +27421,7 @@ service: auto_verify: false comment: comment connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - presentation_request: - indy: - name: Proof request - nonce: '1' - requested_attributes: - key: - name: favouriteDrink - names: - - age - - age - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - requested_predicates: - key: - name: index - p_type: '>=' - p_value: 0 - restrictions: - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - - key: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - version: '1.0' + presentation_request: {} trace: false response: body: @@ -37380,77 +27431,7 @@ service: created_at: '2021-12-31 23:59:59+00:00' error_msg: Invalid structure initiator: self - pres: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png pres_ex_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - pres_proposal: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - proposals~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - pres_request: - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - '@type': https://didcomm.org/my-family/1.0/my-message-type - comment: comment - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/presentation-exchange/submission@v1.0 - request_presentations~attach: - - '@id': 3fa85f64-5717-4562-b3fc-2c963f66afa6 - byte_count: 1234 - data: - base64: ey4uLn0= - json: - key: value - links: - - https://link.to/data - - https://link.to/data - sha256: >- - 617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb - description: view from doorway, facing east, with lights off - filename: IMG1092348.png - lastmod_time: '2021-12-31 23:59:59+00:00' - mime-type: image/png - will_confirm: true role: prover state: proposal-sent thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 @@ -37664,24 +27645,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -37851,24 +27814,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38156,24 +28101,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38227,14 +28154,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "ver": "1.0", - }, - "revoc_reg_entry": { - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38244,39 +28163,6 @@ docs: did resolver interface. "updated_at": "2021-12-31 23:59:59+00:00", }, }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -38334,24 +28220,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38418,39 +28286,6 @@ docs: did resolver interface. ], }, }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, }, }, }, @@ -38604,24 +28439,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38729,24 +28546,6 @@ docs: did resolver interface. ], "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "revoc_def_type": "CL_ACCUM", - "revoc_reg_def": { - "credDefId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag", - "id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", - "revocDefType": "CL_ACCUM", - "tag": "tag", - "value": { - "maxCredNum": 10, - "tailsHash": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV", - }, - "ver": "1.0", - }, - "revoc_reg_entry": { - "value": { - "accum": "21 11792B036AED0AAA12A4 4 298B2571FFC63A737", - "prevAccum": "21 137AC810975E4 6 76F0384B6F23", - }, - "ver": "1.0", - }, "revoc_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0", "state": "active", "tag": "tag", @@ -38902,21 +28701,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39002,21 +28786,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39096,30 +28865,6 @@ service: key: - '12345' - '12345' - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' get_created_registries: path: /revocation/registries/created method: GET @@ -39209,21 +28954,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39273,21 +29003,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39336,13 +29051,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - ver: '1.0' - revoc_reg_entry: - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39351,30 +29059,6 @@ service: tails_local_path: tails_local_path tails_public_uri: tails_public_uri updated_at: '2021-12-31 23:59:59+00:00' - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' publish_revocation_registry_entry: path: /revocation/registry/{rev_reg_id}/entry method: POST @@ -39414,21 +29098,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39581,21 +29250,6 @@ service: - '23' record_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 revoc_def_type: CL_ACCUM - revoc_reg_def: - credDefId: WgWxqztrNooG92RXvxSTWv:3:CL:20:tag - id: >- - WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 - revocDefType: CL_ACCUM - tag: tag - value: - maxCredNum: 10 - tailsHash: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV - ver: '1.0' - revoc_reg_entry: - value: - accum: 21 11792B036AED0AAA12A4 4 298B2571FFC63A737 - prevAccum: 21 137AC810975E4 6 76F0384B6F23 - ver: '1.0' revoc_reg_id: >- WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0 state: active @@ -39896,55 +29550,7 @@ types: "schema_version": "1.0", }, "response": { - "body": { - "sent": { - "schema": { - "attrNames": [ - "score", - "score", - ], - "id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - "name": "schema_name", - "seqNo": 10, - "ver": "1.0", - "version": "1.0", - }, - "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0", - }, - "txn": { - "_type": "101", - "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "created_at": "2021-12-31 23:59:59+00:00", - "endorser_write_txn": true, - "formats": [ - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - { - "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "format": "dif/endorse-transaction/request@v1.0", - }, - ], - "messages_attach": [ - {}, - {}, - ], - "signature_request": [ - {}, - {}, - ], - "signature_response": [ - {}, - {}, - ], - "state": "active", - "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "trace": true, - "transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "updated_at": "2021-12-31 23:59:59+00:00", - }, - }, + "body": {}, }, }, ], @@ -40093,42 +29699,7 @@ service: schema_name: prefs schema_version: '1.0' response: - body: - sent: - schema: - attrNames: - - score - - score - id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - name: schema_name - seqNo: 10 - ver: '1.0' - version: '1.0' - schema_id: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0 - txn: - _type: '101' - connection_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - created_at: '2021-12-31 23:59:59+00:00' - endorser_write_txn: true - formats: - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - - attach_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - format: dif/endorse-transaction/request@v1.0 - messages_attach: - - {} - - {} - signature_request: - - {} - - {} - signature_response: - - {} - - {} - state: active - thread_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - trace: true - transaction_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - updated_at: '2021-12-31 23:59:59+00:00' + body: {} get_matching_created_schemas: path: /schemas/created method: GET 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..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,6 +1083,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "Transcript": { "docs": "A transcript object", + "inline": undefined, "properties": { "acoustic_model": { "availability": "deprecated", @@ -1332,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": { @@ -1345,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", @@ -1363,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.", @@ -1414,6 +1447,7 @@ The default value is 'en_us'. }, "TranscriptList": { "docs": undefined, + "inline": undefined, "properties": { "page_details": "PageDetails", "transcripts": "list", @@ -1424,6 +1458,7 @@ The default value is 'en_us'. }, "TranscriptListItem": { "docs": undefined, + "inline": undefined, "properties": { "audio_url": "string", "completed": "optional", @@ -1438,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", @@ -1477,6 +1513,7 @@ The default value is 'en_us'. }, "TranscriptParagraph": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -1499,6 +1536,7 @@ The default value is 'en_us'. }, "TranscriptSentence": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -1545,6 +1583,7 @@ The default value is 'en_us'. }, "TranscriptUtterance": { "docs": undefined, + "inline": undefined, "properties": { "channel": "string", "confidence": { @@ -1568,6 +1607,7 @@ The default value is 'en_us'. }, "TranscriptWord": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -1590,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", @@ -1602,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", @@ -1626,6 +1668,7 @@ The default value is 'en_us'. }, "WordSearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the transcript", @@ -2107,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 @@ -2129,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: @@ -2637,6 +2682,7 @@ types: denotes supertopic/subtopic relationship source: openapi: ../openapi.yml + inline: true TopicDetectionResult: docs: THe result of the topic detection model. properties: @@ -2962,6 +3008,7 @@ types: - map source: openapi: ../openapi.yml + inline: true LemurBaseParameters: properties: transcript_ids: @@ -2999,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 e30fe4b42d1..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,6 +954,7 @@ service: "types": { "StartIgnitionResponse": { "docs": "", + "inline": undefined, "properties": { "data": "StartIgnitionResponseData", "success": { @@ -952,6 +967,7 @@ service: }, "StartIgnitionResponseData": { "docs": undefined, + "inline": true, "properties": { "ignitionToken": { "docs": "The unique ID for the ignition session.", @@ -981,6 +997,7 @@ types: docs: The unique ID for the ignition session. source: openapi: ../openapi.yml + inline: true StartIgnitionResponse: docs: '' properties: @@ -1170,6 +1187,7 @@ service: "types": { "GetPolicyResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -1355,6 +1373,7 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not "types": { "ExchangeTokenResponse": { "docs": "", + "inline": undefined, "properties": { "data": "ExchangeTokenResponseData", "success": { @@ -1367,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.", @@ -1408,6 +1428,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true ExchangeTokenResponse: docs: '' properties: 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..39e9371429b 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": { @@ -276,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. @@ -313,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.", @@ -372,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.", @@ -404,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.", @@ -420,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.", @@ -565,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": { @@ -579,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.", @@ -596,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.", @@ -623,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.", @@ -647,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.", @@ -675,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.", @@ -707,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", @@ -719,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.", @@ -743,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.", @@ -755,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", }, @@ -766,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", }, @@ -807,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": { @@ -862,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.", @@ -889,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.", @@ -961,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": { @@ -979,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": { @@ -992,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": { @@ -1010,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": { @@ -1025,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", }, @@ -1039,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.", @@ -1057,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", @@ -1068,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.", @@ -1128,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", }, @@ -1142,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.", @@ -1171,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", }, @@ -1186,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.", @@ -1227,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", }, @@ -1241,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", @@ -1276,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", @@ -1288,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.", @@ -1300,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": { @@ -1361,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": { @@ -1417,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.", @@ -1437,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. @@ -1548,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", }, @@ -1562,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.", @@ -1590,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.", @@ -1630,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.", @@ -1658,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", }, @@ -1672,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.", @@ -1699,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. @@ -1747,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. @@ -1795,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`.", @@ -1853,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", }, @@ -1871,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`.", @@ -1929,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", }, @@ -1947,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. @@ -2019,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.", @@ -2048,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", }, @@ -2062,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. @@ -2140,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", @@ -2151,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", @@ -2173,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", @@ -2184,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", @@ -2199,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", }, @@ -2208,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.", @@ -2220,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. @@ -2238,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", }, @@ -2247,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", }, @@ -2256,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", }, @@ -2265,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.", @@ -2281,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.", @@ -2297,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.", @@ -2322,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.", @@ -2347,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.", @@ -2407,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.", @@ -2482,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). @@ -2496,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`. @@ -2521,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. @@ -2551,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. @@ -2569,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. @@ -2613,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. @@ -2636,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.", @@ -3745,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).", @@ -3785,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", @@ -3805,6 +3887,7 @@ We return one of the following enum values: }, "EyodIncomeVerificationBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumIncomeVerificationAccountCategory", "account_holder_id": { @@ -3866,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).", @@ -3890,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.", @@ -3906,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", @@ -3918,6 +4004,7 @@ We return one of the following enum values: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3932,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", }, @@ -3941,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.", @@ -4071,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.", @@ -4170,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.", @@ -4197,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: @@ -4277,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. @@ -4291,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. @@ -4323,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: @@ -4371,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. @@ -4403,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. @@ -4435,6 +4532,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFeature": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The description of the feature.", @@ -4451,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: @@ -4491,6 +4590,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFormFieldValues": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The code of the document.", @@ -4523,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.", @@ -4550,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. @@ -4582,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. @@ -4614,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. @@ -4646,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. @@ -4704,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.", @@ -4797,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.", @@ -4813,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.", @@ -4837,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.", @@ -4853,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.", @@ -4869,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.", @@ -4896,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.", @@ -4955,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.", @@ -4984,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.", @@ -5051,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`.", @@ -5275,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. @@ -5330,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`. @@ -5349,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. @@ -5367,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.", @@ -5591,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`. @@ -5659,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`. @@ -5702,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. @@ -5751,6 +5873,7 @@ Possible statuses are: }, "InvoicesPaymentsSat": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The invoice amount, in the currency of the original invoice. @@ -5828,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`. @@ -5894,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. @@ -5962,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. @@ -6016,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.", @@ -6045,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", }, @@ -6059,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.", @@ -6075,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.", @@ -6091,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.", @@ -6107,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.", @@ -6123,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.", @@ -6139,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.", @@ -6155,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": { @@ -6228,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. @@ -6266,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", }, @@ -6275,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", }, @@ -6284,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).", @@ -6308,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", @@ -6326,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", @@ -6344,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", @@ -6362,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", @@ -6380,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", @@ -6398,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", @@ -6416,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", @@ -6434,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", @@ -6452,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", @@ -6470,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", @@ -6488,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", @@ -6509,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", @@ -6527,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).", @@ -6551,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. @@ -6583,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.", @@ -6605,6 +6759,7 @@ For `not_found` errors, the description is: }, "OFPI": { "docs": "Details about the payment method.", + "inline": undefined, "properties": { "open_finance": { "type": "optional", @@ -6616,6 +6771,7 @@ For `not_found` errors, the description is: }, "Owner": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The accounts owners registered address.", @@ -6709,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.", @@ -6738,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.", @@ -6765,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", @@ -6776,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.", @@ -6800,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.", @@ -6838,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.", @@ -6870,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", @@ -6881,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. @@ -6931,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.", @@ -6987,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`.", @@ -7115,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", }, @@ -7129,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.", @@ -7156,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.", @@ -7194,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.", @@ -7232,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, @@ -7287,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`.", @@ -7385,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", }, @@ -7441,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. @@ -7463,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.", @@ -7479,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. @@ -7555,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. @@ -7631,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. @@ -7700,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.", @@ -7729,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", }, @@ -7743,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. @@ -7812,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.", @@ -7847,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.", @@ -7867,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.", @@ -7891,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`.", @@ -7904,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. @@ -7984,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", }, @@ -7998,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`.", @@ -8044,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.", @@ -8071,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.", @@ -8098,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. @@ -8118,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.", @@ -8145,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.", @@ -8161,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": { @@ -8228,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.", @@ -8247,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.", @@ -8263,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.", @@ -8290,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": { @@ -8303,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.", @@ -8333,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": { @@ -8381,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.", @@ -8408,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*)", @@ -8424,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. @@ -8456,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. @@ -8480,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.", @@ -8521,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). @@ -8602,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). @@ -8663,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. @@ -8693,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. @@ -8721,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.", @@ -8748,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. @@ -8924,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. @@ -8956,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.", @@ -8983,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. @@ -9015,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.", @@ -9043,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).", @@ -9087,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.", @@ -9135,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.", @@ -9180,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.", @@ -9207,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", @@ -9263,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.", @@ -9290,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": { @@ -9346,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.", @@ -9373,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.", @@ -9407,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": { @@ -9437,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). @@ -9561,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.", @@ -9589,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.", @@ -9676,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.", @@ -9747,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.", @@ -9836,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.", @@ -9899,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.", @@ -9927,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.", @@ -9954,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, @@ -10002,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.", @@ -10030,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.", @@ -10057,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, @@ -10104,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`. @@ -10122,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.", @@ -10138,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`. @@ -10190,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. @@ -10242,6 +10483,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusDian": { "docs": undefined, + "inline": undefined, "properties": { "address": "optional", "collected_at": { @@ -10332,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. @@ -10377,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.", @@ -10422,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`. @@ -10465,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. @@ -10505,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.", @@ -10534,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", }, @@ -10548,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`. @@ -10582,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. @@ -10616,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": { @@ -10703,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. @@ -10779,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. @@ -10855,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. @@ -10912,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, @@ -10943,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. @@ -10975,6 +11231,7 @@ For `too_many_sessions` errors, the description is: }, "Transaction": { "docs": undefined, + "inline": undefined, "properties": { "account": "optional", "accounting_date": { @@ -11072,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.", @@ -11096,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", }, @@ -11110,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`.", @@ -11144,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.", @@ -11164,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.", @@ -11191,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.", @@ -11253,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. @@ -11286,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. @@ -11318,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. @@ -11350,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. @@ -11382,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. @@ -14657,6 +14925,7 @@ types: - type: InvoiceDian source: openapi: ../openapi.yml + inline: true InvoicesResponsePaginatedResponse: properties: count: @@ -15648,6 +15917,7 @@ types: - type: TaxStatusDian source: openapi: ../openapi.yml + inline: true TaxStatusPaginatedResponse: properties: count: @@ -18891,6 +19161,7 @@ types: - type: CustomerPse source: openapi: ../openapi.yml + inline: true CustomerPaginatedResponse: properties: count: @@ -19045,6 +19316,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true OFPI: docs: Details about the payment method. properties: @@ -19059,6 +19331,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true BankAccountOfpiResponse: properties: id: @@ -19183,6 +19456,7 @@ types: - BankAccountPseResponse source: openapi: ../openapi.yml + inline: true BankAccountPaginatedResponse: properties: count: @@ -19217,6 +19491,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpiDetails: discriminated: false docs: Information regarding the bank account. @@ -19225,6 +19500,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpi: properties: institution: @@ -19454,6 +19730,7 @@ types: - type: PaymentLinkListPse source: openapi: ../openapi.yml + inline: true PaymentLinkPaginatedResponse: properties: count: @@ -19562,6 +19839,7 @@ types: - float source: openapi: ../openapi.yml + inline: true CreatePaymentLinkOfpi: properties: amount: @@ -19628,6 +19906,7 @@ types: - long source: openapi: ../openapi.yml + inline: true CreatePaymentLinkPse: properties: amount: @@ -19764,6 +20043,7 @@ types: - type: BankAccountDetailsOpenFinancePix source: openapi: ../openapi.yml + inline: true BeneficiaryBankAccountOfpi: properties: id: @@ -20086,6 +20366,7 @@ types: - type: TransactionBankAccountPse source: openapi: ../openapi.yml + inline: true PaymentTransaction: properties: id: @@ -20152,6 +20433,7 @@ types: - type: OFPI source: openapi: ../openapi.yml + inline: true Charge: properties: id: @@ -20268,6 +20550,7 @@ types: - type: BUSINESS source: openapi: ../openapi.yml + inline: true PaymentIntentOfpi: properties: id: @@ -20796,6 +21079,7 @@ types: - type: LastErrorSessionExpired source: openapi: ../openapi.yml + inline: true PaymentIntentPse: properties: id: @@ -21352,7 +21636,6 @@ client.connect() "current": 4523.48, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -21369,27 +21652,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "c21f3914-bcbe-44c4-a2e8-a5e33f6888d4", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -21530,7 +21797,6 @@ client.connect() "current": 4049.85, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -21540,34 +21806,16 @@ client.connect() "cutting_date": "2021-04-11", "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 690, - "monthly_payment": 1.1, "next_payment_date": "2021-03-31", "no_interest_payment": 11550.15, }, "currency": "MXN", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -21708,7 +21956,6 @@ client.connect() "current": 34708.36, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "LOAN_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -21725,27 +21972,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -21887,7 +22118,6 @@ client.connect() "current": 26305.33, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "PENSION_FUND_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -21945,7 +22175,6 @@ client.connect() "name": "erebor_br_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T08:19:05Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -22086,7 +22315,6 @@ client.connect() "current": 4978436.05, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -22103,27 +22331,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "COP", - "funds_data": [ - { - "balance": 88427.94, - "collected_at": "2020-04-23T21:32:55Z", - "name": "FIX X", - "percentage": 100, - "public_identifications": [ - { - "name": "CNPJ", - "value": "05.954.445/0221-68", - }, - ], - "type": "CNPJ", - }, - ], "id": "3d5b0f90-90df-455d-a647-5b74feb746f6", "institution": { "name": "erebor_co_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -22712,7 +22924,6 @@ client.connect() "current": 4523.48, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -22729,17 +22940,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "c21f3914-bcbe-44c4-a2e8-a5e33f6888d4", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -22900,7 +23105,6 @@ client.connect() "current": 4049.85, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -22910,24 +23114,16 @@ client.connect() "cutting_date": "2021-04-11", "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 690, - "monthly_payment": 1.1, "next_payment_date": "2021-03-31", "no_interest_payment": 11550.15, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -23088,7 +23284,6 @@ client.connect() "current": 34708.36, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "LOAN_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -23105,17 +23300,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -23277,7 +23466,6 @@ client.connect() "current": 26305.33, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "PENSION_FUND_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -23335,7 +23523,6 @@ client.connect() "name": "erebor_br_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T08:19:05Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -23496,7 +23683,6 @@ client.connect() "current": 4978436.05, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -23513,17 +23699,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "COP", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "3d5b0f90-90df-455d-a647-5b74feb746f6", "institution": { "name": "erebor_co_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -23728,7 +23908,6 @@ client.connect() "current": 4523.48, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -23745,17 +23924,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "c21f3914-bcbe-44c4-a2e8-a5e33f6888d4", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -23907,7 +24080,6 @@ client.connect() "current": 4049.85, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -23917,24 +24089,16 @@ client.connect() "cutting_date": "2021-04-11", "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 690, - "monthly_payment": 1.1, "next_payment_date": "2021-03-31", "no_interest_payment": 11550.15, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -24086,7 +24250,6 @@ client.connect() "current": 34708.36, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "LOAN_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -24103,17 +24266,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "0f82c5db-13a2-43c7-a69a-e036160aba3a", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2022-02-01T20:25:47Z", "link": "57f212dc-1ba4-407f-b7f0-15a5e5ff17ae", "loan_data": { @@ -24266,7 +24423,6 @@ client.connect() "current": 26305.33, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "PENSION_FUND_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -24324,7 +24480,6 @@ client.connect() "name": "erebor_br_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T08:19:05Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -24476,7 +24631,6 @@ client.connect() "current": 4978436.05, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -24493,17 +24647,11 @@ client.connect() "no_interest_payment": 2690.83, }, "currency": "COP", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "3d5b0f90-90df-455d-a647-5b74feb746f6", "institution": { "name": "erebor_co_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "fbbb5ea7-4605-437f-b5c5-667fd037a303", "loan_data": { @@ -25084,15 +25232,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -25200,8 +25344,6 @@ service: no_interest_payment: 11550.15 interest_rate: 4 end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -25230,15 +25372,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -25377,15 +25515,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -25549,8 +25683,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -25688,15 +25820,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -25888,15 +26016,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -26013,8 +26137,6 @@ service: no_interest_payment: 11550.15 interest_rate: 4 end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -26043,15 +26165,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -26199,15 +26317,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -26380,8 +26494,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -26528,15 +26640,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -26733,22 +26841,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -26847,8 +26944,6 @@ service: no_interest_payment: 11550.15 interest_rate: 4 end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -26877,22 +26972,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -27022,22 +27106,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -27192,8 +27265,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -27322,22 +27393,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' - name: FIX X - type: CNPJ - public_identifications: - - name: CNPJ - value: 05.954.445/0221-68 - balance: 88427.94 - percentage: 100 receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification code-samples: - language: cURL code: | @@ -27925,7 +27985,6 @@ client.connect() "current": 146.81, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-06-17T03:20:41Z", "created_at": "2021-10-27T16:18:15Z", @@ -28006,7 +28065,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, }, @@ -28161,7 +28219,6 @@ client.connect() "body": { "count": 385, "next": "https://sandbox.belvo.com/api/balances/?page=2", - "previous": "previous", "results": [ { "account": { @@ -28199,7 +28256,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, ], @@ -28484,7 +28540,6 @@ client.connect() "current": 146.81, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-06-17T03:20:41Z", "created_at": "2021-10-27T16:18:15Z", @@ -28534,7 +28589,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, ], @@ -28690,7 +28744,6 @@ client.connect() "current": 146.81, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "CHECKING_ACCOUNT", "collected_at": "2022-06-17T03:20:41Z", "created_at": "2021-10-27T16:18:15Z", @@ -28740,7 +28793,6 @@ client.connect() "collected_at": "2022-04-06T23:30:51Z", "current_balance": 4.25, "id": "b834e69b-1aa4-465d-969c-07c886a4fbed", - "statement": "statement", "value_date": "2022-04-04", }, ], @@ -29037,7 +29089,6 @@ service: body: count: 385 next: https://sandbox.belvo.com/api/balances/?page=2 - previous: previous results: - id: b834e69b-1aa4-465d-969c-07c886a4fbed account: @@ -29070,7 +29121,6 @@ service: value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -29275,12 +29325,10 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: 9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -29452,12 +29500,10 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: 9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -29649,12 +29695,10 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: 9fa5fab9-e2b7-4bd7-8413-71ed9bb94b4c value_date: '2022-04-04' balance: 4.25 current_balance: 4.25 - statement: statement collected_at: '2022-04-06T23:30:51Z' code-samples: - language: cURL @@ -30250,7 +30294,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "created_at": "2023-02-15T07:52:31Z", @@ -30300,7 +30343,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "created_at": "2023-02-15T07:52:31Z", @@ -30348,7 +30390,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "created_at": "2023-02-15T07:52:31Z", @@ -30461,6 +30502,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -30477,6 +30519,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -30491,6 +30534,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -30599,7 +30643,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb created_at: '2023-02-15T07:52:31Z' @@ -30639,7 +30682,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2023-02-15T07:52:31Z' @@ -30677,7 +30719,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2023-02-15T07:52:31Z' @@ -31000,7 +31041,6 @@ types: "currency": "BRL", "description": "OXXO SP", "institution": "BCO DO BRASIL", - "mcc": 2345, "merchant": { "logo": "https://storage.googleapis.com/new-cdn.mercafacil.com/wl_assets/dynamic/65d84ba0-a2f3-11ed-8928-dd578f525074-MOBILE_1OCo1.png", "merchant_name": "Merchants R Us Global", @@ -31153,7 +31193,6 @@ service: amount: 999.9 currency: BRL institution: BCO DO BRASIL - mcc: 2345 category: Income & Payments subcategory: Freelance merchant: @@ -31411,7 +31450,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Rua de Caetano Veloso 432, 70200 Brasilia", @@ -31461,7 +31499,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Rua de Caetano Veloso 432, 70200 Brasilia", @@ -31511,7 +31548,6 @@ docs: >- "body": { "count": 110, "next": "https://api.belvo.com/payments/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Calle Carlos Vives 432, 80300 Bogota", @@ -31616,6 +31652,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -31632,6 +31669,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -31648,6 +31686,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -31751,7 +31790,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2022-02-09T08:45:50Z' @@ -31792,7 +31830,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2022-02-09T08:45:50Z' @@ -31833,7 +31870,6 @@ service: body: count: 110 next: https://api.belvo.com/payments/{endpoint}/?page=2 - previous: previous results: - id: 7c2be016-37e3-44e2-8643-db2eb1129a3f created_at: '2022-02-09T08:45:50Z' @@ -37778,7 +37814,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Pago", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -38339,7 +38374,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Traslado", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -38556,7 +38590,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -38774,7 +38807,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -38814,7 +38846,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Pago", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -38993,7 +39024,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -39212,7 +39242,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -39430,7 +39459,6 @@ client.connect() "body": { "count": 110, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cancelation_status": "cancelation_status", @@ -39470,7 +39498,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Traslado", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -40287,7 +40314,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Pago", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -40903,7 +40929,6 @@ client.connect() "invoice_identification": "862B9918-3K6H-4E0B-NAI9-2BE2D833B840", "invoice_type": "Traslado", "link": "1bd948f7-245d-4313-b604-34d1044cb908", - "payment_method": "PUE", "payment_method_description": "payment_method_description", "payment_type": "99", "payment_type_description": "payment_type_description", @@ -41059,6 +41084,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", }, @@ -41075,6 +41101,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", }, @@ -41091,6 +41118,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", }, @@ -41316,7 +41344,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -41505,7 +41532,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -41528,7 +41554,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: P01 version: '3.3' @@ -41695,7 +41720,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -41885,7 +41909,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -42074,7 +42097,6 @@ service: body: count: 110 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 90d90e38-0087-4b6d-b6dc-94ea561bb9cb link: 1bd948f7-245d-4313-b604-34d1044cb908 @@ -42097,7 +42119,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: G03 version: '3.3' @@ -42518,7 +42539,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: P01 version: '3.3' @@ -43038,7 +43058,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: G03 version: '3.3' @@ -43609,7 +43628,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: P01 version: '3.3' @@ -44080,7 +44098,6 @@ service: certification_authority: FGV330542BG6 payment_type: '99' payment_type_description: payment_type_description - payment_method: PUE payment_method_description: payment_method_description usage: G03 version: '3.3' @@ -47305,13 +47322,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "2b22f123-7c3a-4518-9ac2-863eb5d4613c", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, }, }, @@ -47452,7 +47466,6 @@ client.connect() "body": { "count": 108, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": "Retorno Gran Canaria 453 723 @@ -47465,13 +47478,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "c749315b-eec2-435d-a458-06912878564f", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, ], }, @@ -47689,13 +47699,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "2b22f123-7c3a-4518-9ac2-863eb5d4613c", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, ], }, @@ -47843,13 +47850,10 @@ Cancun, COL 10447", "document_type": "CPF", }, "email": "maria@acme.com", - "first_name": "first_name", "id": "2b22f123-7c3a-4518-9ac2-863eb5d4613c", "internal_identification": "7e5838e4", - "last_name": "last_name", "link": "c38fb126-fc98-4d6c-8c80-587a97dd56cf", "phone_number": "90090508357", - "second_last_name": "second_last_name", }, ], }, @@ -48011,7 +48015,6 @@ service: body: count: 108 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: c749315b-eec2-435d-a458-06912878564f link: c38fb126-fc98-4d6c-8c80-587a97dd56cf @@ -48027,9 +48030,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -48154,9 +48154,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -48290,9 +48287,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -48430,9 +48424,6 @@ service: document_id: document_type: CPF document_number: 235578435-S - first_name: first_name - last_name: last_name - second_last_name: second_last_name code-samples: - language: cURL code: | @@ -49743,6 +49734,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", }, @@ -50377,6 +50369,7 @@ types: - long source: openapi: ../openapi.yml + inline: true ", }, "paymentLinks.yml": { @@ -50786,6 +50779,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -50802,6 +50796,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -50818,6 +50813,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -59212,6 +59208,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", }, @@ -59228,6 +59225,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", }, @@ -59244,6 +59242,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", }, @@ -62663,7 +62662,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -62969,7 +62967,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -63129,7 +63126,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -63297,7 +63293,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "cifras_cierre_ejercicio": { @@ -63570,7 +63565,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -65612,6 +65606,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65634,6 +65629,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65656,6 +65652,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65672,6 +65669,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65881,7 +65879,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 02589c41-ba22-4d44-8558-8111cc751318 link: 19697249-01b8-443e-a451-76bfc5fbeebf @@ -66101,7 +66098,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 0d3ffb69-f83b-456e-ad8e-208d0998d71d collected_at: '2022-02-09T08:45:50Z' @@ -66239,7 +66235,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 0d3ffb69-f83b-456e-ad8e-208d0998d71d collected_at: '2022-02-09T08:45:50Z' @@ -66385,7 +66380,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 02589c41-ba22-4d44-8558-8111cc751318 collected_at: '2022-02-09T08:45:50Z' @@ -66623,7 +66617,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 0d3ffb69-f83b-456e-ad8e-208d0998d71d collected_at: '2022-02-09T08:45:50Z' @@ -69811,7 +69804,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -69826,7 +69818,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Asalariado", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -69837,13 +69828,11 @@ client.connect() "link": "401d5a8e-79e2-472e-a1ca-8f4646f5cb24", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -69869,7 +69858,6 @@ client.connect() "phone": "667507132", "rfc": "GGTF770303G7", "second_last_name": "Robin", - "social_name": "John Doe SA DE CV", "start_operations_date": "2000-06-01", "status_padron": "ACTIVO", }, @@ -69969,7 +69957,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -69984,7 +69971,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Otros servicios profesionales, científicos y técnicos", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -69995,13 +69981,11 @@ client.connect() "link": "0b2edc42-7214-4c68-b22e-ae6885bf7c07", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -70018,15 +70002,10 @@ client.connect() }, ], "tax_payer_information": { - "commercial_name": "Jar Jar Transport", - "curp": "curp", "email": "contact@acne.com", - "first_last_name": "DOE", "last_status_change_date": "1995-08-01", - "name": "JOHN", "phone": "555507122", "rfc": "GHTF980303F7", - "second_last_name": "SCHMOE", "social_name": "ACNE SA DE CV", "start_operations_date": "1995-08-01", "status_padron": "ACTIVO", @@ -70167,7 +70146,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": { @@ -70334,7 +70312,6 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "address": { @@ -70605,7 +70582,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -70620,7 +70596,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Asalariado", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -70631,13 +70606,11 @@ client.connect() "link": "401d5a8e-79e2-472e-a1ca-8f4646f5cb24", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -70663,7 +70636,6 @@ client.connect() "phone": "667507132", "rfc": "GGTF770303G7", "second_last_name": "Robin", - "social_name": "John Doe SA DE CV", "start_operations_date": "2000-06-01", "status_padron": "ACTIVO", }, @@ -70773,7 +70745,6 @@ client.connect() ], "exterior_number": "4360", "interior_number": "PLANTA BAJA", - "locality": "none", "municipality": "ALTOS DE MIRAMAR", "postal_code": "21255", "state": "CIUDAD DE MEXICO", @@ -70788,7 +70759,6 @@ client.connect() "economic_activity": [ { "economic_activity": "Otros servicios profesionales, científicos y técnicos", - "end_date": "end_date", "initial_date": "2014-11-05", "order": "1", "percentage": "100", @@ -70799,13 +70769,11 @@ client.connect() "link": "0b2edc42-7214-4c68-b22e-ae6885bf7c07", "obligations": [ { - "end_date": "end_date", "expiration": "Conjuntamente con la declaración anual del ejercicio.", "initial_date": "2004-03-31", "obligation": "Declaración informativa de IVA con la anual de ISR", }, { - "end_date": "end_date", "expiration": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.", "initial_date": "2004-03-31", "obligation": "Pago definitivo mensual de IVA.", @@ -70822,15 +70790,10 @@ client.connect() }, ], "tax_payer_information": { - "commercial_name": "Jar Jar Transport", - "curp": "curp", "email": "contact@acne.com", - "first_last_name": "DOE", "last_status_change_date": "1995-08-01", - "name": "JOHN", "phone": "555507122", "rfc": "GHTF980303F7", - "second_last_name": "SCHMOE", "social_name": "ACNE SA DE CV", "start_operations_date": "1995-08-01", "status_padron": "ACTIVO", @@ -70901,6 +70864,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", }, @@ -70917,6 +70881,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", }, @@ -71052,7 +71017,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: e88d29d1-3dc6-407f-825c-a9b50453e349 link: 401d5a8e-79e2-472e-a1ca-8f4646f5cb24 @@ -71193,7 +71157,6 @@ service: body: count: 101 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 6de34cb3-bf0d-445d-b832-7ec7781e2c6f link: 0b2edc42-7214-4c68-b22e-ae6885bf7c07 @@ -71390,7 +71353,6 @@ service: status_padron: ACTIVO last_status_change_date: '2000-06-01' commercial_name: Alfredo Gonzalo Robin - social_name: John Doe SA DE CV email: alfredo@robin.com phone: '667507132' address: @@ -71400,7 +71362,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -71409,7 +71370,6 @@ service: economic_activity: - economic_activity: Asalariado initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -71422,13 +71382,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/09/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -71524,14 +71482,9 @@ service: id_cif: '2274235873432' tax_payer_information: rfc: GHTF980303F7 - curp: curp - name: JOHN - first_last_name: DOE - second_last_name: SCHMOE start_operations_date: '1995-08-01' status_padron: ACTIVO last_status_change_date: '1995-08-01' - commercial_name: Jar Jar Transport social_name: ACNE SA DE CV email: contact@acne.com phone: '555507122' @@ -71542,7 +71495,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -71551,7 +71503,6 @@ service: economic_activity: - economic_activity: Otros servicios profesionales, científicos y técnicos initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -71562,13 +71513,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/04/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -71708,7 +71657,6 @@ service: status_padron: ACTIVO last_status_change_date: '2000-06-01' commercial_name: Alfredo Gonzalo Robin - social_name: John Doe SA DE CV email: alfredo@robin.com phone: '667507132' address: @@ -71718,7 +71666,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -71727,7 +71674,6 @@ service: economic_activity: - economic_activity: Asalariado initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -71740,13 +71686,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/09/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -71832,14 +71776,9 @@ service: id_cif: '2274235873432' tax_payer_information: rfc: GHTF980303F7 - curp: curp - name: JOHN - first_last_name: DOE - second_last_name: SCHMOE start_operations_date: '1995-08-01' status_padron: ACTIVO last_status_change_date: '1995-08-01' - commercial_name: Jar Jar Transport social_name: ACNE SA DE CV email: contact@acne.com phone: '555507122' @@ -71850,7 +71789,6 @@ service: exterior_number: '4360' interior_number: PLANTA BAJA suburb: BUENAVENTURA - locality: none municipality: ALTOS DE MIRAMAR state: CIUDAD DE MEXICO between_street: @@ -71859,7 +71797,6 @@ service: economic_activity: - economic_activity: Otros servicios profesionales, científicos y técnicos initial_date: '2014-11-05' - end_date: end_date order: '1' percentage: '100' regimes: @@ -71870,13 +71807,11 @@ service: - obligation: Declaración informativa de IVA con la anual de ISR expiration: Conjuntamente con la declaración anual del ejercicio. initial_date: '2004-03-31' - end_date: end_date - obligation: Pago definitivo mensual de IVA. expiration: >- A más tardar el día 17 del mes inmediato posterior al periodo que corresponda. initial_date: '2004-03-31' - end_date: end_date digital_stamp: >- ||2020/04/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN FISCAL|2044441088666600000034|| @@ -72601,7 +72536,6 @@ client.connect() "current": 4.09, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -72799,7 +72733,6 @@ client.connect() "current": 5874.13, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -72807,26 +72740,17 @@ client.connect() "collected_at": "2022-02-09T08:45:50Z", "credit_limit": 192000, "cutting_date": "2019-12-11", - "end_date": "end_date", "interest_rate": 4, - "last_payment_date": "last_payment_date", "minimum_payment": 2400, - "monthly_payment": 1.1, "next_payment_date": "2019-12-01", "no_interest_payment": 37390.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "02589c41-ba22-4d44-8558-8111cc751318", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "30cb4806-6e00-48a4-91c9-ca55968576c8", "loan_data": { @@ -73087,7 +73011,6 @@ client.connect() "body": { "count": 198, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "account": { @@ -73289,7 +73212,6 @@ client.connect() "body": { "count": 198, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "account": { @@ -73490,7 +73412,6 @@ client.connect() "body": { "count": 198, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", - "previous": "previous", "results": [ { "account": { @@ -74148,7 +74069,6 @@ client.connect() "current": 4.09, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -74335,7 +74255,6 @@ client.connect() "current": 5874.13, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -74349,17 +74268,11 @@ client.connect() "no_interest_payment": 37390.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "02589c41-ba22-4d44-8558-8111cc751318", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "30cb4806-6e00-48a4-91c9-ca55968576c8", "loan_data": { @@ -74761,7 +74674,6 @@ client.connect() "current": 4.09, }, "balance_type": "ASSET", - "bank_product_id": "bank_product_id", "category": "SAVINGS_ACCOUNT", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -74953,7 +74865,6 @@ client.connect() "current": 5874.13, }, "balance_type": "LIABILITY", - "bank_product_id": "bank_product_id", "category": "CREDIT_CARD", "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", @@ -74967,17 +74878,11 @@ client.connect() "no_interest_payment": 37390.83, }, "currency": "MXN", - "funds_data": [ - { - "collected_at": "2020-04-23T21:32:55Z", - }, - ], "id": "02589c41-ba22-4d44-8558-8111cc751318", "institution": { "name": "erebor_mx_retail", "type": "bank", }, - "internal_identification": "internal_identification", "last_accessed_at": "2021-03-09T10:28:40Z", "link": "30cb4806-6e00-48a4-91c9-ca55968576c8", "loan_data": { @@ -75607,7 +75512,6 @@ service: body: count: 198 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: e5588958-48f2-427c-9300-945207532f5d internal_identification: LCzHexIyHi @@ -75787,7 +75691,6 @@ service: body: count: 198 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: e5588958-48f2-427c-9300-945207532f5d internal_identification: '0089608418' @@ -75966,7 +75869,6 @@ service: body: count: 198 next: https://sandbox.belvo.com/api/{endpoint}/?page=2 - previous: previous results: - id: 076c66e5-90f5-4e01-99c7-50e32f65ae42 internal_identification: TXpRMU9UQTROMWhZV2xSU1FUazJSMDl @@ -76356,7 +76258,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: '996685090015' collected_at: '2022-07-20T22:09:33Z' created_at: '2022-07-20T22:09:35Z' @@ -76511,15 +76412,11 @@ service: outstanding_balance: 182000 monthly_payment: 1000 contract_end_date: '2027-10-01' - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification collected_at: '2022-02-09T08:45:50Z' created_at: '2022-02-09T08:45:50Z' value_date: '2019-10-23' @@ -77024,7 +76921,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: '996685090015' collected_at: '2022-07-20T22:09:33Z' created_at: '2022-07-20T22:09:35Z' @@ -77174,15 +77070,11 @@ service: outstanding_balance: 182000 monthly_payment: 1000 contract_end_date: '2027-10-01' - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification collected_at: '2022-02-09T08:45:50Z' created_at: '2022-02-09T08:45:50Z' value_date: '2019-10-23' @@ -77562,7 +77454,6 @@ service: available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id internal_identification: '996685090015' collected_at: '2022-07-20T22:09:33Z' created_at: '2022-07-20T22:09:35Z' @@ -77688,9 +77579,6 @@ service: minimum_payment: 2400 no_interest_payment: 37390.83 interest_rate: 4 - end_date: end_date - monthly_payment: 1.1 - last_payment_date: last_payment_date loan_data: collected_at: '2022-02-09T08:45:50Z' contract_amount: 202000 @@ -77719,15 +77607,11 @@ service: cutting_date: cutting_date last_payment_date: last_payment_date no_interest_payment: 1.1 - funds_data: - - collected_at: '2020-04-23T21:32:55Z' receivables_data: current: 2193.83 available: 800.37 anticipated: 1393.46 collected_at: '2022-02-09T08:45:50Z' - bank_product_id: bank_product_id - internal_identification: internal_identification collected_at: '2022-02-09T08:45:50Z' created_at: '2022-02-09T08:45:50Z' value_date: '2019-10-23' 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..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,6 +8,7 @@ "types": { "Game": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "complete": "GameComplete", @@ -44,6 +45,7 @@ }, "GameComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -57,6 +59,7 @@ }, "GameExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -69,6 +72,7 @@ }, "GamePhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "photo": "string", @@ -89,6 +93,7 @@ }, "Group": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "date": { @@ -124,6 +129,7 @@ }, "GroupGamesItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "complete": "GroupGamesItemComplete", @@ -158,6 +164,7 @@ }, "GroupGamesItemComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -171,6 +178,7 @@ }, "GroupGamesItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -183,6 +191,7 @@ }, "GroupPhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -204,6 +213,7 @@ }, "GroupPlayersItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "email": { @@ -245,6 +255,7 @@ }, "GroupPlayersItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -257,6 +268,7 @@ }, "Photo": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "id": "optional", @@ -277,6 +289,7 @@ }, "PhotoProcessedItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -299,6 +312,7 @@ }, "Player": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "email": { @@ -340,6 +354,7 @@ }, "PlayerExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -352,6 +367,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "hidden": "optional", "id": "optional", @@ -393,6 +409,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true GameExtraFieldsItem: properties: key: string @@ -401,6 +418,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GameComplete: properties: completed_at: datetime @@ -410,6 +428,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true Game: properties: id: optional @@ -440,6 +459,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupGamesItemComplete: properties: completed_at: datetime @@ -449,6 +469,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true GroupGamesItem: properties: id: optional @@ -469,6 +490,7 @@ complete: GroupGamesItemComplete source: openapi: ../openapi.yml + inline: true GroupPlayersItemExtraFieldsItem: properties: key: string @@ -477,6 +499,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupPlayersItem: properties: added_at: optional @@ -499,6 +522,7 @@ signature: optional source: openapi: ../openapi.yml + inline: true GroupPhotosItem: properties: added_at: optional @@ -511,6 +535,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Group: properties: id: optional @@ -540,6 +565,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true Player: properties: id: optional @@ -575,6 +601,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Photo: properties: id: optional @@ -1293,6 +1320,7 @@ "types": { "ListAccountsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1321,6 +1349,7 @@ }, "ListGamesResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1349,6 +1378,7 @@ }, "ListGroupsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1377,6 +1407,7 @@ }, "ListLocationsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1405,6 +1436,7 @@ }, "ListPhotosResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1433,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 15bfe45a120..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,6 +99,7 @@ "types": { "Agreement": { "docs": undefined, + "inline": undefined, "properties": { "agreement_title": "string", "agreement_type": "string", @@ -113,6 +114,7 @@ }, "AgreementClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -124,6 +126,7 @@ "AgreementList": "list", "AgreementListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "AgreementList", "page": "optional", @@ -134,6 +137,7 @@ }, "AgreementMsa": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -144,6 +148,7 @@ }, "AgreementProviderLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -162,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", @@ -173,6 +179,7 @@ }, "AlternateEmailItem": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "isVerified": "boolean", @@ -187,6 +194,7 @@ }, "ApiError": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "A description of the returned error", @@ -203,6 +211,7 @@ }, "ApiErrorContainer": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "request": "optional", @@ -213,6 +222,7 @@ }, "ApiErrorRequest": { "docs": undefined, + "inline": undefined, "properties": { "api_req_id": { "docs": "The request ID of the failed request", @@ -249,6 +259,7 @@ }, "BasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client": "ClientOfBasicContract", "created_at": "optional", @@ -291,6 +302,7 @@ }, "BasicInvoiceAdjustment": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", "contract": "BasicInvoiceAdjustmentContract", @@ -317,6 +329,7 @@ }, "BasicInvoiceAdjustmentContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -328,6 +341,7 @@ }, "BasicInvoiceAdjustmentPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -338,6 +352,7 @@ }, "BasicInvoiceAdjustmentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -348,6 +363,7 @@ }, "BasicInvoiceAdjustmentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -360,6 +376,7 @@ }, "BasicInvoiceAdjustmentWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -408,6 +425,7 @@ }, "BasicLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "entity_subtype": "LegalEntitySubType", "entity_type": "LegalEntityType", @@ -420,6 +438,7 @@ }, "BasicOrganization": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -438,6 +457,7 @@ }, "BasicTeam": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -456,6 +476,7 @@ }, "BasicTimesheet": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", "contract": "BasicTimesheetContract", @@ -488,6 +509,7 @@ }, "BasicTimesheetContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -499,6 +521,7 @@ }, "BasicTimesheetPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -509,6 +532,7 @@ }, "BasicTimesheetReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -519,6 +543,7 @@ }, "BasicTimesheetReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -531,6 +556,7 @@ }, "BasicTimesheetWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -579,6 +605,7 @@ }, "ClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "id": "long", @@ -594,6 +621,7 @@ }, "ClientOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "team": "optional", }, @@ -603,6 +631,7 @@ }, "ClientOfContract": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "full_name": "string", @@ -616,6 +645,7 @@ }, "CompensationDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "amount": "string", "currency_code": "CurrencyCodeRequired", @@ -633,6 +663,7 @@ }, "CompensationDetailsOfContractToCreateOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -643,6 +674,7 @@ }, "CompensationDetailsOfContractToCreatePayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -653,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.", @@ -708,6 +741,7 @@ }, "Contract": { "docs": undefined, + "inline": undefined, "properties": { "client": "optional", "compensation_details": "CompensationDetailsOfContract", @@ -757,6 +791,7 @@ }, "ContractContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -766,6 +801,7 @@ }, "ContractContainerOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -775,6 +811,7 @@ }, "ContractContainerPayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -784,6 +821,7 @@ }, "ContractContainerPaygMilestones": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -793,6 +831,7 @@ }, "ContractContainerPaygTasks": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -802,6 +841,7 @@ }, "ContractCustomField": { "docs": "Customized attributes on contracts (Employee ID, Project code, etc).", + "inline": undefined, "properties": { "name": { "docs": "Custom field property name.", @@ -818,6 +858,7 @@ }, "ContractDetailsToAmend": { "docs": "You can specify any combination of data points that need changing.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -897,6 +938,7 @@ }, "ContractDocumentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -906,6 +948,7 @@ }, "ContractExternalIdPatchedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractExternalIdToPatch", }, @@ -916,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.", @@ -938,6 +982,7 @@ }, "ContractInvitationToCreate": { "docs": undefined, + "inline": undefined, "properties": { "email": "EmailTypeRequired", "message": { @@ -958,6 +1003,7 @@ "ContractList": "list", "ContractListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractList", "page": "PageInfo", @@ -971,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", }, @@ -981,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.", @@ -1004,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", @@ -1055,6 +1104,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1067,6 +1117,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1079,6 +1130,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1091,6 +1143,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1101,6 +1154,7 @@ }, "ContractSignatureToCreate": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "Signature of client.", @@ -1151,6 +1205,7 @@ "ContractTemplateList": "list", "ContractTemplateListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -1160,6 +1215,7 @@ }, "ContractTemplateSummary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier of a contract template", @@ -1176,6 +1232,7 @@ }, "ContractTerminationResult": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": { "docs": "Date the contract is marked for completion", @@ -1192,6 +1249,7 @@ }, "ContractTerminationResultContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractTerminationResult", }, @@ -1203,6 +1261,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1218,6 +1277,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreateOngoingTimeBasedCompensationDetails", "type": "literal<"ongoing_time_based">", @@ -1228,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.", @@ -1287,6 +1348,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreatePayAsYouGoTimeBasedCompensationDetails", "type": "literal<"pay_as_you_go_time_based">", @@ -1297,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.", @@ -1356,6 +1419,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_milestones">", @@ -1369,6 +1433,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_tasks">", @@ -1379,6 +1444,7 @@ }, "ContractToCreateShared": { "docs": "Details of contract to create", + "inline": undefined, "properties": { "client": "ContractToCreateSharedClient", "country_code": "optional", @@ -1426,6 +1492,7 @@ }, "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.", @@ -1442,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", }, @@ -1451,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", }, @@ -1460,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.", @@ -1482,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", }, @@ -1491,6 +1562,7 @@ }, "ContractToCreateSharedWorker": { "docs": "Worker properties", + "inline": true, "properties": { "expected_email": "optional", "first_name": { @@ -1520,6 +1592,7 @@ }, "ContractToTerminate": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": "optional", "message": { @@ -1581,6 +1654,7 @@ }, "Contractor": { "docs": undefined, + "inline": undefined, "properties": { "name": { "default": "", @@ -1605,6 +1679,7 @@ }, "Country": { "docs": undefined, + "inline": undefined, "properties": { "code": "CountryCode", "eor_support": { @@ -1659,6 +1734,7 @@ "CountryList": "list", "CountryListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CountryList", }, @@ -1668,6 +1744,7 @@ }, "CreateTimeoff": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "End date of employee's time off.", @@ -1708,6 +1785,7 @@ }, "CreateTimeoffContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CreateTimeoff", }, @@ -1728,6 +1806,7 @@ }, "Currency": { "docs": undefined, + "inline": undefined, "properties": { "code": "CurrencyCodeRequired", "name": { @@ -1767,6 +1846,7 @@ "CurrencyList": "list", "CurrencyListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CurrencyList", }, @@ -1834,6 +1914,7 @@ }, "EmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "birth_date": "optional", "client_legal_entity": "optional", @@ -1865,6 +1946,7 @@ }, "EmployeeListClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "name": "optional", @@ -1875,6 +1957,7 @@ }, "EmployeeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -1884,6 +1967,7 @@ }, "EmployeeListMonthlyPayment": { "docs": undefined, + "inline": true, "properties": { "count": "optional", }, @@ -1893,6 +1977,7 @@ }, "EmployeeListPaymentsItem": { "docs": undefined, + "inline": true, "properties": { "contract_name": "optional", "currency": "optional", @@ -1905,6 +1990,7 @@ }, "Employment": { "docs": undefined, + "inline": undefined, "properties": { "client_legal_entity": { "docs": "The client legal entity associated with the employment.", @@ -1997,6 +2083,7 @@ }, "EmploymentDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "country": "optional", "days_per_week": "double", @@ -2015,6 +2102,7 @@ }, "EorClientTimeoffRequests": { "docs": undefined, + "inline": undefined, "properties": { "current_approved": { "docs": "Days off approved.", @@ -2048,6 +2136,7 @@ }, "EorClientTimeoffs": { "docs": undefined, + "inline": undefined, "properties": { "employees": { "docs": "List of employee time offs.", @@ -2061,6 +2150,7 @@ }, "EorClientTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorClientTimeoffs", }, @@ -2070,6 +2160,7 @@ }, "EorContractCreated": { "docs": undefined, + "inline": undefined, "properties": { "client": "optional", "compensation_details": "optional", @@ -2095,6 +2186,7 @@ }, "EorContractCreatedClient": { "docs": undefined, + "inline": true, "properties": { "legal_entity": "optional", }, @@ -2104,6 +2196,7 @@ }, "EorContractCreatedClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "name": { "docs": "Legal entity name.", @@ -2116,6 +2209,7 @@ }, "EorContractCreatedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Currency of gross annual salary.", @@ -2140,6 +2234,7 @@ }, "EorContractCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorContractCreated", }, @@ -2149,6 +2244,7 @@ }, "EorContractCreatedEmployee": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "Employee's email.", @@ -2173,6 +2269,7 @@ }, "EorContractCreatedEmployment": { "docs": undefined, + "inline": true, "properties": { "calculated_holidays": { "docs": "Number of calculate holidays for this contract.", @@ -2211,6 +2308,7 @@ }, "EorContractCreatedHealthPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Health plan ID", @@ -2227,6 +2325,7 @@ }, "EorContractToCreate": { "docs": undefined, + "inline": undefined, "properties": { "client": "EorContractToCreateClient", "compensation_details": "EorContractToCreateCompensationDetails", @@ -2252,6 +2351,7 @@ }, "EorContractToCreateClient": { "docs": undefined, + "inline": true, "properties": { "legal_entity": "optional", "team": "optional", @@ -2262,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.", @@ -2274,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.", @@ -2286,6 +2388,7 @@ }, "EorContractToCreateCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Salary currency.", @@ -2310,6 +2413,7 @@ }, "EorContractToCreateEmployee": { "docs": undefined, + "inline": true, "properties": { "address": "optional", "email": { @@ -2335,6 +2439,7 @@ }, "EorContractToCreateEmployeeAddress": { "docs": undefined, + "inline": true, "properties": { "city": { "docs": "City name.", @@ -2360,6 +2465,7 @@ }, "EorContractToCreateEmployment": { "docs": undefined, + "inline": true, "properties": { "country": "optional", "end_date": "optional", @@ -2426,6 +2532,7 @@ }, "EorContractToCreateQuoteAdditionalFields": { "docs": "Some countries require additional employee information for employment contracts.", + "inline": true, "properties": { "dob": { "docs": "Employee's date of birth.", @@ -2456,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".", @@ -2468,6 +2576,7 @@ }, "EorCountryValidations": { "docs": undefined, + "inline": undefined, "properties": { "adjustments_information_box": { "docs": "Country specific notes and information.", @@ -2526,6 +2635,7 @@ }, "EorCountryValidationsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorCountryValidations", }, @@ -2535,6 +2645,7 @@ }, "EorCountryValidationsDefiniteContract": { "docs": "Conditions to make definitive contract.", + "inline": true, "properties": { "maximum_limitation": "optional", "type": "optional", @@ -2555,6 +2666,7 @@ }, "EorCountryValidationsHealthInsurance": { "docs": undefined, + "inline": true, "properties": { "providers": "optional>", "status": "optional", @@ -2565,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.", @@ -2577,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.", @@ -2600,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.", @@ -2616,6 +2731,7 @@ }, "EorCountryValidationsProbation": { "docs": "Probation period range.", + "inline": true, "properties": { "max": { "docs": "Maximum probation days allowed for a legally compliant contract.", @@ -2632,6 +2748,7 @@ }, "EorCountryValidationsSalary": { "docs": "Salary range.", + "inline": true, "properties": { "max": { "docs": "Maximum wage allowed for a legally compliant contract.", @@ -2648,6 +2765,7 @@ }, "EorCountryValidationsSickDays": { "docs": undefined, + "inline": true, "properties": { "max": { "docs": "Maximum number of sick days allowed for a legally compliant contract.", @@ -2664,6 +2782,7 @@ }, "EorCountryValidationsWorkSchedule": { "docs": "Employee's Work schedule in days and hours.", + "inline": true, "properties": { "days": "optional", "hours": "optional", @@ -2674,6 +2793,7 @@ }, "EorCountryValidationsWorkScheduleDays": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -2683,6 +2803,7 @@ }, "EorCountryValidationsWorkScheduleHours": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -2692,6 +2813,7 @@ }, "EorEntitlementListItem": { "docs": "Entitlement Item for a given year.", + "inline": undefined, "properties": { "max_rollover_yearly": "optional", "other_leave_approved": { @@ -2759,6 +2881,7 @@ }, "EorEntitlements": { "docs": "Time-off Entitlements for EOR contracts.", + "inline": undefined, "properties": { "entitlements": { "docs": "List of entitlements.", @@ -2771,6 +2894,7 @@ }, "EorEntitlementsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorEntitlements", }, @@ -2796,6 +2920,7 @@ }, "EorTimeoffsBaseItem": { "docs": undefined, + "inline": undefined, "properties": { "attachments": "optional", "date_is_half_day": { @@ -2870,6 +2995,7 @@ }, "EorTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffs", }, @@ -2879,6 +3005,7 @@ }, "EorTimeoffsEmployeeItem": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": "string", "eor_contract_id": "double", @@ -2907,6 +3034,7 @@ "extends": [ "EorTimeoffsBaseItem", ], + "inline": undefined, "properties": { "applied_changes": { "docs": "List of changes applied to the time off.", @@ -2937,6 +3065,7 @@ }, "EorTimeoffsItemContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffsItem", }, @@ -2946,6 +3075,7 @@ }, "EstimateFirstPayment": { "docs": "Details of pro rata payment to create.", + "inline": undefined, "properties": { "compensation_details": "EstimateFirstPaymentCompensationDetails", "country_code": "CountryCode", @@ -2958,6 +3088,7 @@ }, "EstimateFirstPaymentCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -3020,6 +3151,7 @@ }, "ExchangeRates": { "docs": undefined, + "inline": undefined, "properties": { "rates": "optional>", "risk": "optional", @@ -3030,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.", @@ -3046,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.", @@ -3092,6 +3226,7 @@ }, "FinalPaymentCalculated": { "docs": undefined, + "inline": undefined, "properties": { "calculation_type": { "docs": "Either works days or calendar days", @@ -3142,6 +3277,7 @@ }, "FinalPaymentCalculatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "FinalPaymentCalculated", }, @@ -3151,6 +3287,7 @@ }, "FinalPaymentCalculatedLastCycle": { "docs": "The last payment cycle.", + "inline": true, "properties": { "completion_date": "optional", "end": "optional", @@ -3162,6 +3299,7 @@ }, "FirstPaymentDate": { "docs": "First payment date", + "inline": undefined, "properties": { "due": "optional", }, @@ -3171,6 +3309,7 @@ }, "GenericReportReviewCreated": { "docs": undefined, + "inline": undefined, "properties": { "id": "UniqueObjectIdentifier", "public_id": "optional", @@ -3182,6 +3321,7 @@ }, "GenericReportReviewCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericReportReviewCreatedList", }, @@ -3192,6 +3332,7 @@ "GenericReportReviewCreatedList": "list", "GenericResultCreated": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericResultCreatedData", }, @@ -3201,6 +3342,7 @@ }, "GenericResultCreatedData": { "docs": undefined, + "inline": true, "properties": { "created": "boolean", }, @@ -3210,6 +3352,7 @@ }, "GenericResultDeleted": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericResultDeletedData", }, @@ -3219,6 +3362,7 @@ }, "GenericResultDeletedData": { "docs": undefined, + "inline": true, "properties": { "deleted": { "docs": "Confirms the deletion.", @@ -3231,6 +3375,7 @@ }, "GenericResultUpdated": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericResultUpdatedData", }, @@ -3240,6 +3385,7 @@ }, "GenericResultUpdatedData": { "docs": undefined, + "inline": true, "properties": { "updated": "boolean", }, @@ -3249,6 +3395,7 @@ }, "HealthInsuranceProvider": { "docs": "Health insurance provider.", + "inline": undefined, "properties": { "attachments": { "docs": "File attachments.", @@ -3300,6 +3447,7 @@ }, "HealthInsuranceProviderAttachmentsItem": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "label": "optional", @@ -3310,6 +3458,7 @@ }, "HealthInsuranceProviderPlansItem": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Insurance payment currency.", @@ -3346,6 +3495,7 @@ }, "HrisCompensation": { "docs": undefined, + "inline": undefined, "properties": { "currency": { "type": "string", @@ -3364,6 +3514,7 @@ }, "HrisContractBase": { "docs": undefined, + "inline": undefined, "properties": { "contract_oid": { "docs": "The Hris Direct employee contract ID", @@ -3382,6 +3533,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3392,6 +3544,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": { "part_time_percentage": { "docs": "required if employmentType is "PART_TIME"", @@ -3411,6 +3564,7 @@ }, "HrisDirectEmployee": { "docs": undefined, + "inline": undefined, "properties": { "compensation": "HrisCompensation", "contract": "HrisDirectEmployeeContract", @@ -3425,6 +3579,7 @@ }, "HrisDirectEmployeeContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "HrisDirectEmployeeResponse", }, @@ -3448,6 +3603,7 @@ }, "HrisDirectEmployeeDetails": { "docs": undefined, + "inline": undefined, "properties": { "country": { "type": "string", @@ -3521,6 +3677,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3534,6 +3691,7 @@ "extends": [ "HrisDirectEmployee", ], + "inline": undefined, "properties": { "id": { "docs": "The Hris Direct employee ID", @@ -3546,6 +3704,7 @@ }, "HrisDirectEmployeeVacationInfo": { "docs": undefined, + "inline": true, "properties": { "vacation_accrual_start_date": { "type": "string", @@ -3573,6 +3732,7 @@ }, "HrisJobInformationBase": { "docs": undefined, + "inline": undefined, "properties": { "seniority_id": "double", }, @@ -3585,6 +3745,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_id": "double", }, @@ -3597,6 +3758,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_name": "string", }, @@ -3606,6 +3768,7 @@ }, "HrisTeamInformation": { "docs": undefined, + "inline": undefined, "properties": { "legal_entity_id": "double", "team_id": "double", @@ -3616,6 +3779,7 @@ }, "InputToDeletePgoTask": { "docs": undefined, + "inline": undefined, "properties": { "data": "PgoTaskToDelete", }, @@ -3625,6 +3789,7 @@ }, "InputToShieldContract": { "docs": undefined, + "inline": undefined, "properties": { "data": "InputToShieldContractData", }, @@ -3634,6 +3799,7 @@ }, "InputToShieldContractData": { "docs": undefined, + "inline": true, "properties": { "agreement_id": { "docs": "MSA contract id (agreement).", @@ -3646,6 +3812,7 @@ }, "InvitationsOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_email": "optional", "worker_email": "optional", @@ -3656,6 +3823,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Billed amount.", @@ -3718,6 +3886,7 @@ "BasicInvoiceAdjustment", "InvoiceAdjustmentApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3725,6 +3894,7 @@ }, "InvoiceAdjustmentApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -3737,6 +3907,7 @@ "InvoiceAdjustmentApproverList": "list", "InvoiceAdjustmentApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "InvoiceAdjustmentApproverList", }, @@ -3746,6 +3917,7 @@ }, "InvoiceAdjustmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustment", }, @@ -3755,6 +3927,7 @@ }, "InvoiceAdjustmentCreated": { "docs": "Details of invoice adjustment created.", + "inline": undefined, "properties": { "created": "boolean", "created_at": "optional", @@ -3768,6 +3941,7 @@ }, "InvoiceAdjustmentCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentCreated", }, @@ -3778,6 +3952,7 @@ "InvoiceAdjustmentList": "list", "InvoiceAdjustmentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentList", "page": "PageInfoWithoutCursorNew", @@ -3788,6 +3963,7 @@ }, "InvoiceAdjustmentReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "InvoiceAdjustmentReviewToCreateStatus", @@ -3807,6 +3983,7 @@ }, "InvoiceAdjustmentReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -3827,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", @@ -3883,6 +4061,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3895,6 +4074,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3907,6 +4087,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3922,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.", @@ -3959,6 +4141,7 @@ "InvoiceAdjustmentToCreate", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3966,6 +4149,7 @@ }, "InvoiceAdjustmentToUpdate": { "docs": "Details of invoice adjustment to update.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -4042,6 +4226,7 @@ }, "InvoiceContract": { "docs": undefined, + "inline": undefined, "properties": { "contract_type": { "docs": "Type of Deel contract.", @@ -4077,6 +4262,7 @@ }, "InvoiceDownloadContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceDownloadObject", }, @@ -4086,6 +4272,7 @@ }, "InvoiceDownloadObject": { "docs": undefined, + "inline": undefined, "properties": { "expires_at": { "docs": "Expiration date time of download URL.", @@ -4107,6 +4294,7 @@ "InvoiceList": "list", "InvoiceListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceObject", }, @@ -4116,6 +4304,7 @@ }, "InvoiceObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -4165,6 +4354,7 @@ }, "JobTitle": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for the job title in Deel platform.", @@ -4182,6 +4372,7 @@ "JobTitleList": "list", "JobTitleListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "JobTitleList", "page": "JobTitleListContainerPage", @@ -4192,6 +4383,7 @@ }, "JobTitleListContainerPage": { "docs": undefined, + "inline": true, "properties": { "cursor": { "docs": "Use for pagination to get next set of records after the given cursor.", @@ -4206,6 +4398,7 @@ "LegalEntityList": "list", "LegalEntityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -4225,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.", @@ -4238,6 +4432,7 @@ }, "Milestone": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -4279,6 +4474,7 @@ }, "MilestoneContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Milestone", }, @@ -4289,6 +4485,7 @@ "MilestoneList": "list", "MilestoneListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "MilestoneList", }, @@ -4298,6 +4495,7 @@ }, "MilestoneProperties": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -4318,6 +4516,7 @@ }, "MilestoneReportedBy": { "docs": "Milestone creator.", + "inline": true, "properties": { "full_name": { "docs": "Reporter's full name.", @@ -4334,6 +4533,7 @@ }, "MilestoneReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "MilestoneReviewToCreateStatus", @@ -4353,6 +4553,7 @@ }, "MilestoneReviewedBy": { "docs": "Reviewer's information.", + "inline": true, "properties": { "full_name": { "docs": "Reviewer's full name.", @@ -4369,6 +4570,7 @@ }, "MilestoneReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": "optional", @@ -4394,6 +4596,7 @@ "MilestoneProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4401,6 +4604,7 @@ }, "MonthlyPayment": { "docs": "Monthly payment details for the user", + "inline": undefined, "properties": { "count": { "docs": "The number of monthly payments", @@ -4506,6 +4710,7 @@ }, "OffCyclePayment": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount of off-cycle payment.", @@ -4530,6 +4735,7 @@ }, "OffCyclePaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePayment", }, @@ -4540,6 +4746,7 @@ "OffCyclePaymentList": "list", "OffCyclePaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePaymentList", }, @@ -4549,6 +4756,7 @@ }, "OffCyclePaymentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the creator.", @@ -4565,6 +4773,7 @@ }, "OffCyclePaymentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the reviewer.", @@ -4589,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.", @@ -4618,6 +4828,7 @@ "OrganizationList": "list", "OrganizationListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OrganizationList", }, @@ -4627,6 +4838,7 @@ }, "OutputToCreateFileRef": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "url": "string", @@ -4637,6 +4849,7 @@ }, "OutputToCreateFileRefContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OutputToCreateFileRef", }, @@ -4646,6 +4859,7 @@ }, "PageInfo": { "docs": undefined, + "inline": undefined, "properties": { "cursor": "string", "total_rows": "double", @@ -4656,6 +4870,7 @@ }, "PageInfoWithoutCursor": { "docs": undefined, + "inline": undefined, "properties": { "total_rows": "double", }, @@ -4665,6 +4880,7 @@ }, "PageInfoWithoutCursorNew": { "docs": undefined, + "inline": undefined, "properties": { "items_per_page": { "type": "double", @@ -4694,6 +4910,7 @@ }, "Payment": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp when the record was created.", @@ -4723,6 +4940,7 @@ }, "PaymentBreakDown": { "docs": undefined, + "inline": undefined, "properties": { "adjustment": "optional", "approve_date": "optional", @@ -4789,6 +5007,7 @@ }, "PaymentBreakDownContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -4799,6 +5018,7 @@ "PaymentList": "list", "PaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PaymentObject", }, @@ -4808,6 +5028,7 @@ }, "PaymentMethod": { "docs": undefined, + "inline": undefined, "properties": { "type": "PaymentMethodEnum", }, @@ -4843,6 +5064,7 @@ }, "PaymentObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -4853,6 +5075,7 @@ }, "PaymentStatementInitiatedWebhook": { "docs": undefined, + "inline": undefined, "properties": { "billing_invoices": "list", "invoices": "list", @@ -4874,6 +5097,7 @@ "PaymentStatusEnumList": "list", "PaymentWorker": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": { "docs": "The worker's Deel contract Id.", @@ -4896,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)", @@ -5036,6 +5261,7 @@ }, "PeopleClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the client legal entity.", @@ -5052,6 +5278,7 @@ }, "PeopleContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -5061,6 +5288,7 @@ }, "PeopleMe": { "docs": "People object representing a Deel", + "inline": undefined, "properties": { "avatar_url": { "docs": "URL of the user's avatar", @@ -5125,6 +5353,7 @@ "PeopleMeContainer": "PeopleMe", "PeoplePayment": { "docs": undefined, + "inline": undefined, "properties": { "contract_name": { "docs": "The name of the contract associated with the payment", @@ -5149,6 +5378,7 @@ }, "PgoTask": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -5172,6 +5402,7 @@ }, "PgoTaskReviewsByIdToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "docs": "Review comments.", @@ -5198,6 +5429,7 @@ }, "PgoTaskReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": { @@ -5225,6 +5457,7 @@ }, "PgoTaskToCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -5249,6 +5482,7 @@ }, "PgoTaskToDelete": { "docs": undefined, + "inline": undefined, "properties": { "delete_recurring_report": { "docs": "Request to delete recurring report.", @@ -5265,6 +5499,7 @@ }, "PremiumResultAdded": { "docs": undefined, + "inline": undefined, "properties": { "calculated_premium": { "docs": "Cost for Deel Premium.", @@ -5284,6 +5519,7 @@ }, "PremiumResultAddedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PremiumResultAdded", }, @@ -5293,6 +5529,7 @@ }, "PremiumResultAddedMisclassificationGuarantee": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Cover your legal defense costs.", @@ -5309,6 +5546,7 @@ }, "PremiumResultAddedPenalties": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Get indemnity against tax authority penalties, liabilities and fines.", @@ -5325,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.", @@ -5341,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?", @@ -5357,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", @@ -5446,6 +5687,7 @@ }, "ResponseEstimateFirstPayment": { "docs": undefined, + "inline": undefined, "properties": { "first_payment_dates": "optional>", "pro_rata": "optional", @@ -5456,6 +5698,7 @@ }, "ResponseEstimateFirstPaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ResponseEstimateFirstPayment", }, @@ -5465,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", @@ -5492,6 +5736,7 @@ "SeniorityList": "list", "SeniorityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "SeniorityList", }, @@ -5501,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.", @@ -5527,6 +5773,7 @@ }, "SignaturesOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signed_at": "optional", "worker_signature": { @@ -5541,6 +5788,7 @@ }, "SignaturesOfContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "normally name of client is used as signature", @@ -5569,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.", @@ -5598,6 +5847,7 @@ "TaskList": "list", "TaskListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TaskList", }, @@ -5607,6 +5857,7 @@ }, "Team": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the team.", @@ -5624,6 +5875,7 @@ "TeamList": "list", "TeamListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TeamList", }, @@ -5633,6 +5885,7 @@ }, "TeamOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -5649,6 +5902,7 @@ }, "TeamOfContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -5665,6 +5919,7 @@ }, "TimeoffReview": { "docs": undefined, + "inline": undefined, "properties": { "denial_reason": { "docs": "Denial reason for the time off requested.", @@ -5682,6 +5937,7 @@ "TimeoffTypeList": "list", "TimeoffTypeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimeoffTypeList", }, @@ -5695,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", @@ -5712,6 +5969,7 @@ }, "TimeoffsProfile": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "is_employee": { @@ -5755,6 +6013,7 @@ "BasicTimesheet", "TimesheetApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5763,6 +6022,7 @@ "TimesheetAccountingRefs": "optional>", "TimesheetAccountingRefsItem": { "docs": undefined, + "inline": undefined, "properties": { "integration": "string", "mapping_category": "optional", @@ -5773,6 +6033,7 @@ }, "TimesheetAccountingRefsItemMappingCategory": { "docs": undefined, + "inline": true, "properties": { "id": "string", "name": "string", @@ -5783,6 +6044,7 @@ }, "TimesheetApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -5795,6 +6057,7 @@ "TimesheetApproverList": "list", "TimesheetApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "TimesheetApproverList", }, @@ -5804,6 +6067,7 @@ }, "TimesheetContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Timesheet", }, @@ -5816,6 +6080,7 @@ "discriminated": false, "docs": "ID of an existing timesheet record", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5827,6 +6092,7 @@ "TimesheetList": "list", "TimesheetListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimesheetList", "page": "PageInfoWithoutCursor", @@ -5837,6 +6103,7 @@ }, "TimesheetReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "TimesheetReviewToCreateStatus", @@ -5856,6 +6123,7 @@ }, "TimesheetReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -5876,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", @@ -5932,6 +6201,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5944,6 +6214,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5956,6 +6227,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5966,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.", @@ -5998,6 +6271,7 @@ "TimesheetSharedProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6005,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", @@ -6022,6 +6297,7 @@ "discriminated": false, "docs": "Unique identifier of this resource.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6050,6 +6326,7 @@ }, "WebhookItem": { "docs": undefined, + "inline": undefined, "properties": { "api_version": { "default": "v1", @@ -6103,6 +6380,7 @@ }, "WebhookItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "WebhookItem", }, @@ -6122,6 +6400,7 @@ }, "WebhookListResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -6224,6 +6503,7 @@ }, "WorkerLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "personal_name": "string", "registration_number": "string", @@ -6235,6 +6515,7 @@ }, "WorkerOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "email": "optional", @@ -6256,6 +6537,7 @@ }, "WorkerOfContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "date_of_birth": "optional", @@ -6448,6 +6730,7 @@ - ContractTypeEnumList source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorStatuses: discriminated: false union: @@ -6455,6 +6738,7 @@ - ContractStatusEnum source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCountries: discriminated: false union: @@ -6462,6 +6746,7 @@ - CountryCode source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCurrencies: discriminated: false union: @@ -6469,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 @@ -6875,6 +7161,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreatePayAsYouGoTimeBased: properties: type: literal<"pay_as_you_go_time_based"> @@ -6935,6 +7222,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreateOngoingTimeBased: properties: type: literal<"ongoing_time_based"> @@ -6951,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 @@ -6959,6 +7248,7 @@ id: double source: openapi: ../openapi.yml + inline: true ContractToCreateSharedClient: properties: legal_entity: @@ -6973,6 +7263,7 @@ a list of teams in your organization. source: openapi: ../openapi.yml + inline: true ContractToCreateSharedJobTitle: docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled @@ -6988,6 +7279,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateSharedSeniority: docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve @@ -6996,6 +7288,7 @@ id: optional source: openapi: ../openapi.yml + inline: true ContractToCreateSharedWorker: docs: Worker properties properties: @@ -7012,6 +7305,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateShared: docs: Details of contract to create properties: @@ -7279,6 +7573,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicTimesheetReviewedBy: properties: id: double @@ -7287,6 +7582,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicTimesheetContract: properties: id: string @@ -7294,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 @@ -7476,6 +7775,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerTypes: discriminated: false union: @@ -7483,6 +7783,7 @@ - TimesheetTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerStatuses: discriminated: false union: @@ -7490,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 @@ -7533,6 +7835,7 @@ name: string source: openapi: ../openapi.yml + inline: true TimesheetAccountingRefsItem: properties: integration: string @@ -7547,6 +7850,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerTypes: discriminated: false union: @@ -7554,6 +7858,7 @@ - InvoiceAdjustmentTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerStatuses: discriminated: false union: @@ -7561,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 @@ -7625,6 +7931,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentReviewedBy: properties: id: double @@ -7633,6 +7940,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentContract: properties: id: string @@ -7640,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 @@ -7791,6 +8102,7 @@ created: boolean source: openapi: ../openapi.yml + inline: true GenericResultCreated: properties: data: GenericResultCreatedData @@ -7807,6 +8119,7 @@ updated: boolean source: openapi: ../openapi.yml + inline: true GenericResultUpdated: properties: data: GenericResultUpdatedData @@ -7819,6 +8132,7 @@ docs: Confirms the deletion. source: openapi: ../openapi.yml + inline: true GenericResultDeleted: properties: data: GenericResultDeletedData @@ -8083,6 +8397,7 @@ docs: Use for pagination to get next set of records after the given cursor. source: openapi: ../openapi.yml + inline: true JobTitleListContainer: properties: data: JobTitleList @@ -8307,6 +8622,7 @@ docs: Reviewer's full name. source: openapi: ../openapi.yml + inline: true MilestoneReportedBy: docs: Milestone creator. properties: @@ -8318,6 +8634,7 @@ docs: Reporter's full name. source: openapi: ../openapi.yml + inline: true Milestone: properties: id: @@ -8431,6 +8748,7 @@ work_week_end: optional source: openapi: ../openapi.yml + inline: true EstimateFirstPayment: docs: Details of pro rata payment to create. properties: @@ -8509,6 +8827,7 @@ docs: Remarks made during review process. source: openapi: ../openapi.yml + inline: true OffCyclePaymentReportedBy: properties: id: @@ -8519,6 +8838,7 @@ docs: Full name of the creator. source: openapi: ../openapi.yml + inline: true OffCyclePayment: properties: id: UniqueObjectIdentifier @@ -8677,18 +8997,21 @@ 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 @@ -8706,6 +9029,7 @@ docs: MSA contract id (agreement). source: openapi: ../openapi.yml + inline: true InputToShieldContract: properties: data: InputToShieldContractData @@ -8768,6 +9092,7 @@ completion_date: optional source: openapi: ../openapi.yml + inline: true FinalPaymentCalculatedCalculationType: enum: - CUSTOM_AMOUNT @@ -8814,6 +9139,7 @@ docs: Cover your legal defense costs. source: openapi: ../openapi.yml + inline: true PremiumResultAddedPenalties: properties: name: @@ -8824,6 +9150,7 @@ docs: Get indemnity against tax authority penalties, liabilities and fines. source: openapi: ../openapi.yml + inline: true PremiumResultAddedThirdPartyLiabilities: properties: name: @@ -8836,6 +9163,7 @@ court's decision. source: openapi: ../openapi.yml + inline: true PremiumResultAdded: properties: id: @@ -9001,6 +9329,7 @@ country: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmployee: properties: first_name: @@ -9018,6 +9347,7 @@ address: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmploymentType: enum: - value: Full-time @@ -9073,6 +9403,7 @@ chooseing "STANDARD" time_off_type. source: openapi: ../openapi.yml + inline: true EorContractToCreateSeniority: properties: id: @@ -9082,6 +9413,7 @@ for "Not Applicable". source: openapi: ../openapi.yml + inline: true EorContractToCreateClientLegalEntity: properties: id: @@ -9092,6 +9424,7 @@ your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClientTeam: properties: id: @@ -9101,12 +9434,14 @@ to retrieve a list of teams in your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClient: properties: legal_entity: optional team: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateCompensationDetails: properties: salary: @@ -9127,6 +9462,7 @@ PERCENTAGE or FIXED. source: openapi: ../openapi.yml + inline: true EorContractToCreateQuoteAdditionalFieldsWorkerType: enum: - Skilled @@ -9150,6 +9486,7 @@ docs: Employee's date of birth. source: openapi: ../openapi.yml + inline: true EorContractToCreate: properties: employee: optional @@ -9204,6 +9541,7 @@ docs: Number of calculate holidays for this contract. source: openapi: ../openapi.yml + inline: true EorContractCreatedClientLegalEntity: properties: name: @@ -9211,11 +9549,13 @@ docs: Legal entity name. source: openapi: ../openapi.yml + inline: true EorContractCreatedClient: properties: legal_entity: optional source: openapi: ../openapi.yml + inline: true EorContractCreatedCompensationDetails: properties: salary: @@ -9232,6 +9572,7 @@ docs: Type fo variable compensation. source: openapi: ../openapi.yml + inline: true EorContractCreatedEmployee: properties: legal_name: @@ -9248,6 +9589,7 @@ docs: Employee's email. source: openapi: ../openapi.yml + inline: true EorContractCreatedHealthPlan: properties: id: @@ -9258,6 +9600,7 @@ docs: Health plan name source: openapi: ../openapi.yml + inline: true EorContractCreated: properties: id: @@ -9285,6 +9628,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsPartTimeHolidayType: enum: - PRORATED @@ -9301,6 +9645,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsSickDays: properties: min: @@ -9311,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: @@ -9322,6 +9668,7 @@ docs: Maximum wage allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsProbation: docs: Probation period range. properties: @@ -9333,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: @@ -9344,16 +9692,19 @@ 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: @@ -9361,6 +9712,7 @@ hours: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsDefiniteContractType: enum: - ALLOWED_WITHOUT_LIMITATION @@ -9375,12 +9727,14 @@ maximum_limitation: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsHealthInsurance: properties: status: optional providers: optional> source: openapi: ../openapi.yml + inline: true EorCountryValidations: properties: holiday: @@ -9432,6 +9786,7 @@ label: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProviderPlansItem: properties: id: @@ -9449,6 +9804,7 @@ is_enabled: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProvider: docs: Health insurance provider. properties: @@ -9766,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 @@ -10178,6 +10537,7 @@ - HrisJobInformationTitleName source: openapi: ../openapi.yml + inline: true HrisDirectEmployeeContract: discriminant: employment_type base-properties: {} @@ -10199,6 +10559,7 @@ max: 365 source: openapi: ../openapi.yml + inline: true HrisDirectEmployee: properties: employee_details: HrisDirectEmployeeDetails @@ -11224,6 +11585,7 @@ docs: End-points to retrieve paid invoices and reciepts. "types": { "InputToCreateFileRefData": { "docs": undefined, + "inline": true, "properties": { "content_type": "root.FileRefTypeEnum", }, @@ -11241,6 +11603,7 @@ types: content_type: root.FileRefTypeEnum 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/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 51b778e1009..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", @@ -4580,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", @@ -4600,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", @@ -4641,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", @@ -4776,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", @@ -4786,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", @@ -4836,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", @@ -4843,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", @@ -4875,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", @@ -4920,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", @@ -4932,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", @@ -5010,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", @@ -5030,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>", @@ -5040,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", @@ -5081,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", @@ -6241,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: 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..55d47ede3f2 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.", @@ -1112,6 +1137,7 @@ }, "ContactCompany": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": true, "properties": { "_object": "optional", "id": "optional", @@ -1124,6 +1150,7 @@ }, "ContainerCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1144,6 +1171,7 @@ }, "ContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/container_counts` for this object.", @@ -1172,6 +1200,7 @@ }, "ContainerLegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1192,6 +1221,7 @@ }, "ContainerRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1204,6 +1234,7 @@ }, "CoordinatesCreate": { "docs": undefined, + "inline": undefined, "properties": { "latitude": "optional", "longitude": "optional", @@ -1214,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.", @@ -1283,6 +1315,7 @@ }, "CreateBookingAmendmentHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -1303,6 +1336,7 @@ }, "CreateBookingHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -1327,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.", @@ -1377,6 +1412,7 @@ }, "CreateCommercialInvoiceLineItem": { "docs": undefined, + "inline": undefined, "properties": { "container_number": "optional", "country_of_origin": "optional", @@ -1416,6 +1452,7 @@ }, "CreateContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "forty_five_ft_hc": { "docs": "Quantity of 45 ft HC containers requested.", @@ -1440,6 +1477,7 @@ }, "CreateDocument": { "docs": undefined, + "inline": undefined, "properties": { "document": { "docs": "Document represented in a strict Base64-encoded string.", @@ -1476,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.", @@ -1489,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.", @@ -1585,6 +1625,7 @@ }, "CreateLineItemDestinationLocation": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -1632,6 +1673,7 @@ }, "CreateLineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -1823,6 +1865,7 @@ }, "CreateOceanBooking": { "docs": undefined, + "inline": undefined, "properties": { "container_counts": "CreateContainerCounts", "destination_port_loc_code": { @@ -1885,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.", @@ -2069,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?", @@ -2093,6 +2138,7 @@ }, "CreatePartyContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -2126,6 +2172,7 @@ }, "CreatePurchaseOrderHsCode": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The indentifying code on the hs code", @@ -2142,6 +2189,7 @@ }, "CreatePurchaseOrderPort": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "A unique identifier for this port", @@ -2170,6 +2218,7 @@ }, "CreatePurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -2226,6 +2275,7 @@ }, "CreateQuantity": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement.", @@ -2257,6 +2307,7 @@ }, "CreateTruckingBooking": { "docs": undefined, + "inline": undefined, "properties": { "description_of_products": { "docs": "General description of the products in the shipment.", @@ -2287,6 +2338,7 @@ }, "CreditMemo": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -2317,6 +2369,7 @@ }, "CustomsEntry": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /customs_entry for this object.", @@ -2349,6 +2402,7 @@ }, "CustomsEntryCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -2371,6 +2425,7 @@ }, "CustomsInvolvedParty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -2393,6 +2448,7 @@ }, "DistanceCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "km" for kilometers. "mi" for miles.", @@ -2419,6 +2475,7 @@ }, "Document": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /document for this object.", @@ -2460,6 +2517,7 @@ }, "DocumentCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -2471,6 +2529,7 @@ }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always /api/error for this object.", @@ -2495,6 +2554,7 @@ }, "Exception": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "message": { @@ -2539,6 +2599,7 @@ }, "FileMetadata": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /file_metadata for this object.", @@ -2570,6 +2631,7 @@ }, "GenericCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -2581,6 +2643,7 @@ }, "GenericObjectRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -2595,6 +2658,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2605,6 +2669,7 @@ }, "HsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/hs_code` for this object.", @@ -2626,6 +2691,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always '/invoice' for this object.", @@ -2699,6 +2765,7 @@ }, "InvoiceItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object.", @@ -2744,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", @@ -2764,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", @@ -2807,6 +2876,7 @@ }, "LegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -2827,6 +2897,7 @@ }, "LegRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -2839,6 +2910,7 @@ }, "Length": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/length` for this object.", @@ -2859,6 +2931,7 @@ }, "LengthCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "cm" for centimeters. "in" for inches.", @@ -2895,6 +2968,7 @@ }, "LineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -2931,6 +3005,7 @@ }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/location for this object.", @@ -2954,6 +3029,7 @@ }, "Manufacturer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -2974,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", }, @@ -2990,6 +3067,7 @@ }, "MetadataCreateExampleKey": { "docs": "Object format.", + "inline": true, "properties": { "example_key": "optional>", }, @@ -2999,6 +3077,7 @@ }, "MetadataCreateItem": { "docs": undefined, + "inline": true, "properties": { "name": "optional", "value": "optional>", @@ -3012,6 +3091,7 @@ "extends": [ "MoneyCreate", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3019,6 +3099,7 @@ }, "MoneyCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": "optional", "currency_code": "optional", @@ -3029,6 +3110,7 @@ }, "OceanBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3068,6 +3150,7 @@ }, "OceanShipmentContainerLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3083,6 +3166,7 @@ }, "OceanShipmentDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3104,6 +3188,7 @@ }, "OceanShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -3118,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": { @@ -3139,6 +3225,7 @@ }, "PartiesContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -3172,6 +3259,7 @@ }, "Place": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3192,6 +3280,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3203,6 +3292,7 @@ }, "Placeport": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3236,6 +3326,7 @@ }, "Product": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3291,6 +3382,7 @@ }, "ProductClassification": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3311,6 +3403,7 @@ }, "ProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3331,6 +3424,7 @@ }, "ProductRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3343,6 +3437,7 @@ }, "PurchaseOrder": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3450,6 +3545,7 @@ }, "PurchaseOrderLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3510,6 +3606,7 @@ }, "PurchaseOrderLineItemCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3530,6 +3627,7 @@ }, "PurchaseOrderLineItemDestinationAddress": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -3576,6 +3674,7 @@ }, "PurchaseOrderLineItemRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3662,6 +3761,7 @@ }, "PurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -3718,6 +3818,7 @@ }, "PurchaseOrderRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3742,6 +3843,7 @@ }, "RailShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -3752,6 +3854,7 @@ }, "Shipment": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3930,6 +4033,7 @@ }, "ShipmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4012,6 +4116,7 @@ }, "ShipmentDangerousGoods": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of this object", @@ -4042,6 +4147,7 @@ }, "ShipmentEventData": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4067,6 +4173,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4097,6 +4204,7 @@ }, "ShipmentItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4115,6 +4223,7 @@ }, "ShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4156,6 +4265,7 @@ }, "ShipmentNode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4181,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.", @@ -4225,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.", @@ -4258,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.", @@ -4287,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", @@ -4323,6 +4437,7 @@ }, "TruckingBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4347,6 +4462,7 @@ }, "TruckingShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -4372,6 +4488,7 @@ }, "VatNumber": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4392,6 +4509,7 @@ "extends": [ "VolumeCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4404,6 +4522,7 @@ }, "VolumeCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "unit of measurement. "cbm" for cubic meters. "cbft" for cubic feet.", @@ -4430,6 +4549,7 @@ }, "WebhookEvent": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4451,6 +4571,7 @@ "extends": [ "WeightCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/weight` for this object.", @@ -4463,6 +4584,7 @@ }, "WeightCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "kg" for kilograms, "lbs" for pounds", @@ -4489,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", @@ -4505,6 +4628,7 @@ }, "WriteProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "Always required. User defined type of this property", @@ -4521,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", @@ -4541,6 +4666,7 @@ }, "WriteVatNumber": { "docs": undefined, + "inline": undefined, "properties": { "country_code": { "docs": "ISO 3166 two-letter country code", @@ -4739,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: >- @@ -5180,6 +5308,7 @@ - Manufacturer source: openapi: ../openapi.yml + inline: true Place: properties: _object: @@ -5940,6 +6069,7 @@ - integer source: openapi: ../openapi.yml + inline: true GenericObjectRef: docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' properties: @@ -6630,6 +6760,7 @@ - OceanShipmentContainerLeg source: openapi: ../openapi.yml + inline: true ShipmentEventData: properties: _object: @@ -6859,6 +6990,7 @@ id: optional source: openapi: ../openapi.yml + inline: true Contact: properties: _object: @@ -7165,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 @@ -7341,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 @@ -8214,7 +8348,6 @@ errors: "city": "Los Angeles", "country": "United States", "country_code": "US", - "ref": "address_ref_x", "street_address": "123 Queen St", "timezone": "America/Los_Angeles", "unlocode": "USLA", @@ -8240,7 +8373,6 @@ errors: "city": "Shanghai", "country": "China", "country_code": "CN", - "ref": "address_ref_x", "street_address": "123 Queen St", "timezone": "America/Los_Angeles", "unlocode": "CNSZP", @@ -8305,7 +8437,6 @@ errors: "wants_import_customs_service": true, }, ], - "next": "https://api.flexport.com/bookings?page=3&per=10", "prev": "https://api.flexport.com/bookings?page=12&per=10", }, "self": "https://api.flexport.com/bookings?page=13&per=10", @@ -8518,28 +8649,6 @@ errors: "_object": "/api/response", "data": { "_object": "/booking", - "air_booking": { - "_object": "/air/booking", - "destination_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "incoterm": "EXW", - "origin_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "product_descriptions": [ - { - "_object": "/bookings/product_descriptions", - "description": "Wristwatches", - "description_for_export_customs": "手表", - "description_for_export_customs_locale": "zh_CN", - }, - ], - "wants_delivery_service": false, - "wants_pickup_service": true, - }, "booking_line_items": { "_object": "/api/refs/collection", "link": "https://api.flexport.com/booking_line_items?f.booking.id=123", @@ -8653,7 +8762,6 @@ errors: ], }, "name": "PO 123", - "notify_party": "John Doe | john@example.com | 905-555-1234", "ocean_booking": { "_object": "/ocean/booking", "container_counts": { @@ -8743,7 +8851,6 @@ errors: "unlocode": "US AL2", "zip": "56307", }, - "quote_status": "pending_quote", "shipment": { "_object": "/api/refs/object", "id": 123, @@ -8779,12 +8886,6 @@ errors: "special_instructions": "Handle carefully", "status": "archived", "transportation_mode": "ocean", - "trucking_booking": { - "_object": "/trucking/booking", - "description_of_products": "Wristwatches", - "is_ftl": false, - "payment_terms": "collect", - }, "wants_export_customs_service": true, "wants_import_customs_service": true, }, @@ -8917,28 +9018,6 @@ errors: "_object": "/api/response", "data": { "_object": "/booking", - "air_booking": { - "_object": "/air/booking", - "destination_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "incoterm": "EXW", - "origin_port": { - "_object": "/place", - "name": "ORD - Chicago - IL", - }, - "product_descriptions": [ - { - "_object": "/bookings/product_descriptions", - "description": "Wristwatches", - "description_for_export_customs": "手表", - "description_for_export_customs_locale": "zh_CN", - }, - ], - "wants_delivery_service": false, - "wants_pickup_service": true, - }, "booking_line_items": { "_object": "/api/refs/collection", "link": "https://api.flexport.com/booking_line_items?f.booking.id=123", @@ -9172,12 +9251,6 @@ errors: "special_instructions": "", "status": "archived", "transportation_mode": "ocean", - "trucking_booking": { - "_object": "/trucking/booking", - "description_of_products": "Wristwatches", - "is_ftl": false, - "payment_terms": "collect", - }, "wants_export_customs_service": true, "wants_import_customs_service": true, }, @@ -9212,6 +9285,7 @@ errors: "types": { "BookingCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -9224,6 +9298,7 @@ errors: }, "BookingShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -9264,6 +9339,7 @@ errors: }, "BookingsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -9276,6 +9352,7 @@ errors: }, "BookingsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -9327,6 +9404,7 @@ errors: data: optional> source: openapi: ../openapi.yml + inline: true BookingsIndexResponse: properties: _object: optional @@ -9485,7 +9563,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/bookings?page=12&per=10 - next: https://api.flexport.com/bookings?page=3&per=10 data: - _object: /booking id: 123 @@ -9555,7 +9632,6 @@ service: country: China country_code: CN timezone: America/Los_Angeles - ref: address_ref_x unlocode: CNSZP details: - _object: /trucking/port @@ -9572,7 +9648,6 @@ service: country: United States country_code: US timezone: America/Los_Angeles - ref: address_ref_x unlocode: USLA details: - _object: /trucking/port @@ -9832,7 +9907,6 @@ service: link: https://api.flexport.com/shipments/123 id: 123 status: archived - quote_status: pending_quote shipper_entity: _object: /company_entity id: 9281 @@ -9875,7 +9949,6 @@ service: - _object: company_entity/vat_number country_code: US number: US 123746396 - notify_party: John Doe | john@example.com | 905-555-1234 transportation_mode: ocean ocean_booking: _object: /ocean/booking @@ -9935,27 +10008,6 @@ service: 36177-92-1) (provided for in subheading 2933.39.91) code: '9101.00' country_code: US - air_booking: - _object: /air/booking - incoterm: EXW - wants_pickup_service: true - wants_delivery_service: false - origin_port: - _object: /place - name: ORD - Chicago - IL - destination_port: - _object: /place - name: ORD - Chicago - IL - product_descriptions: - - _object: /bookings/product_descriptions - description: Wristwatches - description_for_export_customs: 手表 - description_for_export_customs_locale: zh_CN - trucking_booking: - _object: /trucking/booking - is_ftl: false - payment_terms: collect - description_of_products: Wristwatches origin_address: _object: /address street_address: 1641 Settlers Lane @@ -10172,27 +10224,6 @@ service: description: Wristwatches description_for_export_customs: 手表 description_for_export_customs_locale: zh_CN - air_booking: - _object: /air/booking - incoterm: EXW - wants_pickup_service: true - wants_delivery_service: false - origin_port: - _object: /place - name: ORD - Chicago - IL - destination_port: - _object: /place - name: ORD - Chicago - IL - product_descriptions: - - _object: /bookings/product_descriptions - description: Wristwatches - description_for_export_customs: 手表 - description_for_export_customs_locale: zh_CN - trucking_booking: - _object: /trucking/booking - is_ftl: false - payment_terms: collect - description_of_products: Wristwatches origin_address: _object: /address street_address: 1641 Settlers Lane @@ -10457,12 +10488,9 @@ docs: Endpoints relating to Booking objects "country": "China", "country_code": "CN", "ref": "my-shanghai-address-ref", - "state": "MN", "street_address": "123 Queen St", - "street_address2": "STE 2918", "timezone": "China/Shanghai", "unlocode": "CNSHA", - "zip": "56307", }, "new_port_of_loading": { "_object": "/address", @@ -10470,12 +10498,9 @@ docs: Endpoints relating to Booking objects "country": "China", "country_code": "CN", "ref": "my-shanghai-address-ref", - "state": "MN", "street_address": "123 Queen St", - "street_address2": "STE 2918", "timezone": "China/Shanghai", "unlocode": "CNSHA", - "zip": "56307", }, "new_port_of_unloading": { "_object": "/address", @@ -10595,6 +10620,7 @@ docs: Endpoints relating to Booking objects "types": { "BookingAmendmentCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -10776,24 +10802,18 @@ service: new_origin_address: _object: /address street_address: 123 Queen St - street_address2: STE 2918 city: Shanghai - state: MN country: China country_code: CN - zip: '56307' timezone: China/Shanghai ref: my-shanghai-address-ref unlocode: CNSHA new_port_of_loading: _object: /address street_address: 123 Queen St - street_address2: STE 2918 city: Shanghai - state: MN country: China country_code: CN - zip: '56307' timezone: China/Shanghai ref: my-shanghai-address-ref unlocode: CNSHA @@ -11000,7 +11020,6 @@ docs: >- "units": 200, }, ], - "next": "https://api.flexport.com/booking_line_items?page=3&per=10", "prev": "https://api.flexport.com/booking_line_items?page=12&per=10", }, "self": "https://api.flexport.com/booking_line_items?page=13&per=10", @@ -11127,6 +11146,7 @@ docs: >- "types": { "BookingLineItemCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11149,6 +11169,7 @@ docs: >- }, "BookingLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11161,6 +11182,7 @@ docs: >- }, "BookingLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -11173,6 +11195,7 @@ docs: >- }, "BookingLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11201,6 +11224,7 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true BookingLineItemIndexResponse: properties: _object: optional @@ -11290,7 +11314,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/booking_line_items?page=12&per=10 - next: https://api.flexport.com/booking_line_items?page=3&per=10 data: - _object: /purchase_orders/booking_line_item id: 123456 @@ -11554,6 +11577,7 @@ docs: >- "types": { "CarbonCalculationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12119,7 +12143,6 @@ docs: Endpoints relating to Carbon Calculations }, }, ], - "next": "https://api.flexport.com/commercial_invoices?page=3&per=10", "prev": "https://api.flexport.com/commercial_invoices?page=1&per=10", }, "self": "https://api.flexport.com/commercial_invoices?page=2&per=10", @@ -12507,6 +12530,7 @@ docs: Endpoints relating to Carbon Calculations "types": { "CommercialInvoicesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12519,6 +12543,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12531,6 +12556,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -12543,6 +12569,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12555,6 +12582,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12578,6 +12606,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CommercialInvoicesIndexResponse: properties: _object: optional @@ -12666,7 +12695,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/commercial_invoices?page=1&per=10 - next: https://api.flexport.com/commercial_invoices?page=3&per=10 data: - _object: /commercial_invoices id: abcxyz-23456-def @@ -13338,7 +13366,6 @@ docs: Endpoints relating to Commercial Invoice objects "ref": "ref_for_company", }, ], - "next": "https://api.flexport.com/network/companies?page=3&per=10", "prev": "https://api.flexport.com/network/companies?page=12&per=10", "total_count": 121, }, @@ -13681,6 +13708,7 @@ docs: Endpoints relating to Commercial Invoice objects "types": { "NetworkCompanyCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13693,6 +13721,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13705,6 +13734,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -13718,6 +13748,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyMeResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13730,6 +13761,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13742,6 +13774,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13766,6 +13799,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkCompanyIndexResponse: properties: _object: optional @@ -13863,7 +13897,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/network/companies?page=12&per=10 - next: https://api.flexport.com/network/companies?page=3&per=10 total_count: 121 data: - _object: /network/company @@ -14241,7 +14274,6 @@ docs: Endpoints relating to Company objects ], }, ], - "next": "https://api.flexport.com/network/company_entities?page=3&per=10", "prev": "https://api.flexport.com/network/company_entities?page=12&per=10", "total_count": 121, }, @@ -14559,6 +14591,7 @@ docs: Endpoints relating to Company objects "types": { "CompanyEntityIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14571,6 +14604,7 @@ docs: Endpoints relating to Company objects }, "CompanyEntityIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -14584,6 +14618,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14596,6 +14631,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14608,6 +14644,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14632,6 +14669,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CompanyEntityIndexResponse: properties: _object: optional @@ -14720,8 +14758,6 @@ service: _object: /api/collections/paginated prev: >- https://api.flexport.com/network/company_entities?page=12&per=10 - next: >- - https://api.flexport.com/network/company_entities?page=3&per=10 total_count: 121 data: - _object: /company_entity @@ -15068,7 +15104,6 @@ docs: Endpoints relating to CompanyEntity objects "phone_number": "6789998212", }, ], - "next": "https://api.flexport.com/network/contacts?page=3&per=10", "prev": "https://api.flexport.com/network/contacts?page=12&per=10", "total_count": 121, }, @@ -15274,6 +15309,7 @@ docs: Endpoints relating to CompanyEntity objects "types": { "NetworkContactCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15286,6 +15322,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15298,6 +15335,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -15311,6 +15349,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15323,6 +15362,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15347,6 +15387,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkContactIndexResponse: properties: _object: optional @@ -15434,7 +15475,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/network/contacts?page=12&per=10 - next: https://api.flexport.com/network/contacts?page=3&per=10 total_count: 121 data: - _object: /network/contact @@ -15884,6 +15924,7 @@ docs: Endpoints relating to Contact objects "types": { "ContainerListResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15896,6 +15937,7 @@ docs: Endpoints relating to Contact objects }, "ContainerListResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -15908,6 +15950,7 @@ docs: Endpoints relating to Contact objects }, "ContainerShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15931,6 +15974,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ContainerListResponse: properties: _object: optional @@ -16334,6 +16378,7 @@ docs: Endpoints relating to Container objects "types": { "OceanContainerLegsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16346,6 +16391,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -16358,6 +16404,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16381,6 +16428,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true OceanContainerLegsIndexResponse: properties: _object: optional @@ -16563,7 +16611,6 @@ docs: Endpoints relating to ContainerLeg objects }, }, ], - "next": "https://api.flexport.com/customs_entries?page=3&per=10", "prev": "https://api.flexport.com/customs_entries?page=12&per=10", }, "self": "https://api.flexport.com/customs_entries?page=13&per=10", @@ -16674,6 +16721,7 @@ docs: Endpoints relating to ContainerLeg objects "types": { "CustomsEntriesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16686,6 +16734,7 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16698,6 +16747,7 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -16721,6 +16771,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CustomsEntryIndexResponse: properties: _object: optional @@ -16786,7 +16837,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/customs_entries?page=12&per=10 - next: https://api.flexport.com/customs_entries?page=3&per=10 data: - _object: /customs_entries id: ABC123 @@ -16966,7 +17016,6 @@ docs: Endpoints relating to Customs Entry objects }, }, ], - "next": "https://api.flexport.com/documents?page=3&per=10", "prev": "https://api.flexport.com/documents?page=12&per=10", "total_count": 121, }, @@ -17060,7 +17109,6 @@ docs: Endpoints relating to Customs Entry objects "_object": "/api/response", "data": { "_object": "/document", - "archived_at": "2024-01-15T09:30:00Z", "document_type": "billing_packet", "file_link": "https://api.flexport.com/documents/ABC123/download", "file_metadata": { @@ -17070,7 +17118,6 @@ docs: Endpoints relating to Customs Entry objects }, "file_name": "readme.txt", "id": "ABC123", - "memo": "memo", "shipment": { "_object": "/api/refs/object", "id": 123456, @@ -17109,6 +17156,7 @@ docs: Endpoints relating to Customs Entry objects "types": { "DocumentsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17121,6 +17169,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17133,6 +17182,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -17146,6 +17196,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17170,6 +17221,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true DocumentsIndexResponse: properties: _object: optional @@ -17269,7 +17321,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/documents?page=12&per=10 - next: https://api.flexport.com/documents?page=3&per=10 total_count: 121 data: - _object: /document @@ -17354,9 +17405,7 @@ service: id: ABC123 file_name: readme.txt document_type: billing_packet - memo: memo file_link: https://api.flexport.com/documents/ABC123/download - archived_at: '2024-01-15T09:30:00Z' file_metadata: _object: file/metadata size: 20000 @@ -17640,6 +17689,7 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17652,6 +17702,7 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -17664,6 +17715,7 @@ docs: Endpoints relating to Document objects }, "EventsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17701,6 +17753,7 @@ docs: Endpoints relating to Document objects data: optional> source: openapi: ../openapi.yml + inline: true EventsIndexResponse: properties: _object: optional @@ -18145,7 +18198,6 @@ Other details about this invoice", }, ], "next": "https://api.flexport.com/invoices?page=2&per=10", - "prev": "https://api.flexport.com/invoices?page=1&per=10", }, "self": "https://api.flexport.com/invoices", "version": 2, @@ -18543,6 +18595,7 @@ Other details about this invoice", }, "InvoiceIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18555,6 +18608,7 @@ Other details about this invoice", }, "InvoiceIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18567,6 +18621,7 @@ Other details about this invoice", }, "InvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18603,6 +18658,7 @@ Other details about this invoice", data: optional> source: openapi: ../openapi.yml + inline: true InvoiceIndexResponse: properties: _object: optional @@ -18737,7 +18793,6 @@ service: version: 2 data: _object: /api/collections/paginated - prev: https://api.flexport.com/invoices?page=1&per=10 next: https://api.flexport.com/invoices?page=2&per=10 data: - _object: /invoice @@ -19186,7 +19241,6 @@ docs: Endpoints relating to Invoice objects "name": "Wayne Enterprises", }, ], - "next": "https://api.flexport.com/network/locations?page=3&per=10", "prev": "https://api.flexport.com/network/locations?page=1&per=10", "total_count": 11, }, @@ -19457,7 +19511,6 @@ docs: Endpoints relating to Invoice objects "ref": "zoomit-management-co", "state": "CA", "street_address": "2 World Way", - "street_address2": "STE 2918", "timezone": "America/Los_Angeles", "unlocode": "USLAX", "zip": "90045", @@ -19541,6 +19594,7 @@ docs: Endpoints relating to Invoice objects "types": { "LocationIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19553,6 +19607,7 @@ docs: Endpoints relating to Invoice objects }, "LocationIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -19566,6 +19621,7 @@ docs: Endpoints relating to Invoice objects }, "LocationUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19578,6 +19634,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19590,6 +19647,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19614,6 +19672,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true LocationIndexResponse: properties: _object: optional @@ -19712,7 +19771,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/network/locations?page=1&per=10 - next: https://api.flexport.com/network/locations?page=3&per=10 total_count: 11 data: - _object: /network/location @@ -19934,7 +19992,6 @@ service: address: _object: /address street_address: 2 World Way - street_address2: STE 2918 city: Los Angeles state: CA country: United States of America @@ -20131,6 +20188,7 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20143,6 +20201,7 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>>", @@ -20174,6 +20233,7 @@ docs: Endpoints relating to Location objects data: optional>> source: openapi: ../openapi.yml + inline: true PortsIndexResponse: properties: _object: optional @@ -20707,6 +20767,7 @@ docs: Endpoints relating to Ports objects "types": { "ProductCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20719,6 +20780,7 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20731,6 +20793,7 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -20743,6 +20806,7 @@ docs: Endpoints relating to Ports objects }, "ProductShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20755,6 +20819,7 @@ docs: Endpoints relating to Ports objects }, "ProductUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20778,6 +20843,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ProductIndexResponse: properties: _object: optional @@ -21469,22 +21535,18 @@ docs: Endpoints relating to Product objects "country_code": "US", "ref": "id-313120", "state": "GA", - "street_address": "1641 Settlers Lane", "timezone": "America/New_York", "unlocode": "USFBN", }, "details": [ { "_object": "/ocean/railport", - "port_code": "3901", }, { "_object": "/trucking/port", - "port_code": "3901", }, { "_object": "/ocean/port", - "port_code": "3901", }, ], "name": "Fairburn", @@ -21525,22 +21587,18 @@ docs: Endpoints relating to Product objects "country_code": "US", "ref": "id-313120", "state": "GA", - "street_address": "1641 Settlers Lane", "timezone": "America/New_York", "unlocode": "USFBN", }, "details": [ { "_object": "/ocean/railport", - "port_code": "3901", }, { "_object": "/trucking/port", - "port_code": "3901", }, { "_object": "/ocean/port", - "port_code": "3901", }, ], "name": "Fairburn", @@ -21555,7 +21613,6 @@ docs: Endpoints relating to Product objects "city": "shanghai", "country": "China", "country_code": "CN", - "ref": "address_ref_x", "state": "Shanghai", "street_address": "test", "timezone": "Asia/Shanghai", @@ -21615,7 +21672,6 @@ docs: Endpoints relating to Product objects "city": "shanghai", "country": "China", "country_code": "CN", - "ref": "address_ref_x", "state": "Shanghai", "street_address": "test", "timezone": "Asia/Shanghai", @@ -21648,7 +21704,6 @@ docs: Endpoints relating to Product objects "updated_at": "2020-07-31T19:52:58.161Z", }, ], - "next": "https://api.flexport.com/purchase_orders?page=3&per=10", "prev": "https://api.flexport.com/purchase_orders?page=12&per=10", }, "self": "https://api.flexport.com/purchase_orders?page=13&per=10", @@ -22175,6 +22230,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22187,6 +22243,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -22199,6 +22256,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22250,6 +22308,7 @@ docs: Endpoints relating to Product objects data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderIndexResponse: properties: _object: optional @@ -22371,7 +22430,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/purchase_orders?page=12&per=10 - next: https://api.flexport.com/purchase_orders?page=3&per=10 data: - id: 109771 _object: /purchase_order @@ -22389,7 +22447,6 @@ service: name: Fairburn address: _object: /address - street_address: 1641 Settlers Lane city: Fairburn state: GA country: United States @@ -22399,11 +22456,8 @@ service: unlocode: USFBN details: - _object: /ocean/railport - port_code: '3901' - _object: /trucking/port - port_code: '3901' - _object: /ocean/port - port_code: '3901' origin_address: _object: /address street_address: No 1, 123 St @@ -22418,7 +22472,6 @@ service: name: Fairburn address: _object: /address - street_address: 1641 Settlers Lane city: Fairburn state: GA country: United States @@ -22428,11 +22481,8 @@ service: unlocode: USFBN details: - _object: /ocean/railport - port_code: '3901' - _object: /trucking/port - port_code: '3901' - _object: /ocean/port - port_code: '3901' destination_addresses: - _object: /address street_address: Vandelay street 1 @@ -22458,7 +22508,6 @@ service: country: China country_code: CN timezone: Asia/Shanghai - ref: address_ref_x vat_numbers: - _object: /company_entity/vat_number country_code: GB @@ -22499,7 +22548,6 @@ service: country: China country_code: CN timezone: Asia/Shanghai - ref: address_ref_x vat_numbers: - _object: /company_entity/vat_number country_code: GB @@ -23088,7 +23136,6 @@ docs: >- "city": "Albany", "country": "United States of America", "country_code": "US", - "ref": "address_ref_x", "state": "MN", "street_address": "1641 Settlers Lane", "street_address2": "STE 2918", @@ -23181,7 +23228,6 @@ docs: >- "units": 20, }, ], - "next": "https://api.flexport.com/purchase_order_line_items?page=3&per=10", "prev": "https://api.flexport.com/purchase_orders?page=12&per=10", }, "self": "https://api.flexport.com/purchase_orders?page=13&per=10", @@ -23274,7 +23320,6 @@ docs: >- "city": "Albany", "country": "United States of America", "country_code": "US", - "ref": "address_ref_x", "state": "MN", "street_address": "1641 Settlers Lane", "street_address2": "STE 2918", @@ -23303,28 +23348,6 @@ docs: >- "units": 1, }, ], - "destination_port": { - "_object": "/place", - "address": { - "_object": "/address", - "city": "Albany", - "country": "United States of America", - "country_code": "US", - "ref": "address_ref_x", - "street_address": "1641 Settlers Lane", - "timezone": "America/Los_Angeles", - }, - "details": [ - { - "_object": "/air/port", - "country_code": "US", - "iata_code": "LAX", - "icao_code": "KLAX", - "port_code": "3901", - }, - ], - "name": "ORD - Chicago - IL", - }, "hs_codes": [ { "_object": "/hs_code", @@ -23358,34 +23381,8 @@ docs: >- "ref": "sellingcoaddress", "state": "44", "street_address": "10th YouSong Industrial District", - "street_address2": "STE 2918", "timezone": "China/Shenzhen", - "unlocode": "US AL2", - "zip": "56307", - }, - "origin_port": { - "_object": "/place", - "address": { - "_object": "/address", - "city": "Albany", - "country": "United States of America", - "country_code": "US", - "ref": "address_ref_x", - "street_address": "1641 Settlers Lane", - "timezone": "America/Los_Angeles", - }, - "details": [ - { - "_object": "/air/port", - "country_code": "US", - "iata_code": "LAX", - "icao_code": "KLAX", - "port_code": "3901", - }, - ], - "name": "ORD - Chicago - IL", }, - "parent_line_key": "parent_line_key", "product": { "color": "red", "country_of_origin": "US", @@ -23455,6 +23452,7 @@ docs: >- }, "PurchaseOrderLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -23467,6 +23465,7 @@ docs: >- }, "PurchaseOrderLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -23479,6 +23478,7 @@ docs: >- }, "PurchaseOrderLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -23507,6 +23507,7 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderLineItemIndexResponse: properties: _object: optional @@ -23590,8 +23591,6 @@ service: data: _object: /api/collections/paginated prev: https://api.flexport.com/purchase_orders?page=12&per=10 - next: >- - https://api.flexport.com/purchase_order_line_items?page=3&per=10 data: - _object: /purchase_orders/line_item id: 123456 @@ -23660,7 +23659,6 @@ service: country_code: US zip: '56307' timezone: America/Los_Angeles - ref: address_ref_x unlocode: US AL2 vat_numbers: - _object: company_entity/vat_number @@ -23736,52 +23734,15 @@ service: transportation_mode: air unit_of_measure: HUN must_arrive_date: '2019-03-11' - origin_port: - _object: /place - name: ORD - Chicago - IL - address: - _object: /address - street_address: 1641 Settlers Lane - city: Albany - country: United States of America - country_code: US - timezone: America/Los_Angeles - ref: address_ref_x - details: - - _object: /air/port - port_code: '3901' - country_code: US - iata_code: LAX - icao_code: KLAX origin_location: _object: /address street_address: 10th YouSong Industrial District - street_address2: STE 2918 city: Shenzhen state: '44' country: China country_code: CN - zip: '56307' timezone: China/Shenzhen ref: sellingcoaddress - unlocode: US AL2 - destination_port: - _object: /place - name: ORD - Chicago - IL - address: - _object: /address - street_address: 1641 Settlers Lane - city: Albany - country: United States of America - country_code: US - timezone: America/Los_Angeles - ref: address_ref_x - details: - - _object: /air/port - port_code: '3901' - country_code: US - iata_code: LAX - icao_code: KLAX destination_addresses: - location_ref: id-1234 units: 1 @@ -23789,7 +23750,6 @@ service: - _object: /hs_code code: 8309.90.10.00 country_code: US - parent_line_key: parent_line_key assigned_party: _object: /company_entity id: 9281 @@ -23805,7 +23765,6 @@ service: country_code: US zip: '56307' timezone: America/Los_Angeles - ref: address_ref_x unlocode: US AL2 vat_numbers: - _object: company_entity/vat_number @@ -24129,8 +24088,6 @@ docs: >- "wants_trade_declaration_service": false, }, ], - "next": "next", - "prev": "prev", }, "self": "https://api.flexport.com/shipments?page=1&per=20&sort=id&direction=desc", "version": 2, @@ -24382,19 +24339,6 @@ docs: >- "actual_delivered_in_full_date": "2019-02-06T19:28:25Z", "actual_departure_date": "2019-02-06T19:28:25Z", "actual_picked_up_in_full_date": "2019-02-06T19:28:25Z", - "air_shipment": { - "_object": "/air/shipment", - "chargeable_volume": { - "_object": "/quantity/volume", - "value": 472.62, - }, - "chargeable_weight": { - "_object": "/quantity/weight", - "value": 2300.4, - }, - "house_airway_bill": "HWXJKE67732", - "master_airway_bill": "22831046871", - }, "arrival_date": "2019-02-06T19:28:25Z", "belongs_to_a_buyers_consol": false, "booking": { @@ -24442,14 +24386,6 @@ docs: >- "value": 2300.4, }, "cargo_ready_date": "2019-02-06", - "child_shipments": [ - { - "_object": "/api/refs/object", - "id": 123, - "link": "https://api.flexport.com/shipments/123", - "ref_type": "/shipment", - }, - ], "commercial_invoices": { "_object": "/api/refs/collection", "link": "https://api.flexport.com/commercial_invoices?f.shipment.id=2983", @@ -24590,12 +24526,6 @@ docs: >- "is_lcl": false, "master_bill_number": "NEWO697216024", }, - "parent_shipment": { - "_object": "/api/refs/object", - "id": 123, - "link": "https://api.flexport.com/shipments/123", - "ref_type": "/shipment", - }, "picked_up_in_full_date": "2019-02-06T19:28:25Z", "pieces": 8372, "priority": "high", @@ -24716,19 +24646,6 @@ docs: >- "actual_delivered_in_full_date": "2019-02-06T19:28:25Z", "actual_departure_date": "2019-02-06T19:28:25Z", "actual_picked_up_in_full_date": "2019-02-06T19:28:25Z", - "air_shipment": { - "_object": "/air/shipment", - "chargeable_volume": { - "_object": "/quantity/volume", - "value": 472.62, - }, - "chargeable_weight": { - "_object": "/quantity/weight", - "value": 2300.4, - }, - "house_airway_bill": "HWXJKE67732", - "master_airway_bill": "22831046871", - }, "arrival_date": "2019-02-06T19:28:25Z", "belongs_to_a_buyers_consol": true, "booking": { @@ -25075,6 +24992,7 @@ docs: >- }, "ShipmentIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25087,6 +25005,7 @@ docs: >- }, "ShipmentIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -25099,6 +25018,7 @@ docs: >- }, "ShipmentShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25111,6 +25031,7 @@ docs: >- }, "ShipmentUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25123,6 +25044,7 @@ docs: >- }, "ShipmentsShareableResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25135,6 +25057,7 @@ docs: >- }, "ShipmentsShareableResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "shipments": "optional>", @@ -25145,6 +25068,7 @@ docs: >- }, "ShipmentsShareableResponseDataShipmentsItem": { "docs": undefined, + "inline": true, "properties": { "expiration_date": "optional", "shareable_url": "optional", @@ -25182,6 +25106,7 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true ShipmentIndexResponse: properties: _object: optional @@ -25213,12 +25138,14 @@ 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 @@ -25408,8 +25335,6 @@ service: version: 2 data: _object: /api/collections/paginated - prev: prev - next: next data: - metadata: key: value @@ -25694,16 +25619,6 @@ service: visibility_only: false wants_delivery_service: false belongs_to_a_buyers_consol: false - child_shipments: - - _object: /api/refs/object - ref_type: /shipment - link: https://api.flexport.com/shipments/123 - id: 123 - parent_shipment: - _object: /api/refs/object - ref_type: /shipment - link: https://api.flexport.com/shipments/123 - id: 123 estimated_picked_up_in_full_date: '2019-02-06T19:28:25Z' actual_picked_up_in_full_date: '2019-02-06T19:28:25Z' target_delivery_date: target_delivery_date @@ -25723,16 +25638,6 @@ service: ref_type: /ocean/shipment_container link: >- https://api.flexport.com/ocean/shipment_containers?f.shipment.id=123 - air_shipment: - _object: /air/shipment - house_airway_bill: HWXJKE67732 - master_airway_bill: '22831046871' - chargeable_weight: - value: 2300.4 - _object: /quantity/weight - chargeable_volume: - value: 472.62 - _object: /quantity/volume dangerous_goods: _object: /shipment/dangerous_goods review_status: complete @@ -25996,16 +25901,6 @@ service: ref_type: /ocean/shipment_container link: >- https://api.flexport.com/ocean/shipment_containers?f.shipment.id=123 - air_shipment: - _object: /air/shipment - house_airway_bill: HWXJKE67732 - master_airway_bill: '22831046871' - chargeable_weight: - value: 2300.4 - _object: /quantity/weight - chargeable_volume: - value: 472.62 - _object: /quantity/volume dangerous_goods: _object: /shipment/dangerous_goods review_status: complete @@ -26456,12 +26351,6 @@ docs: Endpoints relating to Shipment objects "delivery_completed": "2019-07-14T04:00:00Z", "loaded_on_truck_date": "2019-07-13T04:00:00Z", }, - "air_leg": { - "_object": "/air/shipment_leg", - "flight_number": "Y8 1234", - "iata_code": "2Q", - "icao_code": "SNC", - }, "cargo_ready_date": "cargo_ready_date", "carrier_name": "Liberty Carrier", "deleted_at": "2024-01-15T09:30:00Z", @@ -26500,11 +26389,6 @@ docs: Endpoints relating to Shipment objects "tags": [ "port_of_loading", ], - "terminal": { - "_object": "/shipment_node/terminal", - "firms_code": "I092", - "name": "Terminal 3", - }, }, "estimated_arrival_date": "2019-02-06T19:28:25Z", "estimated_departure_date": "2019-02-06T19:28:25Z", @@ -26574,14 +26458,6 @@ docs: Endpoints relating to Shipment objects "name": "Terminal 3", }, }, - "rail_leg": { - "_object": "/rail/shipment_leg", - "container_legs": { - "_object": "/api/refs/collection", - "link": "https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123", - "ref_type": "/ocean/shipment_container_leg", - }, - }, "shipment": { "_object": "/api/refs/object", "id": 123, @@ -26589,18 +26465,6 @@ docs: Endpoints relating to Shipment objects "ref_type": "/shipment", }, "transportation_mode": "ocean", - "trucking_leg": { - "_object": "/trucking/shipment_leg", - "container_legs": { - "_object": "/api/refs/collection", - "link": "https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123", - "ref_type": "/ocean/shipment_container_leg", - }, - "pieces": 32, - "scac_code": "ABCD", - "service_type": "ltl", - "tracking_number": "FBA123456789", - }, }, "self": "https://api.flexport.com/shipment_legs/948211", "version": 2, @@ -26642,6 +26506,7 @@ docs: Endpoints relating to Shipment objects "types": { "ShipmentLegIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -26654,6 +26519,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -26666,6 +26532,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -26689,6 +26556,7 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ShipmentLegIndexResponse: properties: _object: optional @@ -26986,17 +26854,8 @@ service: icao_code: KORD - _object: /trucking/port port_code: '3901' - terminal: - _object: /shipment_node/terminal - name: Terminal 3 - firms_code: I092 transportation_mode: ocean carrier_name: Liberty Carrier - air_leg: - _object: /air/shipment_leg - iata_code: 2Q - icao_code: SNC - flight_number: Y8 1234 ocean_leg: _object: /ocean/shipment_leg scac_code: XJAE @@ -27008,24 +26867,6 @@ service: ref_type: /ocean/shipment_container_leg link: >- https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123 - trucking_leg: - _object: /trucking/shipment_leg - tracking_number: FBA123456789 - service_type: ltl - pieces: 32 - scac_code: ABCD - container_legs: - _object: /api/refs/collection - ref_type: /ocean/shipment_container_leg - link: >- - https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123 - rail_leg: - _object: /rail/shipment_leg - container_legs: - _object: /api/refs/collection - ref_type: /ocean/shipment_container_leg - link: >- - https://api.flexport.com/ocean/shipment_container_legs?f.shipment_container.id=123 cargo_ready_date: cargo_ready_date source: openapi: ../openapi.yml 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 752e05f7853..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", @@ -112,6 +114,7 @@ }, "AppConfigAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", "google": "optional", @@ -123,6 +126,7 @@ }, "AppConfigAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -133,6 +137,7 @@ "AppId": "string", "Application": { "docs": undefined, + "inline": undefined, "properties": { "appId": "string", "appName": "string", @@ -150,6 +155,7 @@ }, "ApplicationAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", "google": "optional", @@ -161,6 +167,7 @@ }, "ApplicationAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -173,6 +180,7 @@ "extends": [ "Application", ], + "inline": undefined, "properties": { "deployment": "Deployment", }, @@ -182,6 +190,7 @@ }, "Build": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -201,6 +210,7 @@ "BuildId": "double", "BuildRegionalContainerTagsItem": { "docs": undefined, + "inline": true, "properties": { "containerTag": "string", "region": "Region", @@ -239,6 +249,7 @@ "extends": [ "DeploymentConfig", ], + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -254,6 +265,7 @@ }, "DeploymentConfig": { "docs": undefined, + "inline": undefined, "properties": { "containerPort": { "type": "integer", @@ -285,6 +297,7 @@ }, "DeploymentConfigEnvItem": { "docs": undefined, + "inline": true, "properties": { "name": { "type": "string", @@ -313,6 +326,7 @@ "DiscoveryResponse": "list", "DiscoveryResponseItem": { "docs": undefined, + "inline": undefined, "properties": { "host": "string", "port": "double", @@ -324,6 +338,7 @@ }, "Lobby": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "createdAt": "datetime", @@ -362,6 +377,7 @@ }, "MetricValue": { "docs": undefined, + "inline": undefined, "properties": { "timestamp": "double", "value": "double", @@ -378,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", @@ -401,6 +418,7 @@ }, "Process": { "docs": undefined, + "inline": undefined, "properties": { "activeConnections": "double", "appId": "AppId", @@ -429,6 +447,7 @@ "extends": [ "Process", ], + "inline": undefined, "properties": { "rooms": "list", "totalRooms": "double", @@ -439,6 +458,7 @@ }, "RecordPartialMetricNameMetricValueArray": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": { "cpu": "optional>", "memory": "optional>", @@ -451,6 +471,7 @@ }, "RecordStringNever": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -475,6 +496,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "allocations": "list", "appId": "AppId", @@ -488,6 +510,7 @@ }, "RoomAllocation": { "docs": undefined, + "inline": undefined, "properties": { "processId": "ProcessId", "roomAllocationId": "RoomAllocationId", @@ -514,6 +537,7 @@ "RoomWithoutAllocations": "OmitRoomAllocations", "StartingConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "roomId": "RoomId", }, @@ -592,6 +616,7 @@ types: clientId: string source: openapi: ../openapi.json + inline: true ApplicationAuthConfiguration: properties: google: optional @@ -599,6 +624,7 @@ types: anonymous: optional source: openapi: ../openapi.json + inline: true Application: properties: deletedBy: optional @@ -641,6 +667,7 @@ types: maxLength: 100 source: openapi: ../openapi.json + inline: true DeploymentConfig: properties: env: list @@ -686,6 +713,7 @@ types: clientId: string source: openapi: ../openapi.json + inline: true AppConfigAuthConfiguration: properties: google: optional @@ -693,6 +721,7 @@ types: anonymous: optional source: openapi: ../openapi.json + inline: true AppConfig: properties: authConfiguration: AppConfigAuthConfiguration @@ -723,6 +752,7 @@ types: region: Region source: openapi: ../openapi.json + inline: true BuildStatus: enum: - created @@ -1438,6 +1468,7 @@ service: "types": { "LoginAnonymousResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -1447,6 +1478,7 @@ service: }, "LoginGoogleResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -1456,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 b22acd31772..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,6 +78,7 @@ }, "ApiErrorResponse": { "docs": "Error response model", + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -98,6 +100,7 @@ }, "ApiErrorResponseData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -105,6 +108,7 @@ }, "ApiKeyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "string", "header_key": "string", @@ -115,6 +119,7 @@ }, "AttachedIntegrationToSource": { "docs": undefined, + "inline": undefined, "properties": { "success": "boolean", }, @@ -188,6 +193,7 @@ }, "BasicAuthIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "name": "string", "password": "string", @@ -198,6 +204,7 @@ }, "BatchOperation": { "docs": undefined, + "inline": undefined, "properties": { "cancelled_at": { "docs": "Date the bulk retry was cancelled", @@ -263,6 +270,7 @@ }, "BatchOperationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -274,6 +282,7 @@ }, "BatchOperationPlan": { "docs": undefined, + "inline": undefined, "properties": { "estimated_batch": { "docs": "Number of batches required to complete the bulk retry", @@ -296,6 +305,7 @@ "discriminated": false, "docs": "Query object to filter records", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -306,6 +316,7 @@ }, "Bookmark": { "docs": undefined, + "inline": undefined, "properties": { "alias": { "docs": "Alternate alias for the bookmark", @@ -351,6 +362,7 @@ }, "BookmarkPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -362,6 +374,7 @@ }, "Connection": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the connection was archived", @@ -411,6 +424,7 @@ "discriminated": false, "docs": "JSON using our filter syntax to filter on request headers", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -423,6 +437,7 @@ }, "ConnectionFilterPropertyThree": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -430,6 +445,7 @@ }, "ConnectionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -441,6 +457,7 @@ }, "ConsoleLine": { "docs": undefined, + "inline": undefined, "properties": { "message": "string", "type": "ConsoleLineType", @@ -463,6 +480,7 @@ }, "DelayRule": { "docs": undefined, + "inline": undefined, "properties": { "delay": { "docs": "Delay to introduce in MS", @@ -475,6 +493,7 @@ }, "DeletedBookmarkResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Bookmark ID", @@ -487,6 +506,7 @@ }, "DeletedIntegration": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -496,6 +516,7 @@ }, "DeletedIssueTriggerResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -505,6 +526,7 @@ }, "DeliveryIssue": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -554,6 +576,7 @@ }, "DeliveryIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'delivery' type issue", + "inline": undefined, "properties": { "error_code": "list", "response_status": "list", @@ -565,6 +588,7 @@ }, "DeliveryIssueData": { "docs": "Delivery issue data", + "inline": undefined, "properties": { "trigger_attempt": "optional", "trigger_event": "optional", @@ -575,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", @@ -585,6 +610,7 @@ }, "DeliveryIssueWithData": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -635,6 +661,7 @@ }, "Destination": { "docs": "Associated [Destination](#destination-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the destination was archived", @@ -681,6 +708,7 @@ }, "DestinationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -704,6 +732,7 @@ }, "DetachedIntegrationFromSource": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -711,6 +740,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "attempts": { "docs": "Number of delivery attempts made", @@ -784,6 +814,7 @@ "EventArray": "list", "EventAttempt": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the attempt was archived", @@ -861,6 +892,7 @@ }, "EventAttemptBody": { "docs": "Response body from the destination", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -868,6 +900,7 @@ }, "EventAttemptPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -879,6 +912,7 @@ }, "EventData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -895,6 +929,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -906,6 +941,7 @@ }, "EventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -915,6 +951,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -927,6 +964,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -937,6 +975,7 @@ }, "EventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -944,6 +983,7 @@ }, "EventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -967,6 +1007,7 @@ }, "FilterRule": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -990,6 +1031,7 @@ }, "HandledHmacConfigs": { "docs": undefined, + "inline": undefined, "properties": { "webhook_secret_key": "string", }, @@ -1010,6 +1052,7 @@ }, "HmacIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "algorithm": "HmacAlgorithms", "encoding": "HmacIntegrationConfigsEncoding", @@ -1031,6 +1074,7 @@ }, "IgnoredEvent": { "docs": undefined, + "inline": undefined, "properties": { "cause": "IgnoredEventCause", "created_at": "datetime", @@ -1060,6 +1104,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1070,6 +1115,7 @@ }, "IgnoredEventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1081,6 +1127,7 @@ }, "Integration": { "docs": undefined, + "inline": undefined, "properties": { "configs": { "docs": "Decrypted Key/Value object of the associated configuration for that provider", @@ -1124,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", }, @@ -1147,6 +1195,7 @@ }, "IntegrationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1206,6 +1255,7 @@ }, "IssueCount": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Number of issues", @@ -1230,6 +1280,7 @@ }, "IssueTrigger": { "docs": undefined, + "inline": undefined, "properties": { "channels": "optional", "configs": "IssueTriggerReference", @@ -1269,6 +1320,7 @@ }, "IssueTriggerBackpressureConfigs": { "docs": "Configurations for a 'Backpressure' issue trigger", + "inline": undefined, "properties": { "delay": "IssueTriggerBackpressureDelay", "destinations": { @@ -1284,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", }, @@ -1305,6 +1358,7 @@ }, "IssueTriggerChannels": { "docs": "Notification channels object for the specific channel type", + "inline": undefined, "properties": { "email": "optional", "opsgenie": "optional", @@ -1316,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.", @@ -1331,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", }, @@ -1341,6 +1397,7 @@ }, "IssueTriggerEmailChannel": { "docs": "Email channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1348,6 +1405,7 @@ }, "IssueTriggerIntegrationChannel": { "docs": "Integration channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1355,6 +1413,7 @@ }, "IssueTriggerPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1368,6 +1427,7 @@ "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1379,6 +1439,7 @@ }, "IssueTriggerSlackChannel": { "docs": "Slack channel for an issue trigger", + "inline": undefined, "properties": { "channel_name": { "docs": "Channel name", @@ -1401,6 +1462,7 @@ }, "IssueTriggerTransformationConfigs": { "docs": "Configurations for a 'Transformation' issue trigger", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformations": { @@ -1416,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", }, @@ -1451,6 +1514,7 @@ }, "IssueWithDataPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1471,6 +1535,7 @@ }, "RawBody": { "docs": undefined, + "inline": undefined, "properties": { "body": "string", }, @@ -1480,6 +1545,7 @@ }, "Request": { "docs": undefined, + "inline": undefined, "properties": { "cli_events_count": { "docs": "The count of CLI events created from this request", @@ -1544,6 +1610,7 @@ }, "RequestData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -1560,6 +1627,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1571,6 +1639,7 @@ }, "RequestDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1580,6 +1649,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1592,6 +1662,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1602,6 +1673,7 @@ }, "RequestDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1619,6 +1691,7 @@ }, "RequestPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1646,6 +1719,7 @@ }, "RetriedEvent": { "docs": undefined, + "inline": undefined, "properties": { "attempt": "optional", "event": "Event", @@ -1656,6 +1730,7 @@ }, "RetryRequest": { "docs": undefined, + "inline": undefined, "properties": { "events": "optional>", "request": "Request", @@ -1666,6 +1741,7 @@ }, "RetryRule": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Maximum number of retries to attempt", @@ -1710,6 +1786,7 @@ }, "Ruleset": { "docs": "Associated [Ruleset](#ruleset-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the ruleset was archived", @@ -1750,6 +1827,7 @@ }, "RulesetPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -1761,6 +1839,7 @@ }, "SeekPagination": { "docs": undefined, + "inline": undefined, "properties": { "dir": "optional", "limit": "optional", @@ -1776,6 +1855,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1788,6 +1868,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1798,6 +1879,7 @@ }, "ShopifyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "optional", "api_secret": "optional", @@ -1821,6 +1903,7 @@ }, "ShortEventData": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -1837,6 +1920,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1848,6 +1932,7 @@ }, "ShortEventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1857,6 +1942,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1869,6 +1955,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1879,6 +1966,7 @@ }, "ShortEventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1886,6 +1974,7 @@ }, "Source": { "docs": "Associated [Source](#source-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the source was archived", @@ -1930,6 +2019,7 @@ }, "SourceIntegration": { "docs": "Integration object", + "inline": true, "properties": { "features": { "docs": "List of enabled features", @@ -1951,6 +2041,7 @@ }, "SourcePaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1962,6 +2053,7 @@ }, "ToggleWebhookNotifications": { "docs": undefined, + "inline": undefined, "properties": { "enabled": "boolean", "source_id": "string", @@ -1997,6 +2089,7 @@ }, "TransformFull": { "docs": undefined, + "inline": undefined, "properties": { "transformation": { "docs": "You can optionally define a new transformation while creating a transform rule", @@ -2017,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", @@ -2037,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", @@ -2055,6 +2150,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2065,6 +2161,7 @@ }, "Transformation": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "JavaScript code to be executed", @@ -2103,6 +2200,7 @@ }, "TransformationExecution": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "id": "string", @@ -2137,6 +2235,7 @@ }, "TransformationExecutionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2148,6 +2247,7 @@ }, "TransformationExecutorOutput": { "docs": undefined, + "inline": undefined, "properties": { "console": "optional>", "execution_id": "optional", @@ -2162,6 +2262,7 @@ }, "TransformationExecutorOutputRequest": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -2177,6 +2278,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2187,6 +2289,7 @@ }, "TransformationExecutorOutputRequestBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2196,6 +2299,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2208,6 +2312,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2218,6 +2323,7 @@ }, "TransformationExecutorOutputRequestParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2227,6 +2333,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2237,6 +2344,7 @@ }, "TransformationExecutorOutputRequestQueryZero": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2244,6 +2352,7 @@ }, "TransformationFailedMeta": { "docs": undefined, + "inline": undefined, "properties": { "transformation_id": "string", }, @@ -2253,6 +2362,7 @@ }, "TransformationIssue": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -2302,6 +2412,7 @@ }, "TransformationIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'transformation' type issue", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformation_id": "list", @@ -2312,6 +2423,7 @@ }, "TransformationIssueData": { "docs": "Transformation issue data", + "inline": undefined, "properties": { "transformation_execution": "TransformationExecution", "trigger_attempt": "optional", @@ -2322,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": { @@ -2335,6 +2448,7 @@ }, "TransformationIssueWithData": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -2385,6 +2499,7 @@ }, "TransformationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2438,6 +2553,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPaginationDir: discriminated: false union: @@ -2445,6 +2561,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPagination: properties: order_by: optional @@ -2479,6 +2596,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerDeliveryConfigs: docs: Configurations for a 'delivery' issue trigger properties: @@ -2510,6 +2628,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerTransformationConfigs: docs: Configurations for a 'Transformation' issue trigger properties: @@ -2539,6 +2658,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerBackpressureConfigs: docs: Configurations for a 'Backpressure' issue trigger properties: @@ -2624,6 +2744,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ApiErrorResponse: docs: Error response model properties: @@ -2701,6 +2822,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventAttempt: properties: id: @@ -2773,6 +2895,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataParsedQuery: discriminated: false union: @@ -2780,6 +2903,7 @@ types: - ShortEventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true ShortEventDataHeaders: discriminated: false union: @@ -2787,10 +2911,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true ShortEventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataBody: discriminated: false union: @@ -2799,6 +2925,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ShortEventData: properties: path: string @@ -2861,6 +2988,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventDataParsedQuery: discriminated: false union: @@ -2868,6 +2996,7 @@ types: - EventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true EventDataHeaders: discriminated: false union: @@ -2875,10 +3004,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true EventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true EventDataBody: discriminated: false union: @@ -2887,6 +3018,7 @@ types: - list source: openapi: ../openapi.yml + inline: true EventData: properties: path: string @@ -2897,6 +3029,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Event: properties: id: @@ -3036,6 +3169,7 @@ types: - optional source: openapi: ../openapi.yml + inline: true BatchOperation: properties: id: @@ -3207,6 +3341,7 @@ types: - ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true Integration: properties: id: @@ -3552,6 +3687,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataParsedQuery: discriminated: false union: @@ -3559,6 +3695,7 @@ types: - RequestDataParsedQueryOne source: openapi: ../openapi.yml + inline: true RequestDataHeaders: discriminated: false union: @@ -3566,10 +3703,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true RequestDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataBody: discriminated: false union: @@ -3578,6 +3717,7 @@ types: - list source: openapi: ../openapi.yml + inline: true RequestData: properties: path: string @@ -3588,6 +3728,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Request: properties: id: @@ -3678,6 +3819,7 @@ types: - TransformationFailedMeta source: openapi: ../openapi.yml + inline: true IgnoredEvent: properties: id: string @@ -3731,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 @@ -3779,6 +3922,7 @@ types: your transformation code source: openapi: ../openapi.yml + inline: true TransformFull: properties: type: @@ -3872,6 +4016,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true Source: docs: Associated [Source](#source-object) object properties: @@ -3972,10 +4117,12 @@ types: - map source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQueryZero: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQuery: discriminated: false union: @@ -3983,10 +4130,12 @@ types: - string source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQuery: discriminated: false union: @@ -3994,10 +4143,12 @@ types: - TransformationExecutorOutputRequestParsedQueryOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBody: discriminated: false union: @@ -4005,6 +4156,7 @@ types: - TransformationExecutorOutputRequestBodyOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequest: properties: headers: optional @@ -4014,6 +4166,7 @@ types: body: optional source: openapi: ../openapi.yml + inline: true TransformationExecutorOutput: properties: request_id: optional @@ -5498,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", @@ -5573,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", }, @@ -5592,6 +5747,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryAttemptsAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -5653,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", }, @@ -5663,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", @@ -5672,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", }, @@ -5692,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", }, @@ -5703,6 +5863,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryCliIdAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", }, @@ -5714,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", }, @@ -5726,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", }, @@ -5736,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", @@ -5751,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", }, @@ -5772,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", }, @@ -5792,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", }, @@ -5812,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", }, @@ -5822,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", @@ -5831,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", }, @@ -5852,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", }, @@ -5872,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", }, @@ -5882,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", @@ -5897,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", }, @@ -5907,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", @@ -5916,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", }, @@ -5936,6 +6112,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryResponseStatusAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -5997,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", }, @@ -6018,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", }, @@ -6030,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", }, @@ -6040,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", @@ -6055,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", }, @@ -6104,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 @@ -6112,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: @@ -6121,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 @@ -6132,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 @@ -6143,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 @@ -6154,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: @@ -6179,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 @@ -6189,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: @@ -6219,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 @@ -6231,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 @@ -6240,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 @@ -6248,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 @@ -6257,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 @@ -6265,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: @@ -6274,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. @@ -6288,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: @@ -6295,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 @@ -6304,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 @@ -6312,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: @@ -6321,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 @@ -6333,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 @@ -6345,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: >- @@ -6359,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: @@ -6368,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: @@ -6425,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: @@ -6921,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", @@ -6949,6 +7161,7 @@ docs: '' "discriminated": false, "docs": "The cause of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6969,6 +7182,7 @@ docs: '' "discriminated": false, "docs": "Connection ID of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7016,6 +7230,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQueryWebhookId: discriminated: false docs: Connection ID of the ignored event @@ -7026,6 +7241,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQuery: docs: Filter by the bulk retry ignored event query object properties: @@ -7044,6 +7260,7 @@ docs: '' maxLength: 255 source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -7538,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", @@ -7586,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", }, @@ -7596,6 +7815,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7605,6 +7825,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7625,6 +7846,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7635,6 +7857,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryCreatedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -7650,6 +7873,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7670,6 +7894,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryEventsCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -7731,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", }, @@ -7741,6 +7967,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryHeadersOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7750,6 +7977,7 @@ docs: '' "discriminated": false, "docs": "Filter by requests IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7771,6 +7999,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7791,6 +8020,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIgnoredCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -7852,6 +8082,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7862,6 +8093,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIngestedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -7877,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", }, @@ -7887,6 +8120,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7896,6 +8130,7 @@ docs: '' "discriminated": false, "docs": "Filter by rejection cause", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7907,6 +8142,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryRejectionCauseAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": "optional", @@ -7923,6 +8159,7 @@ docs: '' "discriminated": false, "docs": "Filter by source IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7981,6 +8218,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryStatus: enum: - accepted @@ -7997,6 +8235,7 @@ docs: '' contains: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryRejectionCause: discriminated: false docs: Filter by rejection cause @@ -8006,6 +8245,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCountAny: properties: gt: @@ -8031,6 +8271,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCount: discriminated: false union: @@ -8041,6 +8282,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCountAny: properties: gt: @@ -8066,6 +8308,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCount: discriminated: false union: @@ -8076,6 +8319,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQuerySourceId: discriminated: false docs: Filter by source IDs @@ -8087,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 @@ -8099,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 @@ -8111,10 +8359,12 @@ docs: '' - CreateRequestBulkRetryRequestQueryBodyOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQuery: discriminated: false docs: >- @@ -8125,6 +8375,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryParsedQueryOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAtAny: properties: gt: optional @@ -8134,6 +8385,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAt: discriminated: false union: @@ -8141,6 +8393,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryCreatedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAtAny: properties: gt: optional @@ -8150,6 +8403,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAt: discriminated: false union: @@ -8157,6 +8411,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryIngestedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBulkRetryId: discriminated: false union: @@ -8166,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 @@ -8205,6 +8461,7 @@ docs: '' bulk_retry_id: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -9512,6 +9769,7 @@ docs: '' "types": { "CreateConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -9558,6 +9816,7 @@ docs: '' }, "CreateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -9581,6 +9840,7 @@ docs: '' }, "CreateConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -9610,6 +9870,7 @@ docs: '' }, "UpdateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -9633,6 +9894,7 @@ docs: '' }, "UpsertConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -9679,6 +9941,7 @@ docs: '' }, "UpsertConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -9702,6 +9965,7 @@ docs: '' }, "UpsertConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -9760,6 +10024,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true CreateConnectionRequestSource: docs: Source input object properties: @@ -9771,6 +10036,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true CreateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -9786,6 +10052,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestDestinationRateLimitPeriod: enum: - second @@ -9818,6 +10085,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestSource: docs: Source input object properties: @@ -9829,6 +10097,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestRuleset: docs: Ruleset input object properties: @@ -9844,6 +10113,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpdateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -9859,6 +10129,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -12653,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", }, @@ -12668,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", }, @@ -12969,6 +13242,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true UpdateIntegrationRequestConfigs: discriminated: false docs: >- @@ -12982,6 +13256,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true ", }, "issueTriggers.yml": { @@ -13480,6 +13755,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13505,6 +13781,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13518,6 +13795,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13549,6 +13827,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpsertIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -13558,6 +13837,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpdateIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -13567,6 +13847,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -18085,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", }, @@ -18126,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", @@ -18133,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", @@ -18163,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", }, @@ -18173,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", @@ -18180,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", @@ -18189,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", }, @@ -18201,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", }, @@ -18226,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: @@ -18233,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: @@ -18240,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 @@ -18257,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: @@ -18282,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 eb6c0e1f9ee..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.", @@ -229,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.", @@ -249,6 +255,7 @@ in the Evaluation Report.", }, "CommitRequest": { "docs": undefined, + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -290,6 +297,7 @@ in the Evaluation Report.", "discriminated": false, "docs": "The content of the message.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -300,6 +308,7 @@ in the Evaluation Report.", }, "CreateDatapointRequest": { "docs": undefined, + "inline": undefined, "properties": { "inputs": { "docs": "The inputs to the prompt template.", @@ -322,6 +331,7 @@ in the Evaluation Report.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -340,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.", @@ -360,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.", @@ -384,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.", @@ -408,6 +421,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DashboardConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "model_config_ids": { "type": "list", @@ -423,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_`.", @@ -449,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", }, @@ -463,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_`.", @@ -478,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.", @@ -531,6 +549,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EnvironmentResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -559,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", }, @@ -573,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.", @@ -594,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. ", @@ -615,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", @@ -639,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.", @@ -654,6 +678,7 @@ function.", }, "EvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -697,6 +722,7 @@ function.", }, "EvaluationResultResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -736,6 +762,7 @@ function.", }, "EvaluationStats": { "docs": undefined, + "inline": undefined, "properties": { "overall_stats": { "docs": "Stats for the Evaluation Report as a whole.", @@ -765,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.", @@ -783,6 +811,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -799,6 +828,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -823,6 +853,7 @@ function.", }, "EvaluatorConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -875,6 +906,7 @@ function.", }, "EvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "orchestrated": { "default": true, @@ -892,6 +924,7 @@ function.", }, "EvaluatorResponse": { "docs": "Request model for creating a new Evaluator", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -989,6 +1022,7 @@ function.", }, "FeedbackResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the feedback was created. ", @@ -1025,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", }, @@ -1039,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", }, @@ -1062,6 +1098,7 @@ function.", }, "FeedbackTypeModel": { "docs": undefined, + "inline": undefined, "properties": { "type": { "display-name": "Feedback type", @@ -1081,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", }, @@ -1098,6 +1136,7 @@ function.", "discriminated": false, "docs": "The File that the deployed Version belongs to.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1118,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", @@ -1130,6 +1170,7 @@ function.", }, "FunctionToolChoice": { "docs": "A function tool to be called by the model where user owns runtime.", + "inline": undefined, "properties": { "name": "string", }, @@ -1139,6 +1180,7 @@ function.", }, "GenericConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "docs": "The user who created the config.", @@ -1171,6 +1213,7 @@ function.", }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1182,6 +1225,7 @@ function.", }, "HumanEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1198,6 +1242,7 @@ function.", }, "ImageChatContent": { "docs": undefined, + "inline": undefined, "properties": { "image_url": { "docs": "The message's image content.", @@ -1210,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", @@ -1237,6 +1283,7 @@ function.", }, "InputResponse": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Type of input.", @@ -1251,6 +1298,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1261,6 +1309,7 @@ function.", }, "LLMEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1295,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.", @@ -1323,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", @@ -1351,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.", @@ -1363,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.", @@ -1375,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.", @@ -1387,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.", @@ -1399,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.", @@ -1574,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", }, @@ -1588,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", @@ -1599,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}}.", @@ -1685,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", }, @@ -1697,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", }, @@ -1713,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}}.", @@ -1805,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", }, @@ -1818,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.", @@ -1883,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.", @@ -1899,6 +1964,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1935,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.", @@ -1948,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.", @@ -1999,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.", @@ -2019,6 +2088,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatapointResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2033,6 +2103,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatasetResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2047,6 +2118,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataEvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2061,6 +2133,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataPromptLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2075,6 +2148,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataSessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2111,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. ", @@ -2167,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", @@ -2246,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", }, @@ -2260,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. ", @@ -2328,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.", @@ -2403,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", }, @@ -2413,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", @@ -2540,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", }, @@ -2554,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.", @@ -2682,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", }, @@ -2692,6 +2776,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ProviderApiKeys": { "docs": undefined, + "inline": undefined, "properties": { "ai21": { "type": "optional", @@ -2721,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">", @@ -2732,6 +2818,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "SessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -2787,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", }, @@ -2797,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.", @@ -2820,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", @@ -2835,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", @@ -2852,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.", @@ -2891,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.", @@ -2951,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", @@ -2971,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.", @@ -2991,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.", @@ -3072,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", @@ -3096,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", @@ -3149,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.", @@ -3169,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", @@ -3184,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", }, @@ -3196,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", }, @@ -3208,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", }, @@ -3228,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.", @@ -3245,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", @@ -3276,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.", @@ -3298,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", }, @@ -3425,6 +3532,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ChatMessage: properties: content: @@ -3537,6 +3645,7 @@ types: - list source: openapi: ../openapi.yml + inline: true CreateDatapointRequest: properties: inputs: @@ -3631,6 +3740,7 @@ types: - list source: openapi: ../openapi.yml + inline: true DatapointResponse: properties: inputs: @@ -3773,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 @@ -3899,6 +4010,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequestEvaluatorsToDeactivateItem: discriminated: false union: @@ -3906,6 +4018,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequest: properties: evaluators_to_activate: @@ -4062,6 +4175,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponseValue: discriminated: false docs: >- @@ -4073,6 +4187,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponse: properties: type: @@ -4112,6 +4227,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackTypeModel: properties: type: @@ -4321,6 +4437,7 @@ types: - double source: openapi: ../openapi.yml + inline: true LogResponseToolChoice: discriminated: false docs: >- @@ -4337,6 +4454,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true LogResponse: docs: Request model for logging a datapoint. properties: @@ -4503,6 +4621,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigRequestToolsItem: discriminated: false union: @@ -4510,6 +4629,7 @@ types: - type: ModelConfigToolRequest source: openapi: ../openapi.yml + inline: true ModelConfigRequest: docs: Model config used for logging both chat and completion. properties: @@ -4610,6 +4730,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigResponse: docs: >- Model config request. @@ -5006,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: @@ -5150,6 +5272,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequestStop: discriminated: false docs: >- @@ -5160,6 +5283,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequest: properties: model: @@ -5266,6 +5390,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true PromptLogResponse: docs: Request for creating a Prompt log. properties: @@ -5395,6 +5520,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptResponse: docs: Request model for creating a new Prompt properties: @@ -5781,6 +5907,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -5799,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: @@ -5821,6 +5949,7 @@ types: - type: EvaluatorResponse source: openapi: ../openapi.yml + inline: true VersionIdResponse: docs: A reference to a specific Version by its ID properties: @@ -5847,6 +5976,7 @@ types: - type: BooleanEvaluatorVersionStats source: openapi: ../openapi.yml + inline: true VersionStats: docs: Stats for an Evaluated Version in the Evaluation Report. properties: @@ -12845,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", }, @@ -12865,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", }, @@ -12881,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", }, @@ -12893,6 +13026,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -12909,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", }, @@ -14190,6 +14325,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptRequestStop: discriminated: false docs: >- @@ -14200,6 +14336,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptLogRequestToolChoice: discriminated: false docs: >- @@ -14224,6 +14361,7 @@ types: - type: root.ToolChoice source: openapi: ../openapi.yml + inline: true PromptCallRequestToolChoice: discriminated: false docs: >- @@ -14248,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 55a9ceb8bfc..344d1c9115e 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.", @@ -2850,6 +2851,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -2869,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.", @@ -2913,6 +2916,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -2937,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", @@ -2969,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.", @@ -3025,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", @@ -3041,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.", @@ -3080,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.", @@ -3120,6 +3129,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -3142,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.", @@ -3165,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.", @@ -3181,6 +3193,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -3218,6 +3231,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -3272,6 +3286,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -3308,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", @@ -3468,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", @@ -3491,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.", @@ -3521,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.", @@ -3538,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", @@ -3561,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.", @@ -3584,6 +3605,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -3607,6 +3629,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -3623,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>", @@ -3649,6 +3673,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -3673,6 +3698,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -3696,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", @@ -3722,6 +3749,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -3746,6 +3774,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -3769,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", @@ -3793,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.", @@ -3823,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.", @@ -3843,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.", @@ -3867,6 +3900,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3887,6 +3921,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -3906,6 +3941,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -3920,6 +3956,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3940,6 +3977,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -3955,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.", @@ -3971,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.", @@ -3983,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.", @@ -4013,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.", @@ -4043,6 +4085,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4067,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.", @@ -4083,6 +4127,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -4102,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", @@ -4122,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": "", @@ -4142,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", @@ -4165,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.)", @@ -4220,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", @@ -4250,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.", @@ -4270,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", @@ -4296,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.", @@ -4339,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.", @@ -4423,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).", @@ -4439,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.", @@ -4491,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", @@ -4535,6 +4592,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -4551,6 +4609,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -4568,6 +4627,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4584,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.", @@ -4630,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", @@ -4663,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", }, @@ -4677,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", }, @@ -4694,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.", @@ -4706,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.", @@ -4718,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", @@ -4734,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", @@ -4754,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", @@ -4764,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", @@ -4792,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", @@ -4820,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.", @@ -4932,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.", @@ -4952,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.", @@ -4972,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.", @@ -4992,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.", @@ -5012,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.", @@ -5024,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", @@ -5050,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", @@ -5070,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", @@ -5105,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.", @@ -5125,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", @@ -5363,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.", @@ -5383,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.", @@ -5417,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.", @@ -5444,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", }, @@ -5460,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.", @@ -5510,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.", @@ -5533,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.", @@ -5548,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.", @@ -5578,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", @@ -5632,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", @@ -5668,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.", @@ -5704,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.", @@ -5720,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.", @@ -5736,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": "", @@ -5754,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", }, @@ -5768,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", @@ -5782,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", }, @@ -5796,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.", @@ -5816,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.", @@ -5832,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.", @@ -5884,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.", @@ -5922,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.", @@ -5938,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", @@ -5964,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.", @@ -5980,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 .", @@ -5996,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.", @@ -6012,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.", @@ -6028,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.", @@ -6041,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.", @@ -6053,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.", @@ -6069,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", @@ -6085,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", @@ -6107,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", }, @@ -6122,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", @@ -6145,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", @@ -6187,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.", @@ -6207,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.", @@ -6267,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", }, @@ -6279,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.", @@ -6359,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.", @@ -6375,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.", @@ -6391,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.", @@ -6411,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.", @@ -6427,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.", @@ -6447,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.", @@ -6498,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.", @@ -6547,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.", @@ -6688,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.", @@ -6711,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": { @@ -6724,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.", @@ -6744,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.", @@ -6785,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": { @@ -6798,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": { @@ -6811,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": { @@ -6824,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.", @@ -8238,6 +8375,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -8481,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: @@ -8527,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: @@ -9110,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 @@ -9792,6 +9933,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -9801,6 +9943,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -9829,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: @@ -10067,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 @@ -10346,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: @@ -10540,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: @@ -10551,6 +10698,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -10588,6 +10736,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -10746,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: @@ -10775,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: @@ -11069,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: @@ -11187,6 +11339,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -11195,6 +11348,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -11224,6 +11378,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -11232,6 +11387,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -11245,6 +11401,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -11253,6 +11410,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -11261,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 @@ -11510,10 +11669,6 @@ You can view the currently authorised admin along with the embedded app object ( }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 20, "total_pages": 1, @@ -11807,6 +11962,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", @@ -12064,9 +12220,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 20 total_pages: 1 activity_logs: @@ -12219,6 +12372,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -12324,6 +12478,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.", @@ -14959,6 +15114,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -14981,6 +15137,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.", @@ -15001,6 +15158,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -15027,6 +15185,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -15053,6 +15212,7 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", @@ -15076,6 +15236,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -15092,6 +15253,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.", @@ -17553,6 +17715,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -17571,6 +17734,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 @@ -17599,6 +17763,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: @@ -18445,10 +18610,6 @@ When using the Companies endpoint and the pages object to iterate through the re }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -18560,10 +18721,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -18683,18 +18840,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "website": "https://www.intercom.com", }, ], - "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, - "page": 1, - "per_page": 2, - "total_pages": 13, - "type": "pages", - }, "scroll_param": "12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc", - "total_count": 100, "type": "list", }, }, @@ -18728,6 +18874,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.", @@ -18811,6 +18958,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", @@ -18831,6 +18979,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": { @@ -18844,6 +18993,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": { @@ -18924,9 +19074,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -19357,9 +19504,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -19471,15 +19615,6 @@ service: name: Active created_at: 1394621988 updated_at: 1394622004 - pages: - type: pages - page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response - per_page: 2 - total_pages: 13 - total_count: 100 scroll_param: 12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc attachContactToACompany: path: /contacts/{id}/companies @@ -19705,6 +19840,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: @@ -19714,6 +19850,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -19723,6 +19860,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -19855,19 +19993,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -19879,30 +20004,13 @@ types: }, "email": "joebloggs@intercom.io", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60b08a68186f43bafdbf", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -19915,11 +20023,7 @@ types: "total_count": 0, "url": "/contacts/667d60b08a68186f43bafdbf/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", - "signed_up_at": 1571672154, "social_profiles": { "data": [ { @@ -20128,19 +20232,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -20156,22 +20247,7 @@ types: "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60ac8a68186f43bafdbc", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -20188,9 +20264,6 @@ types: "total_count": 0, "url": "/contacts/667d60ac8a68186f43bafdbc/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492780, "social_profiles": { @@ -20491,19 +20564,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -20519,22 +20579,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a98a68186f43bafdb9", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -20551,9 +20596,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a98a68186f43bafdb9/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492777, "social_profiles": { @@ -20658,19 +20700,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -20686,22 +20715,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a88a68186f43bafdb8", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -20718,9 +20732,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a88a68186f43bafdb8/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492776, "social_profiles": { @@ -20870,7 +20881,6 @@ The table below shows the operators you can use to define how you want to search }, ], "pages": { - "next": "next", "page": 1, "per_page": 50, "total_pages": 1, @@ -21094,6 +21104,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.", @@ -21280,6 +21291,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.", @@ -21361,7 +21373,6 @@ service: pages: type: pages page: 1 - next: next per_page: 50 total_pages: 1 listSegmentsForAContact: @@ -21527,43 +21538,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492777 updated_at: 1719492777 signed_up_at: 1719492777 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21586,9 +21570,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -21669,43 +21650,16 @@ service: role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: joe bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492776 updated_at: 1719492776 signed_up_at: 1719492776 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21728,9 +21682,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -21807,43 +21758,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492780 updated_at: 1719492780 signed_up_at: 1719492780 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21866,9 +21790,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -22299,48 +22220,18 @@ service: body: type: contact id: 667d60b08a68186f43bafdbf - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id272_that_should_be_at_least_ role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492784 updated_at: 1719492784 - signed_up_at: 1571672154 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -22363,9 +22254,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -22438,6 +22326,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: @@ -23025,26 +22914,6 @@ It is not possible to use this endpoint with Workflows. }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -23091,29 +22960,10 @@ It is not possible to use this endpoint with Workflows. "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492880, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "409", "linked_objects": { "data": [ @@ -23128,12 +22978,6 @@ It is not possible to use this endpoint with Workflows. "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -23158,30 +23002,8 @@ It is not possible to use this endpoint with Workflows. "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -23193,19 +23015,8 @@ It is not possible to use this endpoint with Workflows. ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492881, - "waiting_since": 1663597260, }, }, }, @@ -24460,26 +24271,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24524,29 +24315,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -24561,12 +24333,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24591,30 +24357,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24626,19 +24370,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -24656,26 +24389,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24719,29 +24432,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492864, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "395", "linked_objects": { "data": [ @@ -24756,11 +24450,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, "snoozed_until": 1719496464, "source": { "attachments": [ @@ -24786,30 +24475,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "snoozed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24821,19 +24488,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492864, - "waiting_since": 1663597260, }, }, }, @@ -24851,26 +24507,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24914,29 +24550,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492863, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "400", "linked_objects": { "data": [ @@ -24951,12 +24568,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24981,30 +24592,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25016,19 +24605,9 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, "title": "", "type": "conversation", "updated_at": 1719492873, - "waiting_since": 1663597260, }, }, }, @@ -25047,25 +24626,6 @@ You can optionally request the result page size and the cursor to start after to "response": { "body": { "admin_assignee_id": 991267615, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25113,29 +24673,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492874, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "405", "linked_objects": { "data": [ @@ -25150,12 +24691,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25180,30 +24715,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25215,19 +24728,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492875, - "waiting_since": 1663597260, }, }, }, @@ -25245,26 +24747,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25309,29 +24791,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -25346,12 +24809,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25376,30 +24833,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25411,19 +24846,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -25473,26 +24897,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25537,20 +24941,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -25558,7 +24948,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -25574,12 +24963,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25604,30 +24987,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25639,16 +25000,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -25664,26 +25015,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25728,20 +25059,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -25749,7 +25066,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -25765,12 +25081,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25795,30 +25105,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25830,16 +25118,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -25885,26 +25163,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25949,20 +25207,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -25970,7 +25214,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -25986,12 +25229,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26016,30 +25253,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26051,16 +25266,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -26080,26 +25285,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26155,29 +25340,10 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492852, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "388", "linked_objects": { "data": [ @@ -26192,12 +25358,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26222,30 +25382,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26257,19 +25395,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492853, - "waiting_since": 1663597260, }, }, }, @@ -26286,26 +25413,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26350,20 +25457,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492855, "custom_attributes": { "key": "value", @@ -26371,7 +25464,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492856, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "390", "linked_objects": { @@ -26387,12 +25479,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26417,30 +25503,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26452,16 +25516,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492856, "waiting_since": 1719492856, @@ -26481,26 +25535,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26545,20 +25579,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -26566,7 +25586,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -26582,12 +25601,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26612,30 +25625,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26647,16 +25638,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -26715,26 +25696,6 @@ For AI agent conversation metadata, please note that you need to have the agent }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26761,29 +25722,10 @@ For AI agent conversation metadata, please note that you need to have the agent "total_count": 0, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492825, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "367", "linked_objects": { "data": [ @@ -26798,12 +25740,6 @@ For AI agent conversation metadata, please note that you need to have the agent "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26828,30 +25764,8 @@ For AI agent conversation metadata, please note that you need to have the agent "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26863,19 +25777,8 @@ For AI agent conversation metadata, please note that you need to have the agent ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492825, - "waiting_since": 1663597260, }, }, }, @@ -27030,7 +25933,6 @@ The table below shows the operators you can use to define how you want to search "body": { "conversations": [ { - "admin_assignee_id": 0, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27045,19 +25947,10 @@ The table below shows the operators you can use to define how you want to search "conversation_parts": { "total_count": 2, }, - "conversation_rating": { - "created_at": 1671028894, - "rating": 5, - "remark": "", - }, "created_at": 1719492843, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - }, "id": "378", "linked_objects": { "data": [ @@ -27072,11 +25965,6 @@ The table below shows the operators you can use to define how you want to search "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27103,27 +25991,6 @@ The table below shows the operators you can use to define how you want to search "type": "conversation", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27135,14 +26002,8 @@ The table below shows the operators you can use to define how you want to search ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492843, - "waiting_since": 1663597260, }, ], "pages": { @@ -27212,26 +26073,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27301,30 +26142,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -27339,12 +26161,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27369,30 +26185,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27404,19 +26198,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -27437,26 +26220,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27526,30 +26289,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -27564,12 +26308,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27594,30 +26332,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27629,19 +26345,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -27696,6 +26401,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", }, @@ -27713,6 +26419,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", @@ -27728,6 +26435,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", @@ -27743,6 +26451,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.", @@ -27864,6 +26573,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.", @@ -27897,6 +26607,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", @@ -28130,17 +26841,12 @@ service: body: type: conversation id: '367' - title: Conversation Title created_at: 1719492825 updated_at: 1719492825 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28148,17 +26854,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918255' @@ -28178,7 +26873,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28186,40 +26880,8 @@ service: - type: contact id: 667d60d88a68186f43bafde1 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -28238,20 +26900,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en updateConversation: path: /conversations/{id} method: PUT @@ -28312,17 +26960,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28330,17 +26973,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -28360,7 +26992,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28368,41 +26999,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -28456,20 +27055,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 1 @@ -28484,17 +27069,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28502,17 +27082,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -28532,7 +27101,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28540,41 +27108,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -28628,20 +27164,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en searchConversations: path: /conversations/search method: POST @@ -28993,17 +27515,12 @@ service: conversations: - type: conversation id: '378' - title: Conversation Title created_at: 1719492843 updated_at: 1719492843 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29011,10 +27528,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 source: type: conversation id: '403918266' @@ -29041,36 +27554,8 @@ service: - type: contact id: 667d60ea8a68186f43bafdec external_id: '70' - teammates: - type: admin.list custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - sla_applied: - type: conversation_sla_summary - sla_name: '' - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: total_count: 2 linked_objects: @@ -29128,17 +27613,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29146,17 +27627,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -29176,7 +27646,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29184,40 +27653,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29250,20 +27690,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Admin note reply path-parameters: id: 123 or "last" @@ -29280,17 +27706,12 @@ service: body: type: conversation id: '388' - title: Conversation Title created_at: 1719492852 updated_at: 1719492853 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29298,17 +27719,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918270' @@ -29328,7 +27738,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29336,40 +27745,8 @@ service: - type: contact id: 667d60f38a68186f43bafdf5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29414,20 +27791,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: User last conversation reply path-parameters: id: 123 or "last" @@ -29440,17 +27803,13 @@ service: body: type: conversation id: '390' - title: Conversation Title created_at: 1719492855 updated_at: 1719492856 waiting_since: 1719492856 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29458,17 +27817,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918272' @@ -29488,7 +27836,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29496,40 +27843,11 @@ service: - type: contact id: 667d60f78a68186f43bafdf7 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492856 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29562,20 +27880,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 123 or "last" @@ -29588,17 +27892,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29606,17 +27906,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -29636,7 +27925,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29644,40 +27932,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29710,20 +27969,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en manageConversation: path: /conversations/{id}/parts method: POST @@ -29765,17 +28010,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29783,17 +28023,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -29813,7 +28042,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29821,40 +28049,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29887,20 +28083,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Snooze a conversation path-parameters: id: '123' @@ -29914,17 +28096,13 @@ service: body: type: conversation id: '395' - title: Conversation Title created_at: 1719492864 updated_at: 1719492864 - waiting_since: 1663597260 snoozed_until: 1719496464 open: true state: snoozed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29932,17 +28110,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918277' @@ -29962,7 +28129,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29970,40 +28136,8 @@ service: - type: contact id: 667d60ff8a68186f43bafdfc external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30035,20 +28169,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Open a conversation path-parameters: id: '123' @@ -30065,14 +28185,10 @@ service: title: '' created_at: 1719492863 updated_at: 1719492873 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30080,17 +28196,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918278' @@ -30110,7 +28215,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30118,40 +28222,8 @@ service: - type: contact id: 667d61038a68186f43bafe01 external_id: '74' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30183,20 +28255,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Assign a conversation path-parameters: id: '123' @@ -30210,17 +28268,13 @@ service: body: type: conversation id: '405' - title: Conversation Title created_at: 1719492874 updated_at: 1719492875 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority admin_assignee_id: 991267615 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30228,17 +28282,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918281' @@ -30258,7 +28301,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30266,40 +28308,8 @@ service: - type: contact id: 667d610a8a68186f43bafe05 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30334,20 +28344,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: '123' @@ -30361,17 +28357,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30379,17 +28370,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -30409,7 +28389,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30417,40 +28396,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30483,20 +28430,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en autoAssignConversation: path: /conversations/{id}/run_assignment_rules method: POST @@ -30532,17 +28465,12 @@ service: body: type: conversation id: '409' - title: Conversation Title created_at: 1719492880 updated_at: 1719492881 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30550,17 +28478,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918285' @@ -30580,7 +28497,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30588,40 +28504,8 @@ service: - type: contact id: 667d61108a68186f43bafe09 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30656,20 +28540,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en attachContactToConversation: path: /conversations/{id}/customers method: POST @@ -31578,17 +29448,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31596,17 +29462,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -31626,7 +29481,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31634,40 +29488,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31700,20 +29525,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found request: type: conversation_part @@ -31723,17 +29534,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31741,17 +29548,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -31771,7 +29567,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31779,40 +29574,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31845,20 +29611,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en convertConversationToTicket: path: /conversations/{id}/convert method: POST @@ -32104,6 +29856,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -32127,6 +29880,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -32138,6 +29892,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -32149,6 +29904,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -32157,6 +29913,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -32264,6 +30021,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.", @@ -33238,6 +30996,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", @@ -34372,6 +32131,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.", @@ -34396,6 +32156,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", @@ -34438,6 +32199,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", }, @@ -34455,6 +32217,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -34464,6 +32227,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", }, @@ -34473,6 +32237,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", }, @@ -34488,16 +32253,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: @@ -34530,6 +32298,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: @@ -35002,6 +32771,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.", @@ -35284,7 +33054,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -35495,7 +33264,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -35797,7 +33565,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "159", "name": "English collection title", "order": 17, - "parent_id": "6871118", "updated_at": 1719492720, "url": "http://help-center.test/myapp-65/collection-17", "workspace_id": "this_is_an_id65_that_should_be_at_least_4", @@ -35805,8 +33572,6 @@ Collections will be returned in descending order on the `updated_at` attribute. { "created_at": 1719492720, "default_locale": "en", - "description": "Default language description", - "help_center_id": 1, "icon": "bookmark", "id": "160", "name": "English section title", @@ -35907,7 +33672,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "170", "name": "English collection title", "order": 22, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -36191,7 +33955,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -36404,7 +34167,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -36651,6 +34413,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.", @@ -36710,6 +34473,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.", @@ -36746,6 +34510,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", @@ -36813,12 +34578,10 @@ service: icon: bookmark order: 17 default_locale: en - parent_id: '6871118' help_center_id: 79 - id: '160' workspace_id: this_is_an_id65_that_should_be_at_least_4 name: English section title - description: Default language description created_at: 1719492720 updated_at: 1719492720 url: http://help-center.test/myapp-65/section-1 @@ -36826,7 +34589,6 @@ service: order: 1 default_locale: en parent_id: '159' - help_center_id: 1 createCollection: path: /help_center/collections method: POST @@ -37036,7 +34798,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 - name: Bad Request request: @@ -37204,7 +34965,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 retrieveCollection: path: /help_center/collections/{id} @@ -37392,7 +35152,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 84 updateCollection: path: /help_center/collections/{id} @@ -37604,7 +35363,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 - name: Collection Not Found path-parameters: @@ -37773,7 +35531,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 deleteCollection: path: /help_center/collections/{id} @@ -38181,6 +35938,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.", @@ -38481,7 +36239,6 @@ types: "response": { "body": { "body": "

New costumes in store for this spooky season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492978, "deliver_silently": true, "id": "33", @@ -38750,7 +36507,6 @@ types: "response": { "body": { "body": "

Hello there,

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492979, "deliver_silently": false, "id": "34", @@ -38861,7 +36617,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -38903,7 +36658,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -38960,6 +36714,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.", @@ -39039,6 +36794,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.", @@ -39063,6 +36819,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).", @@ -39173,7 +36930,6 @@ service: - New - Product - Update - cover_image_url: https://example.com/cover.jpg reactions: - 😆 - 😅 @@ -39215,7 +36971,6 @@ service: published_at: 1719492980 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 👍 - 👍 @@ -39269,7 +37024,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -39299,7 +37053,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -39832,10 +37585,6 @@ types: }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 50, "total_pages": 1, @@ -39939,6 +37688,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.", @@ -39971,6 +37721,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -40071,9 +37822,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 50 total_pages: 1 createNote: @@ -40271,6 +38019,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: @@ -40420,6 +38169,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.", @@ -40870,6 +38620,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.", @@ -42204,6 +39955,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -42224,6 +39976,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", @@ -42954,6 +40707,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.", @@ -45617,6 +43371,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.", @@ -45635,6 +43390,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", }, @@ -45652,6 +43408,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.", @@ -45664,6 +43421,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.", @@ -45676,6 +43434,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.", @@ -45690,6 +43449,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", }, @@ -45704,6 +43464,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.", @@ -45797,6 +43558,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.)", @@ -45892,6 +43654,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.", @@ -45957,6 +43720,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.", @@ -46001,6 +43765,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -46010,6 +43775,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -46020,6 +43786,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -46028,6 +43795,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -46048,6 +43816,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -47557,19 +45326,6 @@ docs: Everything about your tickets }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -47581,30 +45337,13 @@ docs: Everything about your tickets }, "email": "foo@bar.com", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d61d08a68186f43bafea2", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -47617,9 +45356,6 @@ docs: Everything about your tickets "total_count": 0, "url": "/contacts/667d61d08a68186f43bafea2/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719493072, "social_profiles": { @@ -47698,7 +45434,6 @@ docs: Everything about your tickets "anonymous": true, "app_id": "this_is_an_id677_that_should_be_at_least_", "avatar": { - "image_url": "https://example.com/avatar.png", "type": "avatar", }, "companies": { @@ -47731,7 +45466,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61ce8a68186f43bafe9b", @@ -47747,11 +45481,6 @@ docs: Everything about your tickets "type": "location_data", }, "marked_email_as_spam": false, - "name": "Jane Doe", - "owner_id": "5169261", - "phone": "555-555-5555", - "pseudonym": "Red Duck from Dublin", - "referrer": "https://www.google.com/", "remote_created_at": 1719493070, "segments": { "segments": [ @@ -47780,11 +45509,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493070, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -47867,7 +45591,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -47884,10 +45607,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -47916,11 +45636,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -47968,7 +45683,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -47985,10 +45699,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -48017,11 +45728,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -48085,12 +45791,8 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 - name: Jane Doe - pseudonym: Red Duck from Dublin avatar: type: avatar - image_url: https://example.com/avatar.png app_id: this_is_an_id677_that_should_be_at_least_ companies: type: company.list @@ -48132,7 +45834,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -48147,13 +45848,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false updateVisitor: path: /visitors method: PUT @@ -48193,7 +45887,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -48241,7 +45934,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -48256,13 +45948,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false - name: visitor Not Found request: user_id: fail @@ -48274,7 +45959,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -48322,7 +46006,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -48337,13 +46020,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false convertVisitor: path: /visitors/convert method: POST @@ -48392,48 +46068,19 @@ service: body: type: contact id: 667d61d08a68186f43bafea2 - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id683_that_should_be_at_least_ role: user email: foo@bar.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719493072 updated_at: 1719493072 signed_up_at: 1719493072 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -48456,9 +46103,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile 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 95f50fc2068..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.", @@ -1464,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", }, @@ -1478,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.", @@ -1557,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.", @@ -1754,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>", @@ -1773,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.", @@ -2248,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.", @@ -2321,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", @@ -2396,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", @@ -2418,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": { @@ -2490,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", @@ -2508,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", @@ -2549,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", @@ -2560,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.", @@ -2595,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.", @@ -2624,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.", @@ -2636,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.", @@ -2648,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", @@ -2663,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.", @@ -3011,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", @@ -3050,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", @@ -3067,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.", @@ -3123,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.", @@ -3139,6 +3178,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedAccountDetailsAndActionsList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3150,6 +3190,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBankInfoList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3161,6 +3202,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBenefitList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3172,6 +3214,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedCompanyList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3183,6 +3226,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedConditionSchemaList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3194,6 +3238,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3205,6 +3250,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeePayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3216,6 +3262,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmploymentList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3227,6 +3274,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3238,6 +3286,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedIssueList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3249,6 +3298,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedLocationList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3260,6 +3310,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3271,6 +3322,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3282,6 +3334,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedSyncStatusList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3293,6 +3346,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTeamList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3304,6 +3358,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffBalanceList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3315,6 +3370,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3978,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": { @@ -4043,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.", @@ -4138,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", @@ -4153,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", @@ -4168,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", @@ -4190,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", @@ -4298,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", @@ -4337,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.", @@ -4394,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": { @@ -4444,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”.", @@ -4541,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.", @@ -4601,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", }, @@ -4615,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”.", @@ -4689,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>", @@ -4729,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", }, @@ -4738,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", @@ -4750,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", @@ -4761,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/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json index 0d731e2be4b..1234b194890 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,6 +1112,7 @@ enriched transactions.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1163,6 +1184,7 @@ enriched transactions.", }, "FnCall!": { "docs": undefined, + "inline": true, "properties": { "!": { "type": "expression", @@ -1174,6 +1196,7 @@ enriched transactions.", }, "FnCall&&": { "docs": undefined, + "inline": true, "properties": { "&&": "list", }, @@ -1183,6 +1206,7 @@ enriched transactions.", }, "FnCall*": { "docs": undefined, + "inline": true, "properties": { "*": "list", }, @@ -1192,6 +1216,7 @@ enriched transactions.", }, "FnCall+": { "docs": undefined, + "inline": true, "properties": { "+": "list", }, @@ -1201,6 +1226,7 @@ enriched transactions.", }, "FnCall-": { "docs": undefined, + "inline": true, "properties": { "-": "list", }, @@ -1210,6 +1236,7 @@ enriched transactions.", }, "FnCall/": { "docs": undefined, + "inline": true, "properties": { "/": "list", }, @@ -1219,6 +1246,7 @@ enriched transactions.", }, "FnCall//": { "docs": undefined, + "inline": true, "properties": { "//": "list", }, @@ -1228,6 +1256,7 @@ enriched transactions.", }, "FnCall<": { "docs": undefined, + "inline": true, "properties": { "<": "list", }, @@ -1237,6 +1266,7 @@ enriched transactions.", }, "FnCall<=": { "docs": undefined, + "inline": true, "properties": { "<=": "list", }, @@ -1246,6 +1276,7 @@ enriched transactions.", }, "FnCall==": { "docs": undefined, + "inline": true, "properties": { "==": "list", }, @@ -1255,6 +1286,7 @@ enriched transactions.", }, "FnCall>": { "docs": undefined, + "inline": true, "properties": { ">": "list", }, @@ -1264,6 +1296,7 @@ enriched transactions.", }, "FnCall>=": { "docs": undefined, + "inline": true, "properties": { ">=": "list", }, @@ -1273,6 +1306,7 @@ enriched transactions.", }, "FnCallEndsWith": { "docs": undefined, + "inline": true, "properties": { "ends_with": "list", }, @@ -1282,6 +1316,7 @@ enriched transactions.", }, "FnCallGet": { "docs": undefined, + "inline": true, "properties": { "get": { "type": "properties", @@ -1293,6 +1328,7 @@ enriched transactions.", }, "FnCallHasLabel": { "docs": undefined, + "inline": true, "properties": { "has_label": { "type": "expression", @@ -1304,6 +1340,7 @@ enriched transactions.", }, "FnCallHasMcc": { "docs": undefined, + "inline": true, "properties": { "has_mcc": { "type": "expression", @@ -1315,6 +1352,7 @@ enriched transactions.", }, "FnCallIsSubstring": { "docs": undefined, + "inline": true, "properties": { "is_substring": "list", }, @@ -1324,6 +1362,7 @@ enriched transactions.", }, "FnCallStartsWith": { "docs": undefined, + "inline": true, "properties": { "starts_with": "list", }, @@ -1333,6 +1372,7 @@ enriched transactions.", }, "FnCallToLower": { "docs": undefined, + "inline": true, "properties": { "to_lower": { "type": "expression", @@ -1344,6 +1384,7 @@ enriched transactions.", }, "FnCallToUpper": { "docs": undefined, + "inline": true, "properties": { "to_upper": { "type": "expression", @@ -1355,6 +1396,7 @@ enriched transactions.", }, "FnCall||": { "docs": undefined, + "inline": true, "properties": { "||": "list", }, @@ -1364,6 +1406,7 @@ enriched transactions.", }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1375,6 +1418,7 @@ enriched transactions.", }, "Intermediary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1416,6 +1460,7 @@ enriched transactions.", }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "raw_address": { "docs": "An unstructured string containing the address", @@ -1433,6 +1478,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 +1495,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 +1550,7 @@ under ambiguity.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1529,6 +1577,7 @@ under ambiguity.", }, "ModifyLabelsAddLabel": { "docs": undefined, + "inline": true, "properties": { "add_label": { "type": "expression", @@ -1540,6 +1589,7 @@ under ambiguity.", }, "ModifyLabelsAddMcc": { "docs": undefined, + "inline": true, "properties": { "add_mcc": { "type": "expression", @@ -1551,6 +1601,7 @@ under ambiguity.", }, "ModifyLabelsRemoveLabel": { "docs": undefined, + "inline": true, "properties": { "remove_label": { "type": "expression", @@ -1562,6 +1613,7 @@ under ambiguity.", }, "ModifyLabelsRemoveMcc": { "docs": undefined, + "inline": true, "properties": { "remove_mcc": { "type": "expression", @@ -1573,6 +1625,7 @@ under ambiguity.", }, "ModifyLabelsSetLabels": { "docs": undefined, + "inline": true, "properties": { "set_labels": "list", }, @@ -1582,6 +1635,7 @@ under ambiguity.", }, "ModifyLabelsSetMcc": { "docs": undefined, + "inline": true, "properties": { "set_mcc": "list", }, @@ -1591,6 +1645,7 @@ under ambiguity.", }, "PagedResponseAccountHolderExternal": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1603,6 +1658,7 @@ under ambiguity.", }, "PagedResponseBankStatement": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1615,6 +1671,7 @@ under ambiguity.", }, "PagedResponseBatch": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1627,6 +1684,7 @@ under ambiguity.", }, "PagedResponseReport": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1641,6 +1699,7 @@ under ambiguity.", }, "PagedResponseTransaction": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1653,6 +1712,7 @@ under ambiguity.", }, "PagedResponseWebhook": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1666,6 +1726,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 +1739,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 +1831,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 +1891,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 +1927,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 +1940,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 +2027,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 +2050,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 +2115,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 +2131,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 +2142,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 +2224,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 +2244,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 +2257,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 +2295,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 +3581,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -3594,112 +3670,133 @@ types: '&&': 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 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 + inline: true FnCall: discriminated: false union: @@ -3750,34 +3847,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: @@ -8465,10 +8568,6 @@ enriched = sdk.transactions.create([ }, ], }, - "error": { - "code": "account_holder_not_found", - "message": "message", - }, "id": "xbx8YP14g565Xk", "location": { "raw_address": "Nw 43rd Street 5480, Gainesville, Florida 32653, US", @@ -8965,9 +9064,6 @@ service: google_maps_url: >- https://www.google.com/maps/search/?api=1&query=29.704558,-82.389277 apple_maps_url: https://maps.apple.com/?q=29.704558,-82.389277 - error: - code: account_holder_not_found - message: message created_at: '2024-03-30T00:00:00Z' id: xbx8YP14g565Xk code-samples: 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 5128a4ed477..a5fd6fe7cb1 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.", @@ -2849,6 +2850,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -2868,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.", @@ -2912,6 +2915,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -2936,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", @@ -2968,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.", @@ -3024,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", @@ -3040,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.", @@ -3079,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.", @@ -3119,6 +3128,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -3141,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.", @@ -3164,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.", @@ -3180,6 +3192,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -3217,6 +3230,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -3271,6 +3285,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -3307,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", @@ -3467,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", @@ -3490,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.", @@ -3520,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.", @@ -3537,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", @@ -3560,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.", @@ -3583,6 +3604,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -3606,6 +3628,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -3622,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>", @@ -3648,6 +3672,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -3672,6 +3697,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -3695,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", @@ -3721,6 +3748,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -3745,6 +3773,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -3768,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", @@ -3792,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.", @@ -3822,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.", @@ -3842,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.", @@ -3866,6 +3899,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3886,6 +3920,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -3905,6 +3940,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -3919,6 +3955,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3939,6 +3976,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -3954,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.", @@ -3970,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.", @@ -3982,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.", @@ -4012,6 +4053,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4036,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.", @@ -4052,6 +4095,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -4071,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", @@ -4091,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": "", @@ -4111,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", @@ -4134,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.)", @@ -4189,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", @@ -4219,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.", @@ -4239,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", @@ -4265,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.", @@ -4308,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.", @@ -4392,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).", @@ -4408,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.", @@ -4460,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", @@ -4504,6 +4560,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -4520,6 +4577,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -4537,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.", @@ -4583,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", @@ -4616,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", }, @@ -4630,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", }, @@ -4647,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.", @@ -4659,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.", @@ -4671,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", @@ -4687,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", @@ -4715,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", @@ -4743,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.", @@ -4763,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.", @@ -4783,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.", @@ -4803,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.", @@ -4823,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.", @@ -4835,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", @@ -4861,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", @@ -4881,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", @@ -4916,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.", @@ -4936,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", @@ -5096,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.", @@ -5116,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.", @@ -5150,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.", @@ -5177,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", }, @@ -5193,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.", @@ -5243,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.", @@ -5266,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.", @@ -5281,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.", @@ -5311,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", @@ -5365,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", @@ -5401,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.", @@ -5437,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.", @@ -5453,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.", @@ -5469,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": "", @@ -5487,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", }, @@ -5501,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", @@ -5515,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", }, @@ -5529,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.", @@ -5549,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.", @@ -5565,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.", @@ -5617,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.", @@ -5655,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.", @@ -5671,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", @@ -5697,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.", @@ -5713,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 .", @@ -5729,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.", @@ -5745,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.", @@ -5761,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.", @@ -5774,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.", @@ -5786,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.", @@ -5802,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", @@ -5818,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", @@ -5840,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", }, @@ -5855,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", @@ -5878,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", @@ -5920,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.", @@ -5940,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.", @@ -6000,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", }, @@ -6012,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.", @@ -6092,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.", @@ -6108,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.", @@ -6124,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.", @@ -6144,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.", @@ -6160,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.", @@ -6180,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.", @@ -6231,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.", @@ -6280,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.", @@ -6421,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.", @@ -6444,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": { @@ -6457,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.", @@ -6498,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": { @@ -6511,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": { @@ -6524,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": { @@ -6537,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.", @@ -7951,6 +8082,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -8194,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: @@ -8240,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: @@ -8823,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 @@ -9473,6 +9608,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -9482,6 +9618,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -9618,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 @@ -9854,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: @@ -10048,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: @@ -10059,6 +10199,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -10096,6 +10237,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -10254,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: @@ -10283,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: @@ -10577,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: @@ -10695,6 +10840,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -10703,6 +10849,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -10732,6 +10879,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -10740,6 +10888,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -10753,6 +10902,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -10761,6 +10911,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -10769,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 @@ -11003,10 +11155,6 @@ You can view the currently authorised admin along with the embedded app object ( }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 20, "total_pages": 1, @@ -11300,6 +11448,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", @@ -11557,9 +11706,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 20 total_pages: 1 activity_logs: @@ -11712,6 +11858,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -11817,6 +11964,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.", @@ -14452,6 +14600,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -14474,6 +14623,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.", @@ -14494,6 +14644,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -14520,6 +14671,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -14546,6 +14698,7 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", @@ -14569,6 +14722,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -14585,6 +14739,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.", @@ -17046,6 +17201,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -17064,6 +17220,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 @@ -17092,6 +17249,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: @@ -17938,10 +18096,6 @@ When using the Companies endpoint and the pages object to iterate through the re }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -18053,10 +18207,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 15, "total_pages": 1, @@ -18176,18 +18326,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "website": "https://www.intercom.com", }, ], - "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, - "page": 1, - "per_page": 2, - "total_pages": 13, - "type": "pages", - }, "scroll_param": "12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc", - "total_count": 100, "type": "list", }, }, @@ -18221,6 +18360,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.", @@ -18304,6 +18444,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", @@ -18324,6 +18465,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": { @@ -18337,6 +18479,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": { @@ -18417,9 +18560,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -18850,9 +18990,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 15 total_pages: 1 total_count: 1 @@ -18964,15 +19101,6 @@ service: name: Active created_at: 1394621988 updated_at: 1394622004 - pages: - type: pages - page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response - per_page: 2 - total_pages: 13 - total_count: 100 scroll_param: 12d403b5-dc79-47b5-8ea1-01a5ac8cb6cc attachContactToACompany: path: /contacts/{id}/companies @@ -19198,6 +19326,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: @@ -19207,6 +19336,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -19216,6 +19346,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -19348,19 +19479,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -19372,30 +19490,13 @@ types: }, "email": "joebloggs@intercom.io", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60b08a68186f43bafdbf", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -19408,11 +19509,7 @@ types: "total_count": 0, "url": "/contacts/667d60b08a68186f43bafdbf/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", - "signed_up_at": 1571672154, "social_profiles": { "data": [ { @@ -19621,19 +19718,6 @@ types: }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -19649,22 +19733,7 @@ types: "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60ac8a68186f43bafdbc", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -19681,9 +19750,6 @@ types: "total_count": 0, "url": "/contacts/667d60ac8a68186f43bafdbc/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492780, "social_profiles": { @@ -19984,19 +20050,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -20012,22 +20065,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a98a68186f43bafdb9", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -20044,9 +20082,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a98a68186f43bafdb9/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492777, "social_profiles": { @@ -20151,19 +20186,6 @@ The table below shows the operators you can use to define how you want to search }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -20179,22 +20201,7 @@ The table below shows the operators you can use to define how you want to search "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d60a88a68186f43bafdb8", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, @@ -20211,9 +20218,6 @@ The table below shows the operators you can use to define how you want to search "total_count": 0, "url": "/contacts/667d60a88a68186f43bafdb8/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719492776, "social_profiles": { @@ -20363,7 +20367,6 @@ The table below shows the operators you can use to define how you want to search }, ], "pages": { - "next": "next", "page": 1, "per_page": 50, "total_pages": 1, @@ -20587,6 +20590,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.", @@ -20773,6 +20777,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.", @@ -20854,7 +20859,6 @@ service: pages: type: pages page: 1 - next: next per_page: 50 total_pages: 1 listSegmentsForAContact: @@ -21020,43 +21024,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492777 updated_at: 1719492777 signed_up_at: 1719492777 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21079,9 +21056,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -21162,43 +21136,16 @@ service: role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: joe bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492776 updated_at: 1719492776 signed_up_at: 1719492776 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21221,9 +21168,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -21300,43 +21244,16 @@ service: role: user email: joe@bloggs.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' name: Joe Bloggs - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492780 updated_at: 1719492780 signed_up_at: 1719492780 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21359,9 +21276,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -21792,48 +21706,18 @@ service: body: type: contact id: 667d60b08a68186f43bafdbf - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id272_that_should_be_at_least_ role: user email: joebloggs@intercom.io email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719492784 updated_at: 1719492784 - signed_up_at: 1571672154 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -21856,9 +21740,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile @@ -21931,6 +21812,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: @@ -22518,26 +22400,6 @@ It is not possible to use this endpoint with Workflows. }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -22584,29 +22446,10 @@ It is not possible to use this endpoint with Workflows. "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492880, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "409", "linked_objects": { "data": [ @@ -22621,12 +22464,6 @@ It is not possible to use this endpoint with Workflows. "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -22651,30 +22488,8 @@ It is not possible to use this endpoint with Workflows. "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -22686,19 +22501,8 @@ It is not possible to use this endpoint with Workflows. ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492881, - "waiting_since": 1663597260, }, }, }, @@ -23953,26 +23757,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24017,29 +23801,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -24054,12 +23819,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24084,30 +23843,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24119,19 +23856,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -24149,26 +23875,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24212,29 +23918,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492864, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "395", "linked_objects": { "data": [ @@ -24249,11 +23936,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, "snoozed_until": 1719496464, "source": { "attachments": [ @@ -24279,30 +23961,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "snoozed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24314,19 +23974,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492864, - "waiting_since": 1663597260, }, }, }, @@ -24344,26 +23993,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24407,29 +24036,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492863, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "400", "linked_objects": { "data": [ @@ -24444,12 +24054,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24474,30 +24078,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24509,19 +24091,9 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, "title": "", "type": "conversation", "updated_at": 1719492873, - "waiting_since": 1663597260, }, }, }, @@ -24540,25 +24112,6 @@ You can optionally request the result page size and the cursor to start after to "response": { "body": { "admin_assignee_id": 991267615, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24606,29 +24159,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492874, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "405", "linked_objects": { "data": [ @@ -24643,12 +24177,6 @@ You can optionally request the result page size and the cursor to start after to "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24673,30 +24201,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24708,19 +24214,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492875, - "waiting_since": 1663597260, }, }, }, @@ -24738,26 +24233,6 @@ You can optionally request the result page size and the cursor to start after to }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -24802,29 +24277,10 @@ You can optionally request the result page size and the cursor to start after to "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492862, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "394", "linked_objects": { "data": [ @@ -24839,12 +24295,6 @@ You can optionally request the result page size and the cursor to start after to "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -24869,30 +24319,8 @@ You can optionally request the result page size and the cursor to start after to "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -24904,19 +24332,8 @@ You can optionally request the result page size and the cursor to start after to ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492862, - "waiting_since": 1663597260, }, }, }, @@ -24966,26 +24383,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25030,20 +24427,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -25051,7 +24434,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -25067,12 +24449,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25097,30 +24473,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25132,16 +24486,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -25157,26 +24501,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25221,20 +24545,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492938, "custom_attributes": { "key": "value", @@ -25242,7 +24552,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492939, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "471", "linked_objects": { @@ -25258,12 +24567,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25288,30 +24591,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25323,16 +24604,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492940, "waiting_since": 1719492939, @@ -25378,26 +24649,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25442,20 +24693,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -25463,7 +24700,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -25479,12 +24715,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25509,30 +24739,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25544,16 +24752,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -25573,26 +24771,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25648,29 +24826,10 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492852, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "388", "linked_objects": { "data": [ @@ -25685,12 +24844,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25715,30 +24868,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25750,19 +24881,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492853, - "waiting_since": 1663597260, }, }, }, @@ -25779,26 +24899,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -25843,20 +24943,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492855, "custom_attributes": { "key": "value", @@ -25864,7 +24950,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492856, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "390", "linked_objects": { @@ -25880,12 +24965,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -25910,30 +24989,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -25945,16 +25002,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492856, "waiting_since": 1719492856, @@ -25974,26 +25021,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26038,20 +25065,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "total_count": 1, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492849, "custom_attributes": { "key": "value", @@ -26059,7 +25072,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "first_contact_reply": { "created_at": 1719492850, "type": "conversation", - "url": "https://developers.intercom.com/", }, "id": "387", "linked_objects": { @@ -26075,12 +25087,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "open": true, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26105,30 +25111,8 @@ If you are redacting a conversation part, it must have a `body`. If you are reda "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "open", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26140,16 +25124,6 @@ If you are redacting a conversation part, it must have a `body`. If you are reda ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492850, "waiting_since": 1719492850, @@ -26208,26 +25182,6 @@ For AI agent conversation metadata, please note that you need to have the agent }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26254,29 +25208,10 @@ For AI agent conversation metadata, please note that you need to have the agent "total_count": 0, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492825, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "367", "linked_objects": { "data": [ @@ -26291,12 +25226,6 @@ For AI agent conversation metadata, please note that you need to have the agent "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26321,30 +25250,8 @@ For AI agent conversation metadata, please note that you need to have the agent "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26356,19 +25263,8 @@ For AI agent conversation metadata, please note that you need to have the agent ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492825, - "waiting_since": 1663597260, }, }, }, @@ -26523,7 +25419,6 @@ The table below shows the operators you can use to define how you want to search "body": { "conversations": [ { - "admin_assignee_id": 0, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26538,19 +25433,10 @@ The table below shows the operators you can use to define how you want to search "conversation_parts": { "total_count": 2, }, - "conversation_rating": { - "created_at": 1671028894, - "rating": 5, - "remark": "", - }, "created_at": 1719492843, "custom_attributes": { "key": "value", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - }, "id": "378", "linked_objects": { "data": [ @@ -26565,11 +25451,6 @@ The table below shows the operators you can use to define how you want to search "open": false, "priority": "not_priority", "read": false, - "sla_applied": { - "sla_name": "", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26596,27 +25477,6 @@ The table below shows the operators you can use to define how you want to search "type": "conversation", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26628,14 +25488,8 @@ The table below shows the operators you can use to define how you want to search ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492843, - "waiting_since": 1663597260, }, ], "pages": { @@ -26705,26 +25559,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -26794,30 +25628,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -26832,12 +25647,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -26862,30 +25671,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -26897,19 +25684,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -26930,26 +25706,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "response": { "body": { - "admin_assignee_id": 0, - "ai_agent": { - "content_sources": { - "content_sources": [ - { - "locale": "en", - "title": "My internal content snippet", - "url": "/fin-ai-agent/content?content=content_snippet&id=3234924", - }, - ], - "total_count": 1, - "type": "content_source.list", - }, - "last_answer_type": "ai_answer", - "rating": 4, - "rating_remark": "Very helpful!", - "resolution_state": "assumed_resolution", - "source_title": "My AI Workflow", - "source_type": "essentials_plan_setup", - }, "ai_agent_participated": false, "contacts": { "contacts": [ @@ -27019,30 +25775,11 @@ If you want to reply to a coveration or take an action such as assign, unassign, "total_count": 2, "type": "conversation_part.list", }, - "conversation_rating": { - "contact": { - "external_id": "f3b87a2e09d514c6c2e79b9a", - "id": "5ba682d23d7cf92bef87bfd4", - "type": "contact", - }, - "created_at": 1671028894, - "rating": 5, - "remark": "", - "teammate": { - "id": "1a2b3c", - "type": "contact", - }, - }, "created_at": 1719492832, "custom_attributes": { "issue_type": "Billing", "priority": "High", }, - "first_contact_reply": { - "created_at": 1663597223, - "type": "conversation", - "url": "https://developers.intercom.com/", - }, "id": "371", "linked_objects": { "data": [ @@ -27057,12 +25794,6 @@ If you want to reply to a coveration or take an action such as assign, unassign, "open": false, "priority": "not_priority", "read": true, - "sla_applied": { - "sla_name": "", - "sla_status": "hit", - "type": "conversation_sla_summary", - }, - "snoozed_until": 1663597260, "source": { "attachments": [ { @@ -27087,30 +25818,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, "redacted": false, "subject": "", "type": "conversation", - "url": "url", }, "state": "closed", - "statistics": { - "count_assignments": 1, - "count_conversation_parts": 1, - "count_reopens": 1, - "first_admin_reply_at": 1663597233, - "first_assignment_at": 1663597233, - "first_close_at": 1663597233, - "first_contact_reply_at": 1663597233, - "last_admin_reply_at": 1663597233, - "last_assignment_admin_reply_at": 1663597233, - "last_assignment_at": 1663597233, - "last_close_at": 1663597233, - "last_closed_by_id": "c3po", - "last_contact_reply_at": 1663597233, - "median_time_to_reply": 2310, - "time_to_admin_reply": 2310, - "time_to_assignment": 2310, - "time_to_first_close": 2310, - "time_to_last_close": 2310, - "type": "conversation_statistics", - }, "tags": { "tags": [ { @@ -27122,19 +25831,8 @@ If you want to reply to a coveration or take an action such as assign, unassign, ], "type": "tag.list", }, - "team_assignee_id": "5017691", - "teammates": { - "teammates": [ - { - "type": "contact", - }, - ], - "type": "admin.list", - }, - "title": "Conversation Title", "type": "conversation", "updated_at": 1719492834, - "waiting_since": 1663597260, }, }, }, @@ -27189,6 +25887,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", }, @@ -27206,6 +25905,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", @@ -27221,6 +25921,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", @@ -27236,6 +25937,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.", @@ -27357,6 +26059,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.", @@ -27390,6 +26093,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", @@ -27623,17 +26327,12 @@ service: body: type: conversation id: '367' - title: Conversation Title created_at: 1719492825 updated_at: 1719492825 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -27641,17 +26340,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918255' @@ -27671,7 +26359,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -27679,40 +26366,8 @@ service: - type: contact id: 667d60d88a68186f43bafde1 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -27731,20 +26386,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en updateConversation: path: /conversations/{id} method: PUT @@ -27805,17 +26446,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -27823,17 +26459,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -27853,7 +26478,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -27861,41 +26485,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -27949,20 +26541,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 1 @@ -27977,17 +26555,12 @@ service: body: type: conversation id: '371' - title: Conversation Title created_at: 1719492832 updated_at: 1719492834 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -27995,17 +26568,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918259' @@ -28025,7 +26587,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28033,41 +26594,9 @@ service: - type: contact id: 667d60e08a68186f43bafde5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: issue_type: Billing priority: High - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -28121,20 +26650,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en searchConversations: path: /conversations/search method: POST @@ -28486,17 +27001,12 @@ service: conversations: - type: conversation id: '378' - title: Conversation Title created_at: 1719492843 updated_at: 1719492843 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28504,10 +27014,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 source: type: conversation id: '403918266' @@ -28534,36 +27040,8 @@ service: - type: contact id: 667d60ea8a68186f43bafdec external_id: '70' - teammates: - type: admin.list custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - sla_applied: - type: conversation_sla_summary - sla_name: '' - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: total_count: 2 linked_objects: @@ -28621,17 +27099,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28639,17 +27113,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -28669,7 +27132,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28677,40 +27139,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -28743,20 +27176,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Admin note reply path-parameters: id: 123 or "last" @@ -28773,17 +27192,12 @@ service: body: type: conversation id: '388' - title: Conversation Title created_at: 1719492852 updated_at: 1719492853 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28791,17 +27205,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918270' @@ -28821,7 +27224,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28829,40 +27231,8 @@ service: - type: contact id: 667d60f38a68186f43bafdf5 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -28907,20 +27277,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: User last conversation reply path-parameters: id: 123 or "last" @@ -28933,17 +27289,13 @@ service: body: type: conversation id: '390' - title: Conversation Title created_at: 1719492855 updated_at: 1719492856 waiting_since: 1719492856 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -28951,17 +27303,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918272' @@ -28981,7 +27322,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -28989,40 +27329,11 @@ service: - type: contact id: 667d60f78a68186f43bafdf7 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492856 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29055,20 +27366,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: 123 or "last" @@ -29081,17 +27378,13 @@ service: body: type: conversation id: '387' - title: Conversation Title created_at: 1719492849 updated_at: 1719492850 waiting_since: 1719492850 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29099,17 +27392,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918269' @@ -29129,7 +27411,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29137,40 +27418,11 @@ service: - type: contact id: 667d60f18a68186f43bafdf4 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492850 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29203,20 +27455,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en manageConversation: path: /conversations/{id}/parts method: POST @@ -29258,17 +27496,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29276,17 +27509,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -29306,7 +27528,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29314,40 +27535,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29380,20 +27569,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Snooze a conversation path-parameters: id: '123' @@ -29407,17 +27582,13 @@ service: body: type: conversation id: '395' - title: Conversation Title created_at: 1719492864 updated_at: 1719492864 - waiting_since: 1663597260 snoozed_until: 1719496464 open: true state: snoozed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29425,17 +27596,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918277' @@ -29455,7 +27615,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29463,40 +27622,8 @@ service: - type: contact id: 667d60ff8a68186f43bafdfc external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29528,20 +27655,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Open a conversation path-parameters: id: '123' @@ -29558,14 +27671,10 @@ service: title: '' created_at: 1719492863 updated_at: 1719492873 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29573,17 +27682,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918278' @@ -29603,7 +27701,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29611,40 +27708,8 @@ service: - type: contact id: 667d61038a68186f43bafe01 external_id: '74' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29676,20 +27741,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Assign a conversation path-parameters: id: '123' @@ -29703,17 +27754,13 @@ service: body: type: conversation id: '405' - title: Conversation Title created_at: 1719492874 updated_at: 1719492875 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: true state: open read: false priority: not_priority admin_assignee_id: 991267615 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29721,17 +27768,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918281' @@ -29751,7 +27787,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29759,40 +27794,8 @@ service: - type: contact id: 667d610a8a68186f43bafe05 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29827,20 +27830,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found path-parameters: id: '123' @@ -29854,17 +27843,12 @@ service: body: type: conversation id: '394' - title: Conversation Title created_at: 1719492862 updated_at: 1719492862 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -29872,17 +27856,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918276' @@ -29902,7 +27875,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -29910,40 +27882,8 @@ service: - type: contact id: 667d60fd8a68186f43bafdfb external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -29976,20 +27916,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en autoAssignConversation: path: /conversations/{id}/run_assignment_rules method: POST @@ -30025,17 +27951,12 @@ service: body: type: conversation id: '409' - title: Conversation Title created_at: 1719492880 updated_at: 1719492881 - waiting_since: 1663597260 - snoozed_until: 1663597260 open: false state: closed read: false priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -30043,17 +27964,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918285' @@ -30073,7 +27983,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -30081,40 +27990,8 @@ service: - type: contact id: 667d61108a68186f43bafe09 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value - first_contact_reply: - created_at: 1663597223 - type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -30149,20 +28026,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en attachContactToConversation: path: /conversations/{id}/customers method: POST @@ -31071,17 +28934,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31089,17 +28948,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -31119,7 +28967,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31127,40 +28974,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31193,20 +29011,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en - name: Not found request: type: conversation_part @@ -31216,17 +29020,13 @@ service: body: type: conversation id: '471' - title: Conversation Title created_at: 1719492938 updated_at: 1719492940 waiting_since: 1719492939 - snoozed_until: 1663597260 open: true state: open read: true priority: not_priority - admin_assignee_id: 0 - team_assignee_id: '5017691' tags: type: tag.list tags: @@ -31234,17 +29034,6 @@ service: id: '123456' name: Test tag applied_at: 1663597223 - conversation_rating: - rating: 5 - remark: '' - created_at: 1671028894 - contact: - type: contact - id: 5ba682d23d7cf92bef87bfd4 - external_id: f3b87a2e09d514c6c2e79b9a - teammate: - type: contact - id: 1a2b3c source: type: conversation id: '403918311' @@ -31264,7 +29053,6 @@ service: filesize: 100 width: 100 height: 100 - url: url redacted: false contacts: type: contact.list @@ -31272,40 +29060,11 @@ service: - type: contact id: 667d614a8a68186f43bafe42 external_id: '70' - teammates: - type: admin.list - teammates: - - type: contact custom_attributes: key: value first_contact_reply: created_at: 1719492939 type: conversation - url: https://developers.intercom.com/ - sla_applied: - type: conversation_sla_summary - sla_name: '' - sla_status: hit - statistics: - type: conversation_statistics - time_to_assignment: 2310 - time_to_admin_reply: 2310 - time_to_first_close: 2310 - time_to_last_close: 2310 - median_time_to_reply: 2310 - first_contact_reply_at: 1663597233 - first_assignment_at: 1663597233 - first_admin_reply_at: 1663597233 - first_close_at: 1663597233 - last_assignment_at: 1663597233 - last_assignment_admin_reply_at: 1663597233 - last_contact_reply_at: 1663597233 - last_admin_reply_at: 1663597233 - last_close_at: 1663597233 - last_closed_by_id: c3po - count_reopens: 1 - count_assignments: 1 - count_conversation_parts: 1 conversation_parts: type: conversation_part.list conversation_parts: @@ -31338,20 +29097,6 @@ service: data: - id: '7583' ai_agent_participated: false - ai_agent: - source_type: essentials_plan_setup - source_title: My AI Workflow - last_answer_type: ai_answer - resolution_state: assumed_resolution - rating: 4 - rating_remark: Very helpful! - content_sources: - type: content_source.list - total_count: 1 - content_sources: - - url: /fin-ai-agent/content?content=content_snippet&id=3234924 - title: My internal content snippet - locale: en convertConversationToTicket: path: /conversations/{id}/convert method: POST @@ -31597,6 +29342,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -31620,6 +29366,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -31631,6 +29378,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -31642,6 +29390,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -31650,6 +29399,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -31757,6 +29507,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.", @@ -32731,6 +30482,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", @@ -33865,6 +31617,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.", @@ -33891,6 +31644,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", }, @@ -33908,6 +31662,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -33917,6 +31672,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", }, @@ -33926,6 +31682,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", }, @@ -33941,16 +31698,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: @@ -33983,6 +31743,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: @@ -34420,6 +32181,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.", @@ -34702,7 +32464,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -34913,7 +32674,6 @@ types: "id": "165", "name": "Thanks for everything", "order": 1, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -35215,7 +32975,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "159", "name": "English collection title", "order": 17, - "parent_id": "6871118", "updated_at": 1719492720, "url": "http://help-center.test/myapp-65/collection-17", "workspace_id": "this_is_an_id65_that_should_be_at_least_4", @@ -35223,8 +32982,6 @@ Collections will be returned in descending order on the `updated_at` attribute. { "created_at": 1719492720, "default_locale": "en", - "description": "Default language description", - "help_center_id": 1, "icon": "bookmark", "id": "160", "name": "English section title", @@ -35325,7 +33082,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "170", "name": "English collection title", "order": 22, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -35609,7 +33365,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -35822,7 +33577,6 @@ Collections will be returned in descending order on the `updated_at` attribute. "id": "176", "name": "Update collection name", "order": 25, - "parent_id": "6871118", "translated_content": { "ar": { "description": " Collection description", @@ -36069,6 +33823,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.", @@ -36128,6 +33883,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.", @@ -36164,6 +33920,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", @@ -36231,12 +33988,10 @@ service: icon: bookmark order: 17 default_locale: en - parent_id: '6871118' help_center_id: 79 - id: '160' workspace_id: this_is_an_id65_that_should_be_at_least_4 name: English section title - description: Default language description created_at: 1719492720 updated_at: 1719492720 url: http://help-center.test/myapp-65/section-1 @@ -36244,7 +33999,6 @@ service: order: 1 default_locale: en parent_id: '159' - help_center_id: 1 createCollection: path: /help_center/collections method: POST @@ -36454,7 +34208,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 - name: Bad Request request: @@ -36622,7 +34375,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 81 retrieveCollection: path: /help_center/collections/{id} @@ -36810,7 +34562,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 84 updateCollection: path: /help_center/collections/{id} @@ -37022,7 +34773,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 - name: Collection Not Found path-parameters: @@ -37191,7 +34941,6 @@ service: type: group_content name: Collection name description: ' Collection description' - parent_id: '6871118' help_center_id: 87 deleteCollection: path: /help_center/collections/{id} @@ -37599,6 +35348,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.", @@ -37899,7 +35649,6 @@ types: "response": { "body": { "body": "

New costumes in store for this spooky season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492978, "deliver_silently": true, "id": "33", @@ -38168,7 +35917,6 @@ types: "response": { "body": { "body": "

Hello there,

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492979, "deliver_silently": false, "id": "34", @@ -38279,7 +36027,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -38321,7 +36068,6 @@ types: "response": { "body": { "body": "

New gifts in store for the jolly season

", - "cover_image_url": "https://example.com/cover.jpg", "created_at": 1719492982, "deliver_silently": false, "id": "37", @@ -38378,6 +36124,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.", @@ -38457,6 +36204,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.", @@ -38481,6 +36229,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).", @@ -38591,7 +36340,6 @@ service: - New - Product - Update - cover_image_url: https://example.com/cover.jpg reactions: - 😆 - 😅 @@ -38633,7 +36381,6 @@ service: published_at: 1719492980 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 👍 - 👍 @@ -38687,7 +36434,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -38717,7 +36463,6 @@ service: published_at: 1674917488 labels: - Product Update - cover_image_url: https://example.com/cover.jpg reactions: - 😝 - 😂 @@ -39250,10 +36995,6 @@ types: }, ], "pages": { - "next": { - "per_page": 2, - "starting_after": "your-cursor-from-response", - }, "page": 1, "per_page": 50, "total_pages": 1, @@ -39357,6 +37098,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.", @@ -39389,6 +37131,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -39489,9 +37232,6 @@ service: pages: type: pages page: 1 - next: - per_page: 2 - starting_after: your-cursor-from-response per_page: 50 total_pages: 1 createNote: @@ -39689,6 +37429,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: @@ -39838,6 +37579,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.", @@ -40288,6 +38030,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.", @@ -41622,6 +39365,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -41642,6 +39386,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", @@ -42372,6 +40117,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.", @@ -45035,6 +42781,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.", @@ -45053,6 +42800,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", }, @@ -45070,6 +42818,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.", @@ -45082,6 +42831,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.", @@ -45094,6 +42844,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.", @@ -45108,6 +42859,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", }, @@ -45122,6 +42874,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.", @@ -45215,6 +42968,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.)", @@ -45310,6 +43064,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.", @@ -45375,6 +43130,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.", @@ -45419,6 +43175,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -45428,6 +43185,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -45438,6 +43196,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -45446,6 +43205,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -45466,6 +43226,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -46975,19 +44736,6 @@ docs: Everything about your tickets }, "response": { "body": { - "android_app_name": "Intercom", - "android_app_version": "5.0.0", - "android_device": "Pixel 3", - "android_last_seen_at": 1571672154, - "android_os_version": "10", - "android_sdk_version": "28", - "avatar": { - "image_url": "https://example.org/128Wash.jpg", - "type": "avatar", - }, - "browser": "Chrome", - "browser_language": "en-US", - "browser_version": "80.0.3987.132", "companies": { "has_more": false, "total_count": 0, @@ -46999,30 +44747,13 @@ docs: Everything about your tickets }, "email": "foo@bar.com", "email_domain": "example.com", - "external_id": "f3b87a2e09d514c6c2e79b9a", "formatted_phone": "+1123456789", "has_hard_bounced": false, "id": "667d61d08a68186f43bafea2", - "ios_app_name": "Intercom", - "ios_app_version": "5.0.0", - "ios_device": "iPhone 11", - "ios_last_seen_at": 1571672154, - "ios_os_version": "13.3.1", - "ios_sdk_version": "13.3.1", - "language_override": "en", - "last_contacted_at": 1571672154, - "last_email_clicked_at": 1571672154, - "last_email_opened_at": 1571672154, - "last_replied_at": 1571672154, - "last_seen_at": 1571672154, "location": { - "city": "Dublin", - "country": "Ireland", - "region": "Dublin", "type": "location", }, "marked_email_as_spam": false, - "name": "John Doe", "notes": { "data": [ { @@ -47035,9 +44766,6 @@ docs: Everything about your tickets "total_count": 0, "url": "/contacts/667d61d08a68186f43bafea2/notes", }, - "os": "Mac OS X", - "owner_id": 123, - "phone": "+1123456789", "role": "user", "signed_up_at": 1719493072, "social_profiles": { @@ -47116,7 +44844,6 @@ docs: Everything about your tickets "anonymous": true, "app_id": "this_is_an_id677_that_should_be_at_least_", "avatar": { - "image_url": "https://example.com/avatar.png", "type": "avatar", }, "companies": { @@ -47149,7 +44876,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61ce8a68186f43bafe9b", @@ -47165,11 +44891,6 @@ docs: Everything about your tickets "type": "location_data", }, "marked_email_as_spam": false, - "name": "Jane Doe", - "owner_id": "5169261", - "phone": "555-555-5555", - "pseudonym": "Red Duck from Dublin", - "referrer": "https://www.google.com/", "remote_created_at": 1719493070, "segments": { "segments": [ @@ -47198,11 +44919,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493070, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -47285,7 +45001,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -47302,10 +45017,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -47334,11 +45046,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -47386,7 +45093,6 @@ docs: Everything about your tickets "custom_attributes": { "key": "value", }, - "do_not_track": false, "email": "", "has_hard_bounced": false, "id": "667d61cc8a68186f43bafe95", @@ -47403,10 +45109,7 @@ docs: Everything about your tickets }, "marked_email_as_spam": false, "name": "Gareth Bale", - "owner_id": "5169261", - "phone": "555-555-5555", "pseudonym": "Indigo Ghost", - "referrer": "https://www.google.com/", "remote_created_at": 1719493068, "segments": { "segments": [ @@ -47435,11 +45138,6 @@ docs: Everything about your tickets "unsubscribed_from_emails": false, "updated_at": 1719493068, "user_id": "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3", - "utm_campaign": "intercom-link", - "utm_content": "banner", - "utm_medium": "email", - "utm_source": "Intercom", - "utm_term": "messenger", }, }, }, @@ -47503,12 +45201,8 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 - name: Jane Doe - pseudonym: Red Duck from Dublin avatar: type: avatar - image_url: https://example.com/avatar.png app_id: this_is_an_id677_that_should_be_at_least_ companies: type: company.list @@ -47550,7 +45244,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -47565,13 +45258,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false updateVisitor: path: /visitors method: PUT @@ -47611,7 +45297,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -47659,7 +45344,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -47674,13 +45358,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false - name: visitor Not Found request: user_id: fail @@ -47692,7 +45369,6 @@ service: user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' - phone: 555-555-5555 name: Gareth Bale pseudonym: Indigo Ghost avatar: @@ -47740,7 +45416,6 @@ service: type: social_profile.list social_profiles: - social_profiles - owner_id: '5169261' unsubscribed_from_emails: false marked_email_as_spam: false has_hard_bounced: false @@ -47755,13 +45430,6 @@ service: - segments custom_attributes: key: value - referrer: https://www.google.com/ - utm_campaign: intercom-link - utm_content: banner - utm_medium: email - utm_source: Intercom - utm_term: messenger - do_not_track: false convertVisitor: path: /visitors/convert method: POST @@ -47810,48 +45478,19 @@ service: body: type: contact id: 667d61d08a68186f43bafea2 - external_id: f3b87a2e09d514c6c2e79b9a workspace_id: this_is_an_id683_that_should_be_at_least_ role: user email: foo@bar.com email_domain: example.com - phone: '+1123456789' formatted_phone: '+1123456789' - name: John Doe - owner_id: 123 has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false created_at: 1719493072 updated_at: 1719493072 signed_up_at: 1719493072 - last_seen_at: 1571672154 - last_replied_at: 1571672154 - last_contacted_at: 1571672154 - last_email_opened_at: 1571672154 - last_email_clicked_at: 1571672154 - language_override: en - browser: Chrome - browser_version: 80.0.3987.132 - browser_language: en-US - os: Mac OS X - android_app_name: Intercom - android_app_version: 5.0.0 - android_device: Pixel 3 - android_os_version: '10' - android_sdk_version: '28' - android_last_seen_at: 1571672154 - ios_app_name: Intercom - ios_app_version: 5.0.0 - ios_device: iPhone 11 - ios_os_version: 13.3.1 - ios_sdk_version: 13.3.1 - ios_last_seen_at: 1571672154 custom_attributes: key: value - avatar: - type: avatar - image_url: https://example.org/128Wash.jpg tags: data: - type: note @@ -47874,9 +45513,6 @@ service: has_more: false location: type: location - country: Ireland - region: Dublin - city: Dublin social_profiles: data: - type: social_profile 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..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>", @@ -2546,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", @@ -2553,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", @@ -2579,6 +2639,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -2594,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", }, @@ -3853,6 +3915,7 @@ types: - type: PaginatedResultRoleRead source: openapi: ../openapi.json + inline: true ResourceRoleList: properties: roles: @@ -4345,6 +4408,7 @@ types: - integer source: openapi: ../openapi.json + inline: true ValidationError: properties: loc: @@ -6455,6 +6519,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -14526,6 +14591,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -16495,6 +16561,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -17658,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 8106b4ca053..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,6 +54,7 @@ "types": { "SearchRequestFilter": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "location": "optional", @@ -65,6 +66,7 @@ }, "SearchRequestFilterLocation": { "docs": undefined, + "inline": true, "properties": { "city": "optional", "coordinates": "optional", @@ -76,6 +78,7 @@ }, "SearchRequestFilterLocationCoordinates": { "docs": undefined, + "inline": true, "properties": { "latitude": "optional", "longitude": "optional", @@ -95,6 +98,7 @@ }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, @@ -111,6 +115,7 @@ longitude: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilterLocation: properties: city: optional @@ -118,6 +123,7 @@ coordinates: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilter: properties: name: optional 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 5ea4a3e78fc..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, @@ -2421,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.", @@ -2472,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", @@ -2505,6 +2602,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -2520,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", }, @@ -3352,6 +3451,7 @@ types: - type: KratosIdentity source: openapi: ../openapi.yml + inline: true KratosWebhookResponse: docs: |- Sourced from rawHookResponse in: @@ -4061,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 15d60a3d54e..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": { @@ -328,6 +331,7 @@ }, "AcsCredentialErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -349,6 +353,7 @@ }, "AcsCredentialPool": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pool_id": { "type": "string", @@ -396,6 +401,7 @@ }, "AcsCredentialProvisioningAutomation": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -441,6 +447,7 @@ }, "AcsCredentialVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "card_function_type": "AcsCredentialVisionlineMetadataCardFunctionType", "common_acs_entrance_ids": "optional>", @@ -462,6 +469,7 @@ }, "AcsCredentialWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -472,6 +480,7 @@ }, "AcsEntrance": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance_id": { "type": "string", @@ -503,6 +512,7 @@ }, "AcsEntranceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -513,6 +523,7 @@ }, "AcsEntranceLatchMetadata": { "docs": undefined, + "inline": true, "properties": { "accessibility_type": "string", "door_name": "string", @@ -525,6 +536,7 @@ }, "AcsEntranceVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "door_category": "AcsEntranceVisionlineMetadataDoorCategory", "door_name": "string", @@ -554,6 +566,7 @@ }, "AcsEntranceVisionlineMetadataProfilesItem": { "docs": undefined, + "inline": true, "properties": { "visionline_door_profile_id": "string", "visionline_door_profile_type": "AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType", @@ -574,6 +587,7 @@ }, "AcsSystem": { "docs": undefined, + "inline": undefined, "properties": { "acs_system_id": { "type": "string", @@ -643,6 +657,7 @@ }, "AcsSystemErrorsItemSeamBridgeDisconnected": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -653,6 +668,7 @@ }, "AcsSystemErrorsItemVisionlineInstanceUnreachable": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -698,6 +714,7 @@ }, "AcsSystemWarningsItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -705,6 +722,7 @@ }, "AcsUser": { "docs": undefined, + "inline": undefined, "properties": { "access_schedule": "optional", "acs_system_id": { @@ -784,6 +802,7 @@ }, "AcsUserAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -808,6 +827,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -933,6 +953,7 @@ }, "ActionAttemptActionAttemptId": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -960,6 +981,7 @@ }, "ActionAttemptActionAttemptIdError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -970,6 +992,7 @@ }, "ActionAttemptEight": { "docs": "Resetting sandbox workspace failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -997,6 +1020,7 @@ }, "ActionAttemptEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1007,6 +1031,7 @@ }, "ActionAttemptEighteen": { "docs": "Setting fan mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1034,6 +1059,7 @@ }, "ActionAttemptEleven": { "docs": "Setting HVAC to cool failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1061,6 +1087,7 @@ }, "ActionAttemptElevenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1071,6 +1098,7 @@ }, "ActionAttemptFifteen": { "docs": "Setting HVAC to heat-cool mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1098,6 +1126,7 @@ }, "ActionAttemptFive": { "docs": "Unlocking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1125,6 +1154,7 @@ }, "ActionAttemptFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1135,6 +1165,7 @@ }, "ActionAttemptForty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1162,6 +1193,7 @@ }, "ActionAttemptFortyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1189,6 +1221,7 @@ }, "ActionAttemptFortyOneError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1199,6 +1232,7 @@ }, "ActionAttemptFortyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1226,6 +1260,7 @@ }, "ActionAttemptFortyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1253,6 +1288,7 @@ }, "ActionAttemptFour": { "docs": "Unlocking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1280,6 +1316,7 @@ }, "ActionAttemptFourResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1287,6 +1324,7 @@ }, "ActionAttemptFourteen": { "docs": "Setting HVAC to heat mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1314,6 +1352,7 @@ }, "ActionAttemptFourteenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1324,6 +1363,7 @@ }, "ActionAttemptNine": { "docs": "Setting HVAC to cool.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1351,6 +1391,7 @@ }, "ActionAttemptNineteen": { "docs": "Setting fan mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1378,6 +1419,7 @@ }, "ActionAttemptNineteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1385,6 +1427,7 @@ }, "ActionAttemptOne": { "docs": "Locking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1412,6 +1455,7 @@ }, "ActionAttemptOneResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1419,6 +1463,7 @@ }, "ActionAttemptSeven": { "docs": "Resetting sandbox workspace succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1446,6 +1491,7 @@ }, "ActionAttemptSevenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1453,6 +1499,7 @@ }, "ActionAttemptSeventeen": { "docs": "Setting heat-cool mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1480,6 +1527,7 @@ }, "ActionAttemptSeventeenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1490,6 +1538,7 @@ }, "ActionAttemptSix": { "docs": "Resetting sandbox workspace.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1517,6 +1566,7 @@ }, "ActionAttemptSixteen": { "docs": "Setting HVAC to heat-cool mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1544,6 +1594,7 @@ }, "ActionAttemptSixteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1551,6 +1602,7 @@ }, "ActionAttemptTen": { "docs": "Setting HVAC to cool succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1578,6 +1630,7 @@ }, "ActionAttemptTenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1585,6 +1638,7 @@ }, "ActionAttemptThirteen": { "docs": "Setting HVAC to heat mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1612,6 +1666,7 @@ }, "ActionAttemptThirteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1619,6 +1674,7 @@ }, "ActionAttemptThirty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1646,6 +1702,7 @@ }, "ActionAttemptThirtyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1673,6 +1730,7 @@ }, "ActionAttemptThirtyEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1683,6 +1741,7 @@ }, "ActionAttemptThirtyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1710,6 +1769,7 @@ }, "ActionAttemptThirtyFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1720,6 +1780,7 @@ }, "ActionAttemptThirtyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1747,6 +1808,7 @@ }, "ActionAttemptThirtyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1774,6 +1836,7 @@ }, "ActionAttemptThirtyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1801,6 +1864,7 @@ }, "ActionAttemptThirtySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1828,6 +1892,7 @@ }, "ActionAttemptThirtySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1855,6 +1920,7 @@ }, "ActionAttemptThirtyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1882,6 +1948,7 @@ }, "ActionAttemptThirtyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1909,6 +1976,7 @@ }, "ActionAttemptThirtyTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1919,6 +1987,7 @@ }, "ActionAttemptThree": { "docs": "Unlocking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1946,6 +2015,7 @@ }, "ActionAttemptTwelve": { "docs": "Setting HVAC to heat mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1973,6 +2043,7 @@ }, "ActionAttemptTwenty": { "docs": "Setting fan mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2000,6 +2071,7 @@ }, "ActionAttemptTwentyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2027,6 +2099,7 @@ }, "ActionAttemptTwentyError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2037,6 +2110,7 @@ }, "ActionAttemptTwentyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2064,6 +2138,7 @@ }, "ActionAttemptTwentyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2091,6 +2166,7 @@ }, "ActionAttemptTwentyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2118,6 +2194,7 @@ }, "ActionAttemptTwentyNineError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2128,6 +2205,7 @@ }, "ActionAttemptTwentyOne": { "docs": "Turning HVAC off.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2155,6 +2233,7 @@ }, "ActionAttemptTwentySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2182,6 +2261,7 @@ }, "ActionAttemptTwentySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2209,6 +2289,7 @@ }, "ActionAttemptTwentySixError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2219,6 +2300,7 @@ }, "ActionAttemptTwentyThree": { "docs": "Turning HVAC off failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2246,6 +2328,7 @@ }, "ActionAttemptTwentyThreeError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2256,6 +2339,7 @@ }, "ActionAttemptTwentyTwo": { "docs": "Turning HVAC off succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2283,6 +2367,7 @@ }, "ActionAttemptTwentyTwoResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2290,6 +2375,7 @@ }, "ActionAttemptTwo": { "docs": "Locking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2317,6 +2403,7 @@ }, "ActionAttemptTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2327,6 +2414,7 @@ }, "ActionAttemptZero": { "docs": "Locking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2354,6 +2442,7 @@ }, "ClientSession": { "docs": undefined, + "inline": undefined, "properties": { "client_session_id": { "type": "string", @@ -2387,6 +2476,7 @@ }, "ClimateSettingSchedule": { "docs": undefined, + "inline": undefined, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -2438,6 +2528,7 @@ }, "ConnectWebview": { "docs": undefined, + "inline": undefined, "properties": { "accepted_devices": { "docs": " @@ -2529,6 +2620,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2559,6 +2651,7 @@ }, "ConnectedAccount": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "optional", "account_type_display_name": "string", @@ -2586,6 +2679,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2596,6 +2690,7 @@ }, "ConnectedAccountUserIdentifier": { "docs": undefined, + "inline": true, "properties": { "api_url": "optional", "email": "optional", @@ -2609,6 +2704,7 @@ }, "Device": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -2710,6 +2806,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2761,6 +2858,7 @@ }, "DeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -2771,6 +2869,7 @@ }, "DeviceLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -2787,6 +2886,7 @@ }, "DeviceProperties": { "docs": "Properties of the device.", + "inline": true, "properties": { "_experimental_supported_code_from_access_codes_lengths": "optional>", "accessory_keypad": { @@ -2923,6 +3023,7 @@ }, "DevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", @@ -2939,6 +3040,7 @@ }, "DevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -2957,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.", @@ -2969,6 +3072,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -2979,6 +3083,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -2989,6 +3094,7 @@ }, "DevicePropertiesAugustMetadata": { "docs": undefined, + "inline": true, "properties": { "has_keypad": "boolean", "house_id": "optional", @@ -3004,6 +3110,7 @@ }, "DevicePropertiesAvigilonAltaMetadata": { "docs": undefined, + "inline": true, "properties": { "entry_name": "string", "entry_relays_total_count": "double", @@ -3019,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", @@ -3049,6 +3157,7 @@ }, "DevicePropertiesBrivoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", }, @@ -3060,6 +3169,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3070,6 +3180,7 @@ }, "DevicePropertiesCodeConstraintsItemMaxLength": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemMaxLengthConstraintType", "max_length": "optional", @@ -3090,6 +3201,7 @@ }, "DevicePropertiesCodeConstraintsItemZero": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemZeroConstraintType", }, @@ -3115,6 +3227,7 @@ }, "DevicePropertiesControlbywebMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3126,6 +3239,7 @@ }, "DevicePropertiesDormakabaOracodeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "optional", "door_id": "double", @@ -3142,6 +3256,7 @@ }, "DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem": { "docs": undefined, + "inline": true, "properties": { "check_in_time": "string", "check_out_time": "string", @@ -3168,6 +3283,7 @@ }, "DevicePropertiesEcobeeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "ecobee_device_id": "string", @@ -3178,6 +3294,7 @@ }, "DevicePropertiesFourSuitesMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -3189,6 +3306,7 @@ }, "DevicePropertiesGenieMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "door_name": "string", @@ -3199,6 +3317,7 @@ }, "DevicePropertiesHoneywellResideoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "honeywell_resideo_device_id": "string", @@ -3209,6 +3328,7 @@ }, "DevicePropertiesHubitatMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_label": "string", @@ -3220,6 +3340,7 @@ }, "DevicePropertiesIglooMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "string", "device_id": "string", @@ -3231,6 +3352,7 @@ }, "DevicePropertiesIgloohomeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "optional", "bridge_name": "optional", @@ -3244,6 +3366,7 @@ }, "DevicePropertiesKeypadBattery": { "docs": undefined, + "inline": true, "properties": { "level": "double", }, @@ -3253,6 +3376,7 @@ }, "DevicePropertiesKwiksetMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3264,6 +3388,7 @@ }, "DevicePropertiesLocklyMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3275,6 +3400,7 @@ }, "DevicePropertiesMinutMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3286,6 +3412,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValues": { "docs": undefined, + "inline": true, "properties": { "accelerometer_z": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", "humidity": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", @@ -3299,6 +3426,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3309,6 +3437,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesHumidity": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3319,6 +3448,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesPressure": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3329,6 +3459,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesSound": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3339,6 +3470,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesTemperature": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3349,6 +3481,7 @@ }, "DevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -3389,6 +3522,7 @@ }, "DevicePropertiesNestMetadata": { "docs": undefined, + "inline": true, "properties": { "custom_name": "string", "device_name": "string", @@ -3400,6 +3534,7 @@ }, "DevicePropertiesNoiseawareMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_model": "DevicePropertiesNoiseawareMetadataDeviceModel", @@ -3422,6 +3557,7 @@ }, "DevicePropertiesNukiMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3435,6 +3571,7 @@ }, "DevicePropertiesSaltoMetadata": { "docs": undefined, + "inline": true, "properties": { "battery_level": "string", "customer_reference": "string", @@ -3449,6 +3586,7 @@ }, "DevicePropertiesSchlageMetadata": { "docs": undefined, + "inline": true, "properties": { "access_code_length": "optional", "device_id": "string", @@ -3461,6 +3599,7 @@ }, "DevicePropertiesSeamBridgeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_num": "double", "name": "string", @@ -3481,6 +3620,7 @@ }, "DevicePropertiesSmartthingsMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3493,6 +3633,7 @@ }, "DevicePropertiesTedeeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "double", "bridge_name": "string", @@ -3508,6 +3649,7 @@ }, "DevicePropertiesTtlockMetadata": { "docs": undefined, + "inline": true, "properties": { "feature_value": "string", "lock_alias": "string", @@ -3519,6 +3661,7 @@ }, "DevicePropertiesTwoNMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -3529,6 +3672,7 @@ }, "DevicePropertiesWyzeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_info_model": "string", @@ -3545,6 +3689,7 @@ }, "DeviceProvider": { "docs": undefined, + "inline": undefined, "properties": { "device_provider_name": "DeviceProviderDeviceProviderName", "display_name": "string", @@ -3613,6 +3758,7 @@ }, "DeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -3623,6 +3769,7 @@ }, "EnrollmentAutomation": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "credential_manager_acs_system_id": { @@ -3668,6 +3815,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_id": { "type": "optional", @@ -3760,6 +3908,7 @@ }, "Network": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": "string", @@ -3788,6 +3937,7 @@ }, "NoiseThreshold": { "docs": undefined, + "inline": undefined, "properties": { "device_id": { "type": "string", @@ -3819,6 +3969,7 @@ }, "Phone": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -3904,6 +4055,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3923,6 +4075,7 @@ }, "PhoneErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -3933,6 +4086,7 @@ }, "PhoneLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -3949,6 +4103,7 @@ }, "PhoneProperties": { "docs": undefined, + "inline": true, "properties": { "assa_abloy_credential_service_metadata": "optional", }, @@ -3958,6 +4113,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -3968,6 +4124,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -3978,6 +4135,7 @@ }, "PhoneWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -3988,6 +4146,7 @@ }, "ServiceHealth": { "docs": undefined, + "inline": undefined, "properties": { "description": "string", "service": "string", @@ -4009,6 +4168,7 @@ }, "UnmanagedAccessCode": { "docs": undefined, + "inline": undefined, "properties": { "access_code_id": { "docs": "Unique identifier for the access code.", @@ -4075,6 +4235,7 @@ }, "UnmanagedDevice": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -4196,6 +4357,7 @@ }, "UnmanagedDeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -4206,6 +4368,7 @@ }, "UnmanagedDeviceProperties": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad": { "docs": "Represents the accessory keypad state.", @@ -4273,6 +4436,7 @@ }, "UnmanagedDevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", @@ -4289,6 +4453,7 @@ }, "UnmanagedDevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -4307,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", @@ -4337,6 +4503,7 @@ }, "UnmanagedDevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -4377,6 +4544,7 @@ }, "UnmanagedDeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -4387,6 +4555,7 @@ }, "UserIdentity": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": { @@ -4451,6 +4620,7 @@ }, "Webhook": { "docs": undefined, + "inline": undefined, "properties": { "event_types": "optional>", "secret": "optional", @@ -4463,6 +4633,7 @@ }, "Workspace": { "docs": undefined, + "inline": undefined, "properties": { "company_name": "string", "connect_partner_name": { @@ -4689,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: @@ -4713,12 +4886,14 @@ types: 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: @@ -4739,6 +4914,7 @@ types: error: ActionAttemptTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThree: docs: Unlocking door. properties: @@ -4759,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: @@ -4783,12 +4961,14 @@ types: 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: @@ -4809,6 +4989,7 @@ types: error: ActionAttemptFiveError source: openapi: ../openapi.json + inline: true ActionAttemptSix: docs: Resetting sandbox workspace. properties: @@ -4829,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: @@ -4853,12 +5036,14 @@ types: 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: @@ -4879,6 +5064,7 @@ types: error: ActionAttemptEightError source: openapi: ../openapi.json + inline: true ActionAttemptNine: docs: Setting HVAC to cool. properties: @@ -4899,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: @@ -4923,12 +5111,14 @@ types: 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: @@ -4949,6 +5139,7 @@ types: error: ActionAttemptElevenError source: openapi: ../openapi.json + inline: true ActionAttemptTwelve: docs: Setting HVAC to heat mode. properties: @@ -4969,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: @@ -4993,12 +5186,14 @@ types: 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: @@ -5019,6 +5214,7 @@ types: error: ActionAttemptFourteenError source: openapi: ../openapi.json + inline: true ActionAttemptFifteen: docs: Setting HVAC to heat-cool mode. properties: @@ -5039,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: @@ -5063,12 +5261,14 @@ types: 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: @@ -5089,6 +5289,7 @@ types: error: ActionAttemptSeventeenError source: openapi: ../openapi.json + inline: true ActionAttemptEighteen: docs: Setting fan mode. properties: @@ -5109,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: @@ -5133,12 +5336,14 @@ types: 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: @@ -5159,6 +5364,7 @@ types: error: ActionAttemptTwentyError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyOne: docs: Turning HVAC off. properties: @@ -5179,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: @@ -5203,12 +5411,14 @@ types: 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: @@ -5229,6 +5439,7 @@ types: error: ActionAttemptTwentyThreeError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFour: properties: action_attempt_id: @@ -5248,6 +5459,7 @@ types: action_type: literal<"SYNC_ACCESS_CODES"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFive: properties: action_attempt_id: @@ -5267,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: @@ -5292,6 +5506,7 @@ types: error: ActionAttemptTwentySixError source: openapi: ../openapi.json + inline: true ActionAttemptTwentySeven: properties: action_attempt_id: @@ -5311,6 +5526,7 @@ types: action_type: literal<"CREATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyEight: properties: action_attempt_id: @@ -5330,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: @@ -5355,6 +5573,7 @@ types: error: ActionAttemptTwentyNineError source: openapi: ../openapi.json + inline: true ActionAttemptThirty: properties: action_attempt_id: @@ -5374,6 +5593,7 @@ types: action_type: literal<"DELETE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyOne: properties: action_attempt_id: @@ -5393,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: @@ -5418,6 +5640,7 @@ types: error: ActionAttemptThirtyTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyThree: properties: action_attempt_id: @@ -5437,6 +5660,7 @@ types: action_type: literal<"UPDATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFour: properties: action_attempt_id: @@ -5456,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: @@ -5481,6 +5707,7 @@ types: error: ActionAttemptThirtyFiveError source: openapi: ../openapi.json + inline: true ActionAttemptThirtySix: properties: action_attempt_id: @@ -5500,6 +5727,7 @@ types: action_type: literal<"CREATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtySeven: properties: action_attempt_id: @@ -5519,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: @@ -5544,6 +5774,7 @@ types: error: ActionAttemptThirtyEightError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyNine: properties: action_attempt_id: @@ -5563,6 +5794,7 @@ types: action_type: literal<"DELETE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptForty: properties: action_attempt_id: @@ -5582,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: @@ -5607,6 +5841,7 @@ types: error: ActionAttemptFortyOneError source: openapi: ../openapi.json + inline: true ActionAttemptFortyTwo: properties: action_attempt_id: @@ -5626,6 +5861,7 @@ types: action_type: literal<"UPDATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptFortyThree: properties: action_attempt_id: @@ -5645,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: @@ -5670,6 +5908,7 @@ types: error: ActionAttemptActionAttemptIdError source: openapi: ../openapi.json + inline: true ActionAttempt: discriminated: false union: @@ -5818,6 +6057,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectWebview: properties: connect_webview_id: @@ -5882,6 +6122,7 @@ types: exclusive: optional source: openapi: ../openapi.json + inline: true ConnectedAccountCustomMetadataValue: discriminated: false union: @@ -5889,6 +6130,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccount: properties: connected_account_id: @@ -5963,6 +6205,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true DevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -5974,6 +6217,7 @@ types: docs: Indicates if the keypad battery properties. source: openapi: ../openapi.json + inline: true DevicePropertiesAppearance: properties: name: @@ -5983,6 +6227,7 @@ types: settable through Seam. source: openapi: ../openapi.json + inline: true DevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -6015,6 +6260,7 @@ types: source: openapi: ../openapi.json + inline: true DevicePropertiesBatteryStatus: enum: - critical @@ -6041,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 @@ -6064,6 +6313,7 @@ types: house_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesAvigilonAltaMetadata: properties: entry_name: string @@ -6075,6 +6325,7 @@ types: entry_relays_total_count: double source: openapi: ../openapi.json + inline: true DevicePropertiesSchlageMetadata: properties: device_id: string @@ -6083,6 +6334,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesSmartthingsMetadata: properties: device_id: string @@ -6091,6 +6343,7 @@ types: location_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesLocklyMetadata: properties: device_id: string @@ -6098,6 +6351,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNukiMetadata: properties: device_id: string @@ -6107,6 +6361,7 @@ types: keypad_2_paired: optional source: openapi: ../openapi.json + inline: true DevicePropertiesKwiksetMetadata: properties: device_id: string @@ -6114,6 +6369,7 @@ types: model_number: string source: openapi: ../openapi.json + inline: true DevicePropertiesSaltoMetadata: properties: lock_id: string @@ -6124,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 @@ -6142,6 +6401,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNoiseawareMetadataDeviceModel: enum: - indoor @@ -6157,36 +6417,42 @@ 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: DevicePropertiesMinutMetadataLatestSensorValuesTemperature @@ -6196,6 +6462,7 @@ types: accelerometer_z: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadata: properties: device_id: string @@ -6203,6 +6470,7 @@ types: latest_sensor_values: DevicePropertiesMinutMetadataLatestSensorValues source: openapi: ../openapi.json + inline: true DevicePropertiesFourSuitesMetadata: properties: device_id: double @@ -6210,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 @@ -6223,6 +6493,7 @@ types: relay_name: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTtlockMetadata: properties: lock_id: double @@ -6230,6 +6501,7 @@ types: feature_value: string source: openapi: ../openapi.json + inline: true DevicePropertiesSeamBridgeMetadataUnlockMethod: enum: - bridge @@ -6243,6 +6515,7 @@ types: name: string source: openapi: ../openapi.json + inline: true DevicePropertiesIgloohomeMetadata: properties: device_id: string @@ -6252,6 +6525,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNestMetadata: properties: nest_device_id: string @@ -6259,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 @@ -6278,6 +6555,7 @@ types: device_label: string source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem: properties: name: string @@ -6295,6 +6573,7 @@ types: format: uuid source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadata: properties: door_id: double @@ -6308,6 +6587,7 @@ types: optional> source: openapi: ../openapi.json + inline: true DevicePropertiesWyzeMetadata: properties: device_id: string @@ -6320,6 +6600,7 @@ types: locker_status_hardlock: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTedeeMetadata: properties: device_id: double @@ -6331,6 +6612,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemZeroConstraintType: enum: - no_zeros @@ -6349,6 +6631,7 @@ types: constraint_type: DevicePropertiesCodeConstraintsItemZeroConstraintType source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemMaxLengthConstraintType: enum: - name_length @@ -6362,6 +6645,7 @@ types: max_length: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItem: discriminated: false union: @@ -6369,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: @@ -6502,6 +6788,7 @@ types: door_open: optional source: openapi: ../openapi.json + inline: true DeviceLocation: docs: Location information for the device. properties: @@ -6513,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: @@ -6532,6 +6822,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Device: properties: device_id: @@ -6669,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: @@ -6685,6 +6978,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -6696,6 +6990,7 @@ types: docs: Indicates if the keypad battery properties. source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesBatteryStatus: enum: - critical @@ -6722,6 +7017,7 @@ types: status: UnmanagedDevicePropertiesBatteryStatus source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -6754,6 +7050,7 @@ types: source: openapi: ../openapi.json + inline: true UnmanagedDeviceProperties: properties: accessory_keypad: @@ -6814,6 +7111,7 @@ types: model: UnmanagedDevicePropertiesModel source: openapi: ../openapi.json + inline: true UnmanagedDevice: properties: device_id: @@ -7074,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: {} @@ -7092,6 +7392,7 @@ types: properties: {} source: openapi: ../openapi.json + inline: true AcsSystem: properties: acs_system_id: @@ -7207,6 +7508,7 @@ types: ends_at: datetime source: openapi: ../openapi.json + inline: true AcsUser: properties: acs_user_id: @@ -7259,6 +7561,7 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsEntranceLatchMetadata: properties: accessibility_type: string @@ -7267,6 +7570,7 @@ types: is_connected: boolean source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadataDoorCategory: enum: - entrance @@ -7291,6 +7595,7 @@ types: visionline_door_profile_type: AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadata: properties: door_name: string @@ -7298,6 +7603,7 @@ types: profiles: optional> source: openapi: ../openapi.json + inline: true AcsEntrance: properties: acs_system_id: @@ -7380,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 @@ -7400,6 +7708,7 @@ types: common_acs_entrance_ids: optional> source: openapi: ../openapi.json + inline: true AcsCredential: properties: acs_credential_id: @@ -7488,17 +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: optional source: openapi: ../openapi.json + inline: true PhoneLocation: docs: Location information for the device. properties: @@ -7510,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: @@ -7529,6 +7844,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Phone: properties: device_id: @@ -8423,6 +8739,7 @@ types: }, "AccessCodesCreateMultipleResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -8457,6 +8774,7 @@ types: }, "AccessCodesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "action_attempt": "root.ActionAttempt", @@ -8468,6 +8786,7 @@ types: }, "AccessCodesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -8478,6 +8797,7 @@ types: }, "AccessCodesGenerateCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "generated_code": "root.AccessCode", "ok": "boolean", @@ -8488,6 +8808,7 @@ types: }, "AccessCodesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "ok": "boolean", @@ -8498,6 +8819,7 @@ types: }, "AccessCodesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -8508,6 +8830,7 @@ types: }, "AccessCodesPullBackupAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "backup_access_code": "root.AccessCode", "ok": "boolean", @@ -8551,6 +8874,7 @@ types: }, "AccessCodesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -9259,6 +9583,7 @@ service: "types": { "SimulateCreateUnmanagedAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -9684,6 +10009,7 @@ service: "types": { "UnmanagedConvertToManagedResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -9693,6 +10019,7 @@ service: }, "UnmanagedDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -9703,6 +10030,7 @@ service: }, "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -9713,6 +10041,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -9723,6 +10052,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -10322,6 +10652,7 @@ service: "types": { "AccessGroupsAddUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -10331,6 +10662,7 @@ service: }, "AccessGroupsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_group": "root.AcsAccessGroup", "ok": "boolean", @@ -10341,6 +10673,7 @@ service: }, "AccessGroupsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_groups": "list", "ok": "boolean", @@ -10351,6 +10684,7 @@ service: }, "AccessGroupsListUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -10361,6 +10695,7 @@ service: }, "AccessGroupsRemoveUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -10689,6 +11024,7 @@ service: "types": { "CredentialPoolsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pools": "list", "ok": "boolean", @@ -10859,6 +11195,7 @@ service: "types": { "CredentialProvisioningAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation": "root.AcsCredentialProvisioningAutomation", "ok": "boolean", @@ -11680,6 +12017,7 @@ service: "types": { "CredentialsAssignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -11700,6 +12038,7 @@ service: }, "CredentialsCreateRequestVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "assa_abloy_credential_service_mobile_endpoint_id": { "type": "optional", @@ -11751,6 +12090,7 @@ service: }, "CredentialsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -11761,6 +12101,7 @@ service: }, "CredentialsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -11770,6 +12111,7 @@ service: }, "CredentialsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -11780,6 +12122,7 @@ service: }, "CredentialsListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -11790,6 +12133,7 @@ service: }, "CredentialsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -11800,6 +12144,7 @@ service: }, "CredentialsUnassignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -11810,6 +12155,7 @@ service: }, "CredentialsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -11871,6 +12217,7 @@ types: joiner_acs_credential_ids: optional> source: openapi: ../openapi.json + inline: true CredentialsCreateResponse: properties: acs_credential: root.AcsCredential @@ -12706,6 +13053,7 @@ service: "types": { "EntrancesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance": "root.AcsEntrance", "ok": "boolean", @@ -12716,6 +13064,7 @@ service: }, "EntrancesGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12725,6 +13074,7 @@ service: }, "EntrancesListCredentialsWithAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -12735,6 +13085,7 @@ service: }, "EntrancesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -13227,6 +13578,7 @@ service: "types": { "SystemsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_system": "root.AcsSystem", "ok": "boolean", @@ -13237,6 +13589,7 @@ service: }, "SystemsListCompatibleCredentialManagerAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -13247,6 +13600,7 @@ service: }, "SystemsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -14219,6 +14573,7 @@ service: "types": { "UsersAddToAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14228,6 +14583,7 @@ service: }, "UsersCreateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -14238,6 +14594,7 @@ service: }, "UsersCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -14248,6 +14605,7 @@ service: }, "UsersDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14257,6 +14615,7 @@ service: }, "UsersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -14267,6 +14626,7 @@ service: }, "UsersListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -14277,6 +14637,7 @@ service: }, "UsersListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -14287,6 +14648,7 @@ service: }, "UsersRemoveFromAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14296,6 +14658,7 @@ service: }, "UsersRevokeAccessToAllEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14305,6 +14668,7 @@ service: }, "UsersSuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14314,6 +14678,7 @@ service: }, "UsersUnsuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14323,6 +14688,7 @@ service: }, "UsersUpdateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -14333,6 +14699,7 @@ service: }, "UsersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14354,6 +14721,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersCreateResponse: properties: acs_user: root.AcsUser @@ -14409,6 +14777,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersUpdateResponse: properties: ok: boolean @@ -15005,6 +15374,7 @@ service: "types": { "ActionAttemptsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -15015,6 +15385,7 @@ service: }, "ActionAttemptsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempts": "list", "ok": "boolean", @@ -15565,6 +15936,7 @@ service: "types": { "ClientSessionsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15575,6 +15947,7 @@ service: }, "ClientSessionsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -15584,6 +15957,7 @@ service: }, "ClientSessionsGetOrCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15594,6 +15968,7 @@ service: }, "ClientSessionsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15604,6 +15979,7 @@ service: }, "ClientSessionsGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15614,6 +15990,7 @@ service: }, "ClientSessionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_sessions": "list", "ok": "boolean", @@ -15624,6 +16001,7 @@ service: }, "ClientSessionsRevokeResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16310,6 +16688,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -16352,6 +16731,7 @@ service: }, "ConnectWebviewsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -16362,6 +16742,7 @@ service: }, "ConnectWebviewsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16371,6 +16752,7 @@ service: }, "ConnectWebviewsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -16383,6 +16765,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -16393,6 +16776,7 @@ service: }, "ConnectWebviewsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webviews": "list", "ok": "boolean", @@ -16475,6 +16859,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectWebviewsCreateResponse: properties: connect_webview: root.ConnectWebview @@ -16499,6 +16884,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectWebviewsListResponse: properties: connect_webviews: list @@ -16986,6 +17372,7 @@ service: "types": { "ConnectedAccountsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16997,6 +17384,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -17007,6 +17395,7 @@ service: }, "ConnectedAccountsGetRequestConnectedAccountId": { "docs": undefined, + "inline": true, "properties": { "connected_account_id": { "type": "string", @@ -17024,6 +17413,7 @@ service: }, "ConnectedAccountsGetRequestEmail": { "docs": undefined, + "inline": true, "properties": { "email": { "type": "string", @@ -17041,6 +17431,7 @@ service: }, "ConnectedAccountsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -17053,6 +17444,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -17063,6 +17455,7 @@ service: }, "ConnectedAccountsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_accounts": "list", "ok": "boolean", @@ -17075,6 +17468,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -17094,6 +17488,7 @@ service: }, "ConnectedAccountsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -17118,6 +17513,7 @@ service: format: uuid source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequestEmail: properties: email: @@ -17126,6 +17522,7 @@ service: format: email source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequest: discriminated: false union: @@ -17146,6 +17543,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccountsListResponse: properties: connected_accounts: list @@ -17162,6 +17560,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectedAccountsUpdateResponse: properties: connected_account: root.ConnectedAccount @@ -17949,6 +18348,7 @@ service: "types": { "DevicesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -17958,6 +18358,7 @@ service: }, "DevicesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "ok": "boolean", @@ -17980,6 +18381,7 @@ service: }, "DevicesListDeviceProvidersResponse": { "docs": undefined, + "inline": undefined, "properties": { "device_providers": "list", "ok": "boolean", @@ -17992,6 +18394,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18151,6 +18554,7 @@ service: }, "DevicesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -18163,6 +18567,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18182,6 +18587,7 @@ service: }, "DevicesUpdateRequestProperties": { "docs": undefined, + "inline": true, "properties": { "name": "optional", }, @@ -18191,6 +18597,7 @@ service: }, "DevicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18331,6 +18738,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true DevicesListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -18379,6 +18787,7 @@ service: name: optional source: openapi: ../openapi.json + inline: true DevicesUpdateRequestCustomMetadataValue: discriminated: false union: @@ -18389,6 +18798,7 @@ service: - optional source: openapi: ../openapi.json + inline: true DevicesUpdateResponse: properties: ok: boolean @@ -18974,6 +19384,7 @@ service: "types": { "SimulateConnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18983,6 +19394,7 @@ service: }, "SimulateDisconnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18992,6 +19404,7 @@ service: }, "SimulateRemoveResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19398,6 +19811,7 @@ service: "types": { "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.UnmanagedDevice", "ok": "boolean", @@ -19410,6 +19824,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19569,6 +19984,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -19579,6 +19995,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19716,6 +20133,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true UnmanagedListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -20116,6 +20534,7 @@ service: "types": { "EventsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "event": "optional", "message": "optional", @@ -20129,6 +20548,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -20617,6 +21037,7 @@ service: }, "EventsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "events": "list", "ok": "boolean", @@ -20644,6 +21065,7 @@ types: - datetime source: openapi: ../openapi.json + inline: true EventsListRequestEventType: enum: - value: device.accessory_keypad_connected @@ -21874,6 +22296,7 @@ service: "types": { "LocksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "lock": "root.Device", @@ -21887,6 +22310,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -22046,6 +22470,7 @@ service: }, "LocksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "locks": "list", @@ -22057,6 +22482,7 @@ service: }, "LocksLockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -22067,6 +22493,7 @@ service: }, "LocksUnlockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -22206,6 +22633,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true LocksListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -22988,6 +23416,7 @@ service: "types": { "NetworksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "network": "root.Network", "ok": "boolean", @@ -22998,6 +23427,7 @@ service: }, "NetworksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "networks": "list", "ok": "boolean", @@ -23465,6 +23895,7 @@ service: "types": { "NoiseThresholdsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "noise_threshold": "root.NoiseThreshold", @@ -23476,6 +23907,7 @@ service: }, "NoiseThresholdsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -23486,6 +23918,7 @@ service: }, "NoiseThresholdsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_threshold": "root.NoiseThreshold", "ok": "boolean", @@ -23496,6 +23929,7 @@ service: }, "NoiseThresholdsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_thresholds": "list", "ok": "boolean", @@ -23506,6 +23940,7 @@ service: }, "NoiseThresholdsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -23844,6 +24279,7 @@ service: "types": { "SimulateTriggerNoiseThresholdResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -24045,6 +24481,7 @@ service: "types": { "PhonesDeactivateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -24054,6 +24491,7 @@ service: }, "PhonesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phones": "list", @@ -24287,6 +24725,7 @@ service: "types": { "SimulateCreateSandboxPhoneRequestAssaAbloyMetadata": { "docs": undefined, + "inline": true, "properties": { "application_version": { "default": "1.0.0", @@ -24319,6 +24758,7 @@ service: }, "SimulateCreateSandboxPhoneRequestPhoneMetadata": { "docs": undefined, + "inline": true, "properties": { "device_manufacturer": { "default": "Samsung", @@ -24353,6 +24793,7 @@ service: }, "SimulateCreateSandboxPhoneResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phone": "root.Phone", @@ -24388,6 +24829,7 @@ service: default: Samsung Galaxy S10 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneRequestAssaAbloyMetadata: properties: ble_capability: @@ -24410,6 +24852,7 @@ service: default: 1 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneResponse: properties: phone: root.Phone @@ -25314,6 +25757,7 @@ service: "types": { "ThermostatsCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25324,6 +25768,7 @@ service: }, "ThermostatsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostat": "root.Device", @@ -25334,6 +25779,7 @@ service: }, "ThermostatsHeatCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25344,6 +25790,7 @@ service: }, "ThermostatsHeatResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25356,6 +25803,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -25515,6 +25963,7 @@ service: }, "ThermostatsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostats": "list", @@ -25525,6 +25974,7 @@ service: }, "ThermostatsOffResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25553,6 +26003,7 @@ service: }, "ThermostatsSetFanModeResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25563,6 +26014,7 @@ service: }, "ThermostatsUpdateRequestDefaultClimateSetting": { "docs": undefined, + "inline": true, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -25590,6 +26042,7 @@ service: }, "ThermostatsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -25745,6 +26198,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ThermostatsListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -25817,6 +26271,7 @@ types: manual_override_allowed: optional source: openapi: ../openapi.json + inline: true ThermostatsUpdateResponse: properties: ok: boolean @@ -26761,6 +27216,7 @@ service: }, "ClimateSettingSchedulesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -26771,6 +27227,7 @@ service: }, "ClimateSettingSchedulesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -26780,6 +27237,7 @@ service: }, "ClimateSettingSchedulesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -26790,6 +27248,7 @@ service: }, "ClimateSettingSchedulesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedules": "list", "ok": "boolean", @@ -26811,6 +27270,7 @@ service: }, "ClimateSettingSchedulesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -28006,6 +28466,7 @@ service: "types": { "UserIdentitiesAddAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28015,6 +28476,7 @@ service: }, "UserIdentitiesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -28025,6 +28487,7 @@ service: }, "UserIdentitiesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28036,6 +28499,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -28046,6 +28510,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityId": { "docs": undefined, + "inline": true, "properties": { "user_identity_id": { "type": "string", @@ -28063,6 +28528,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityKey": { "docs": undefined, + "inline": true, "properties": { "user_identity_key": "string", }, @@ -28072,6 +28538,7 @@ service: }, "UserIdentitiesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -28082,6 +28549,7 @@ service: }, "UserIdentitiesGrantAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28091,6 +28559,7 @@ service: }, "UserIdentitiesListAccessibleDevicesResponse": { "docs": undefined, + "inline": undefined, "properties": { "accessible_devices": { "docs": " @@ -28109,6 +28578,7 @@ service: }, "UserIdentitiesListAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -28119,6 +28589,7 @@ service: }, "UserIdentitiesListAcsUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -28129,6 +28600,7 @@ service: }, "UserIdentitiesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identities": "list", @@ -28139,6 +28611,7 @@ service: }, "UserIdentitiesRemoveAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28148,6 +28621,7 @@ service: }, "UserIdentitiesRevokeAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28157,6 +28631,7 @@ service: }, "UserIdentitiesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28191,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: @@ -29064,6 +29541,7 @@ service: "types": { "EnrollmentAutomationsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -29073,6 +29551,7 @@ service: }, "EnrollmentAutomationsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automation": "root.EnrollmentAutomation", "ok": "boolean", @@ -29083,6 +29562,7 @@ service: }, "EnrollmentAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automation": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", "ok": "boolean", @@ -29093,6 +29573,7 @@ service: }, "EnrollmentAutomationsLaunchResponseEnrollmentAutomation": { "docs": undefined, + "inline": true, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -29147,6 +29628,7 @@ service: }, "EnrollmentAutomationsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automations": "list", "ok": "boolean", @@ -29194,6 +29676,7 @@ service: format: uuid source: openapi: ../openapi.json + inline: true EnrollmentAutomationsLaunchResponse: properties: enrollment_automation: EnrollmentAutomationsLaunchResponseEnrollmentAutomation @@ -29624,6 +30107,7 @@ service: "types": { "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -29634,6 +30118,7 @@ service: }, "WebhooksDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -29643,6 +30128,7 @@ service: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -29653,6 +30139,7 @@ service: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhooks": "list", @@ -29663,6 +30150,7 @@ service: }, "WebhooksUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30059,6 +30547,7 @@ service: }, "WorkspacesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -30069,6 +30558,7 @@ service: }, "WorkspacesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -30079,6 +30569,7 @@ service: }, "WorkspacesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspaces": "list", @@ -30089,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 6530d38ad5b..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,6 +227,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "canAccessApi": { "availability": "deprecated", @@ -294,6 +298,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -325,6 +330,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The languages.", @@ -340,6 +346,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "editors": { "docs": "The configured UI editors.", @@ -368,6 +375,7 @@ }, "ArrayFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -388,6 +396,7 @@ }, "AssetChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -403,6 +412,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata.", @@ -513,6 +523,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "folderName": { "docs": "The folder name.", @@ -551,6 +562,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets folders.", @@ -571,6 +583,7 @@ }, "AssetMeta": { "docs": undefined, + "inline": undefined, "properties": { "isDuplicate": { "docs": "Indicates whether the asset is a duplicate.", @@ -597,6 +610,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "annotate": { "docs": "The script that is executed when annotating a content.", @@ -652,6 +666,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets.", @@ -668,6 +683,7 @@ }, "AssetsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -762,6 +778,7 @@ }, "AssignContributorDto": { "docs": undefined, + "inline": undefined, "properties": { "contributorId": { "docs": "The id or email of the user to add to the app.", @@ -788,6 +805,7 @@ }, "AzureQueueRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "connectionString": { "docs": "The connection string to the storage account.", @@ -823,6 +841,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "handledAssets": { "docs": "The number of handled assets.", @@ -858,6 +877,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The backups.", @@ -880,6 +900,7 @@ }, "BooleanFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "defaultValue": { "docs": "The default value for the field value.", @@ -904,6 +925,7 @@ }, "BulkResultDto": { "docs": undefined, + "inline": undefined, "properties": { "contentId": { "availability": "deprecated", @@ -940,6 +962,7 @@ }, "BulkUpdateAssetsJobDto": { "docs": undefined, + "inline": undefined, "properties": { "expectedVersion": { "docs": "The expected version.", @@ -1003,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.", @@ -1055,6 +1079,7 @@ }, "CallsUsageDtoDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedBytes": { "docs": "The included API traffic.", @@ -1099,6 +1124,7 @@ }, "CallsUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "averageElapsedMs": { "docs": "The average duration in milliseconds.", @@ -1129,6 +1155,7 @@ }, "ChangePlanDto": { "docs": undefined, + "inline": undefined, "properties": { "planId": { "docs": "The new plan id.", @@ -1150,6 +1177,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "allowAnonymous": { "docs": "True to allow anonymous access without an access token for this client.", @@ -1189,6 +1217,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The clients.", @@ -1201,6 +1230,7 @@ }, "CommentDto": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the comment.", @@ -1235,6 +1265,7 @@ }, "CommentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -1257,6 +1288,7 @@ }, "CommentRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -1269,6 +1301,7 @@ }, "CommentsDto": { "docs": undefined, + "inline": undefined, "properties": { "createdComments": { "docs": "The created comments including the updates.", @@ -1293,6 +1326,7 @@ }, "ComponentFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "schemaIds": { "docs": "The ID of the embedded schemas.", @@ -1305,6 +1339,7 @@ }, "ComponentsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -1330,6 +1365,7 @@ "ConfigurePreviewUrlsDto": "map", "ContentChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "handleAll": { "docs": "Determines whether the trigger should handle all content changes events.", @@ -1354,6 +1390,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The date and time when the content item has been created.", @@ -1439,6 +1476,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The content items.", @@ -1462,6 +1500,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "contributorEmail": { "docs": "The email address.", @@ -1489,6 +1528,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata to provide information about this request.", @@ -1509,6 +1549,7 @@ }, "ContributorsMetadata": { "docs": undefined, + "inline": undefined, "properties": { "isInvited": { "docs": "Indicates whether the user has been invited.", @@ -1521,6 +1562,7 @@ }, "CreateContentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -1557,6 +1599,7 @@ }, "CreateRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -1573,6 +1616,7 @@ }, "CurrentStorageDto": { "docs": undefined, + "inline": undefined, "properties": { "maxAllowed": { "docs": "The maximum allowed asset size.", @@ -1609,6 +1653,7 @@ }, "DateTimeFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "calculatedDefaultValue": { "docs": "The calculated default value for the field value.", @@ -1645,6 +1690,7 @@ }, "DiscourseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key to authenticate to your discourse server.", @@ -1705,6 +1751,7 @@ }, "EditorDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the editor.", @@ -1721,6 +1768,7 @@ }, "ElasticSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -1765,6 +1813,7 @@ }, "EmailRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "messageBody": { "docs": "The message body.", @@ -1847,6 +1896,7 @@ }, "ErrorDto": { "docs": undefined, + "inline": undefined, "properties": { "details": { "docs": "Detailed error messages.", @@ -1888,6 +1938,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "count": { "docs": "The number of handled events.", @@ -1929,6 +1980,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -1942,6 +1994,7 @@ "ExposedValues": "map", "FastlyRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The API key to grant access to Squidex.", @@ -1970,6 +2023,7 @@ }, "FeatureDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the feature.", @@ -1986,6 +2040,7 @@ }, "FeaturesDto": { "docs": undefined, + "inline": undefined, "properties": { "features": { "docs": "The latest features.", @@ -2005,6 +2060,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -2144,6 +2200,7 @@ }, "FieldRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action to perform when the condition is met.", @@ -2174,6 +2231,7 @@ }, "GeolocationFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -2186,6 +2244,7 @@ }, "HistoryEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actor": { "docs": "The user who called the action.", @@ -2246,6 +2305,7 @@ }, "JsonFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "graphQLSchema": { "docs": "The GraphQL schema.", @@ -2258,6 +2318,7 @@ }, "LanguageDto": { "docs": undefined, + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -2283,6 +2344,7 @@ "LocalizedValueOfString": "map", "LogDownloadDto": { "docs": undefined, + "inline": undefined, "properties": { "downloadUrl": { "docs": "The url to download the log.", @@ -2295,6 +2357,7 @@ }, "ManualRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2302,6 +2365,7 @@ }, "MediumRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": { "docs": "The self issued access token.", @@ -2359,6 +2423,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -2397,6 +2462,7 @@ }, "NotificationRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -2445,6 +2511,7 @@ }, "NumberFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -2485,6 +2552,7 @@ }, "OpenSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -2529,6 +2597,7 @@ }, "PatternDto": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The regex message.", @@ -2549,6 +2618,7 @@ }, "PlanChangedDto": { "docs": undefined, + "inline": undefined, "properties": { "redirectUri": { "docs": "Optional redirect uri.", @@ -2561,6 +2631,7 @@ }, "PlanDto": { "docs": undefined, + "inline": undefined, "properties": { "confirmText": { "docs": "An optional confirm text for the monthly subscription.", @@ -2613,6 +2684,7 @@ }, "PlansDto": { "docs": undefined, + "inline": undefined, "properties": { "currentPlanId": { "docs": "The current plan id.", @@ -2663,6 +2735,7 @@ }, "PrerenderRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "The prerender token from your account.", @@ -2692,6 +2765,7 @@ "PropertyPath": "list", "QueryDto": { "docs": undefined, + "inline": undefined, "properties": { "ids": { "docs": "The optional list of ids to query.", @@ -2713,6 +2787,7 @@ }, "QueryJsonDto": { "docs": undefined, + "inline": undefined, "properties": { "filter": "optional", "fullText": "optional", @@ -2741,6 +2816,7 @@ }, "ReferencesFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -2785,6 +2861,7 @@ }, "ReferralInfo": { "docs": undefined, + "inline": undefined, "properties": { "code": "string", "condition": "string", @@ -2796,6 +2873,7 @@ }, "ReorderFieldsDto": { "docs": undefined, + "inline": undefined, "properties": { "fieldIds": { "docs": "The field ids in the target order.", @@ -2823,6 +2901,7 @@ }, "Resource": { "docs": undefined, + "inline": undefined, "properties": { "_links": { "docs": "The links.", @@ -2835,6 +2914,7 @@ }, "ResourceLink": { "docs": undefined, + "inline": undefined, "properties": { "href": { "docs": "The link url.", @@ -2870,6 +2950,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2877,6 +2958,7 @@ }, "RestoreJobDto": { "docs": undefined, + "inline": undefined, "properties": { "log": { "docs": "The status log.", @@ -2914,6 +2996,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "isDefaultRole": { "docs": "Indicates if the role is an builtin default role.", @@ -2949,6 +3032,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The roles.", @@ -2994,6 +3078,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -3055,6 +3140,7 @@ }, "RuleElementDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Describes the action or trigger type.", @@ -3091,6 +3177,7 @@ }, "RuleElementPropertyDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The optional description.", @@ -3130,6 +3217,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The time when the event has been created.", @@ -3177,6 +3265,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rule events.", @@ -3256,6 +3345,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rules.", @@ -3272,6 +3362,7 @@ }, "ScheduleJobDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the scheduled status.", @@ -3300,6 +3391,7 @@ }, "SchemaChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -3312,6 +3404,7 @@ }, "SchemaCondition": { "docs": undefined, + "inline": undefined, "properties": { "condition": "optional", "schemaId": "string", @@ -3325,6 +3418,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "category": { "docs": "The name of the category.", @@ -3424,6 +3518,7 @@ }, "SchemaPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "contentEditorUrl": { "docs": "The url to the editor plugin.", @@ -3472,6 +3567,7 @@ }, "SchemaScriptsDto": { "docs": undefined, + "inline": undefined, "properties": { "change": { "docs": "The script that is executed when change a content status.", @@ -3518,6 +3614,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The schemas.", @@ -3530,6 +3627,7 @@ }, "ScriptRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "script": { "docs": "The script to render.", @@ -3551,6 +3649,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "label": { "docs": "An optional label.", @@ -3585,6 +3684,7 @@ }, "SignalRRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "* Broadcast = send to all users. @@ -3631,6 +3731,7 @@ }, "SimulatedRuleEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actionData": { "docs": "The name of the action.", @@ -3690,6 +3791,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The simulated rule events.", @@ -3725,6 +3827,7 @@ }, "SlackRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The text that is sent as message to slack.", @@ -3753,6 +3856,7 @@ }, "SortNode": { "docs": undefined, + "inline": undefined, "properties": { "order": "SortOrder", "path": "PropertyPath", @@ -3773,6 +3877,7 @@ }, "StatusInfoDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the status.", @@ -3789,6 +3894,7 @@ }, "StorageUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "date": { "docs": "The date when the usage was tracked.", @@ -3844,6 +3950,7 @@ }, "StringFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -3939,6 +4046,7 @@ }, "TagsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -3978,6 +4086,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The timestamp when the team has been created.", @@ -4013,6 +4122,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "details": { "docs": "The details of the template.", @@ -4028,6 +4138,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "description": { "docs": "The description of the template.", @@ -4055,6 +4166,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -4067,6 +4179,7 @@ }, "TranslationDto": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "The result of the translation.", @@ -4097,6 +4210,7 @@ }, "TweetRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessSecret": { "docs": " The generated access secret.", @@ -4135,6 +4249,7 @@ }, "TypesenseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key.", @@ -4185,6 +4300,7 @@ }, "UiFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -4197,6 +4313,7 @@ }, "UiSettingsDto": { "docs": undefined, + "inline": undefined, "properties": { "canCreateApps": { "docs": "True when the user can create apps.", @@ -4213,6 +4330,7 @@ }, "UpdateFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "properties": { "docs": "The field properties.", @@ -4225,6 +4343,7 @@ }, "UpdateSettingDto": { "docs": undefined, + "inline": undefined, "properties": { "value": "unknown", }, @@ -4234,6 +4353,7 @@ }, "UpsertCommentDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The comment text.", @@ -4262,6 +4382,7 @@ }, "UpsertSchemaDto": { "docs": undefined, + "inline": undefined, "properties": { "category": { "docs": "The category.", @@ -4306,6 +4427,7 @@ }, "UpsertSchemaFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -4348,6 +4470,7 @@ }, "UpsertSchemaNestedFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -4382,6 +4505,7 @@ }, "UsageRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "The number of monthly api calls.", @@ -4408,6 +4532,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "displayName": { "docs": "The display name (usually first name and last name) of the user.", @@ -4436,6 +4561,7 @@ }, "UserProperty": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "string", @@ -4465,6 +4591,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The users.", @@ -4494,6 +4621,7 @@ }, "WebhookRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "headers": { "docs": "The message headers in the format '[Key]=[Value]', one entry per line.", @@ -4535,6 +4663,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "id": { "docs": "The workflow id.", @@ -4563,6 +4692,7 @@ }, "WorkflowStepDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The optional color.", @@ -4595,6 +4725,7 @@ }, "WorkflowTransitionDto": { "docs": undefined, + "inline": undefined, "properties": { "expression": { "docs": "The optional expression.", @@ -4614,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 898bfc05483..0227feb3f08 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,6 +385,7 @@ }, "ContentInfo": { "docs": "Information about file content.", + "inline": undefined, "properties": { "image": "optional", "mime": { @@ -398,6 +400,7 @@ }, "ContentInfoMime": { "docs": "MIME type.", + "inline": true, "properties": { "mime": { "docs": "Full MIME type.", @@ -467,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": { @@ -539,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. @@ -568,6 +573,7 @@ page for a full list of all possible error codes. "extends": [ "FileUploadInfo", ], + "inline": undefined, "properties": { "type": "optional>", }, @@ -577,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. @@ -607,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.", @@ -619,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. @@ -636,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. @@ -654,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", }, @@ -664,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.", @@ -695,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.", @@ -751,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.", @@ -821,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.", @@ -837,6 +852,7 @@ 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.", @@ -865,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.", @@ -889,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.", @@ -991,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.", @@ -1061,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.", @@ -1174,6 +1194,7 @@ change the value to `auto`. }, "VideoInfo": { "docs": "Video metadata.", + "inline": undefined, "properties": { "audio": "list", "bitrate": { @@ -1196,6 +1217,7 @@ change the value to `auto`. }, "VideoInfoAudioItem": { "docs": "Audio stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Audio stream's bitrate.", @@ -1220,6 +1242,7 @@ change the value to `auto`. }, "VideoInfoVideoItem": { "docs": "Video stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Video stream's bitrate.", @@ -1679,6 +1702,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true ImageInfo: docs: Image metadata. properties: @@ -1733,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: @@ -1753,6 +1778,7 @@ change the value to `auto`. docs: Video stream codec. source: openapi: ../openapi.json + inline: true LegacyVideoInfo: docs: Video metadata. properties: @@ -1800,6 +1826,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true SchemasImageInfo: docs: Image metadata. properties: @@ -1854,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: @@ -1874,6 +1902,7 @@ change the value to `auto`. docs: Video stream's codec. source: openapi: ../openapi.json + inline: true VideoInfo: docs: Video metadata. properties: @@ -1904,6 +1933,7 @@ change the value to `auto`. docs: Subtype of MIME type. source: openapi: ../openapi.json + inline: true ContentInfo: docs: Information about file content. properties: @@ -2209,7 +2239,6 @@ Log.d("TAG", group.toString()) "body": { "cdn_url": "https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/", "datetime_created": "2018-09-12T10:03:38Z", - "datetime_stored": "2024-01-15T09:30:00Z", "files": [ { "content_info": { @@ -2411,7 +2440,6 @@ Log.d("TAG", group.toString()) "body": { "cdn_url": "https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/", "datetime_created": "2018-09-12T10:03:38Z", - "datetime_stored": "2024-01-15T09:30:00Z", "files": [ { "content_info": { @@ -2569,7 +2597,6 @@ service: body: id: 0d712319-b970-4602-850c-bae1ced521a6~1 datetime_created: '2018-09-12T10:03:38Z' - datetime_stored: '2024-01-15T09:30:00Z' files_count: 1 cdn_url: https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/ url: >- @@ -2751,7 +2778,6 @@ service: body: id: 0d712319-b970-4602-850c-bae1ced521a6~1 datetime_created: '2018-09-12T10:03:38Z' - datetime_stored: '2024-01-15T09:30:00Z' files_count: 1 cdn_url: https://ucarecdn.com/0d712319-b970-4602-850c-bae1ced521a6~1/ url: >- @@ -4918,6 +4944,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", @@ -4976,6 +5003,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -4988,6 +5016,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -5001,6 +5030,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 f8c4b2f5c66..2f216262394 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", @@ -136,6 +138,7 @@ }, "BasicValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -154,6 +157,7 @@ }, "BasicValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -218,6 +222,7 @@ }, "ExtendedVal": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -308,6 +313,7 @@ }, "ExtendedValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -326,6 +332,7 @@ }, "ExtendedValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -390,6 +397,7 @@ }, "InternalServerErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "error": "string", }, @@ -399,6 +407,7 @@ }, "PaginationLinks": { "docs": "Links to use for pagination", + "inline": undefined, "properties": { "next": { "docs": "URL of the next page, if any", @@ -437,6 +446,7 @@ }, "ResultSet": { "docs": "Result of executing an SQL statement.", + "inline": undefined, "properties": { "columnTypes": { "docs": "Types of columns. @@ -481,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", }, @@ -491,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", @@ -538,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", @@ -578,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: @@ -620,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: @@ -707,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: @@ -717,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: @@ -818,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: @@ -828,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: @@ -1046,6 +1065,7 @@ API endpoints", "types": { "AliasValResponse": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -1136,6 +1156,7 @@ API endpoints", }, "AliasValResponseAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -1154,6 +1175,7 @@ API endpoints", }, "AliasValResponseLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -1346,6 +1368,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true AliasValResponseAuthor: docs: The user who created this val properties: @@ -1356,6 +1379,7 @@ types: username: optional source: openapi: ../openapi.yml + inline: true AliasValResponse: docs: A Val properties: @@ -1548,6 +1572,7 @@ types: "types": { "BlobListingItem": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "lastModified": { @@ -1754,6 +1779,7 @@ docs: Blobs "types": { "AttachmentObject": { "docs": undefined, + "inline": true, "properties": { "content": "string", "contentId": { @@ -1775,6 +1801,7 @@ docs: Blobs "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1790,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", }, @@ -1805,6 +1833,7 @@ docs: Blobs }, "EmailNameAndAddress": { "docs": "An email address and name", + "inline": true, "properties": { "email": "string", "name": { @@ -1817,6 +1846,7 @@ docs: Blobs }, "EmailsSendResponse": { "docs": "Successfully sent email", + "inline": undefined, "properties": { "message": "string", }, @@ -1828,6 +1858,7 @@ docs: Blobs "discriminated": false, "docs": "A reply-to list of email addresses", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1852,6 +1883,7 @@ docs: Blobs email: string source: openapi: ../openapi.yml + inline: true EmailData: discriminated: false union: @@ -1860,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 @@ -1869,6 +1902,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true AttachmentObject: properties: content: string @@ -1881,6 +1915,7 @@ docs: Blobs type: optional source: openapi: ../openapi.yml + inline: true ReplyToList: discriminated: false docs: A reply-to list of email addresses @@ -1890,6 +1925,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true EmailsSendResponse: docs: Successfully sent email properties: @@ -2270,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", @@ -2280,6 +2317,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItem": { "docs": undefined, + "inline": true, "properties": { "author": "MeCommentsResponseDataItemAuthor", "comment": { @@ -2305,6 +2343,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemAuthor": { "docs": undefined, + "inline": true, "properties": { "id": { "type": "string", @@ -2323,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", @@ -2362,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", @@ -2391,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", @@ -2446,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", @@ -2474,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", @@ -2484,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", @@ -2494,6 +2539,7 @@ 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", @@ -2511,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", @@ -2547,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", @@ -2593,6 +2641,7 @@ give access to details and data from the requesting user.", format: uri source: openapi: ../openapi.yml + inline: true MeGetResponseTier: enum: - free @@ -2659,6 +2708,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemValPrivacy: enum: - public @@ -2679,6 +2729,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemVal: properties: name: @@ -2702,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: @@ -2717,6 +2769,7 @@ give access to details and data from the requesting user.", val: MeCommentsResponseDataItemVal source: openapi: ../openapi.yml + inline: true MeCommentsResponse: docs: A paginated result set properties: @@ -2745,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: @@ -2766,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 @@ -2780,6 +2835,7 @@ give access to details and data from the requesting user.", referencedAt: datetime source: openapi: ../openapi.yml + inline: true MeReferencesResponse: docs: A paginated result set properties: @@ -3088,6 +3144,7 @@ imports: "types": { "SearchValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -3208,7 +3265,6 @@ docs: Search "columns": [ "id", ], - "lastInsertRowid": "lastInsertRowid", "rows": [ [ 1, @@ -3335,6 +3391,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", @@ -3364,6 +3421,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3382,6 +3440,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3400,6 +3459,7 @@ docs: Search "discriminated": false, "docs": "List of arguments to be used in the given statement", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3412,6 +3472,7 @@ docs: Search "discriminated": false, "docs": "A value to be used as a parameter", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3433,6 +3494,7 @@ docs: Search - boolean source: openapi: ../openapi.yml + inline: true StatementArg: discriminated: false docs: List of arguments to be used in the given statement @@ -3441,6 +3503,7 @@ docs: Search - map> source: openapi: ../openapi.yml + inline: true ParameterizedQuery: docs: >- A parameterized SQL query. See @@ -3455,6 +3518,7 @@ docs: Search docs: List of arguments to be used in the given statement source: openapi: ../openapi.yml + inline: true SqliteExecuteRequestStatement: discriminated: false union: @@ -3467,6 +3531,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestStatementsItem: discriminated: false union: @@ -3479,6 +3544,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestMode: enum: - write @@ -3569,7 +3635,6 @@ service: rows: - - 1 rowsAffected: 0 - lastInsertRowid: lastInsertRowid source: openapi: ../openapi.yml display-name: sqlite @@ -3724,6 +3789,7 @@ docs: SQLite "types": { "UsersValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4683,6 +4749,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4698,6 +4765,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4711,6 +4779,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", @@ -4769,6 +4838,7 @@ let you get, create, and run vals.", }, "ValsListResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4779,6 +4849,7 @@ let you get, create, and run vals.", }, "ValsListResponseDataItem": { "docs": undefined, + "inline": true, "properties": { "createdAt": "datetime", "val_id": { @@ -4908,6 +4979,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 b31ac9e1559..99f0a8f8b63 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: @@ -1317,7 +1341,6 @@ service: { "displayName": "660d83ce30f3a599ddb0bdb3_Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png", "format": "png", - "height": 900, "hostedUrl": "https://s3.amazonaws.com/webflow-prod-assets/6258612d1ee792848f805dcf/660d83ce30f3a599ddb0bdb3_Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png", "originalFileName": "Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png", "quality": 100, @@ -1375,7 +1398,6 @@ service: "displayName": "emoji icons", "id": "6390c49774a71f0e3c1a08ee", "lastUpdated": "2022-12-07T16:51:37Z", - "parentFolder": "6390c49774a71f99f21a08eb", "siteId": "6390c49674a71f84b51a08d8", }, ], @@ -1492,6 +1514,7 @@ service: "types": { "AssetsCreateFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -1528,6 +1551,7 @@ service: }, "AssetsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "assetUrl": { "docs": "S3 link to the asset", @@ -1587,6 +1611,7 @@ service: }, "AssetsCreateResponseUploadDetails": { "docs": "Metadata for uploading the asset binary", + "inline": true, "properties": { "Cache-Control": "optional", "Policy": "optional", @@ -1606,6 +1631,7 @@ service: }, "AssetsGetFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -1642,6 +1668,7 @@ service: }, "AssetsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -1697,6 +1724,7 @@ service: }, "AssetsGetResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -1743,6 +1771,7 @@ service: }, "AssetsListFoldersResponse": { "docs": "The Asset Folders object", + "inline": undefined, "properties": { "assetFolders": { "docs": "A list of Asset folders", @@ -1759,6 +1788,7 @@ service: }, "AssetsListFoldersResponseAssetFoldersItem": { "docs": "Asset Folder details", + "inline": true, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -1795,6 +1825,7 @@ service: }, "AssetsListFoldersResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -1815,6 +1846,7 @@ service: }, "AssetsListResponse": { "docs": "A list of assets", + "inline": undefined, "properties": { "assets": "optional>", }, @@ -1824,6 +1856,7 @@ service: }, "AssetsListResponseAssetsItem": { "docs": undefined, + "inline": true, "properties": { "altText": { "docs": "The visual description of the asset", @@ -1879,6 +1912,7 @@ service: }, "AssetsListResponseAssetsItemVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -1925,6 +1959,7 @@ service: }, "AssetsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -1980,6 +2015,7 @@ service: }, "AssetsUpdateResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -2057,6 +2093,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsListResponseAssetsItem: properties: id: @@ -2094,6 +2131,7 @@ service: docs: The visual description of the asset source: openapi: ../openapi.yml + inline: true AssetsListResponse: docs: A list of assets properties: @@ -2116,6 +2154,7 @@ service: Cache-Control: optional source: openapi: ../openapi.yml + inline: true AssetsCreateResponse: properties: uploadDetails: @@ -2183,6 +2222,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsGetResponse: properties: id: @@ -2250,6 +2290,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsUpdateResponse: properties: id: @@ -2313,6 +2354,7 @@ service: docs: Date that the Asset Folder was last updated on source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponsePagination: docs: Pagination object properties: @@ -2327,6 +2369,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponse: docs: The Asset Folders object properties: @@ -2442,7 +2485,6 @@ service: 660d83ce30f3a599ddb0bdb3_Screenshot%202024-03-20%20at%209.03.24%E2%80%AFPM-p-500.png format: png width: 500 - height: 900 quality: 100 altText: A red chair create: @@ -2672,7 +2714,6 @@ service: assetFolders: - id: 6390c49774a71f0e3c1a08ee displayName: emoji icons - parentFolder: 6390c49774a71f99f21a08eb assets: - 63e5889e7fe4eafa7384cea4 - 659595234426a9fcbad57043 @@ -2816,7 +2857,6 @@ service: "fields": [ { "displayName": "Name", - "helpText": "helpText", "id": "23cc2d952d4e4631ffd4345d2743db4e", "isEditable": true, "isRequired": true, @@ -2962,7 +3002,6 @@ service: "fields": [ { "displayName": "Name", - "helpText": "helpText", "id": "23cc2d952d4e4631ffd4345d2743db4e", "isEditable": true, "isRequired": true, @@ -3068,6 +3107,7 @@ service: "types": { "CollectionsCreateResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -3104,6 +3144,7 @@ service: }, "CollectionsCreateResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -3161,6 +3202,7 @@ service: }, "CollectionsGetResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -3197,6 +3239,7 @@ service: }, "CollectionsGetResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -3254,6 +3297,7 @@ service: }, "CollectionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "collections": { "docs": "An array of Collections", @@ -3266,6 +3310,7 @@ service: }, "CollectionsListResponseCollectionsItem": { "docs": "A collection object", + "inline": true, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -3324,6 +3369,7 @@ service: docs: The date the collection was last updated source: openapi: ../openapi.yml + inline: true CollectionsListResponse: properties: collections: @@ -3377,6 +3423,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsCreateResponse: docs: A collection object properties: @@ -3451,6 +3498,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsGetResponse: docs: A collection object properties: @@ -3589,7 +3637,6 @@ service: type: PlainText slug: name displayName: Name - helpText: helpText get: path: /collections/{collection_id} method: GET @@ -3631,7 +3678,6 @@ service: type: PlainText slug: name displayName: Name - helpText: helpText delete-collection: path: /collections/{collection_id} method: DELETE @@ -3885,6 +3931,7 @@ service: }, "FieldsCreateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -3942,6 +3989,7 @@ service: }, "FieldsUpdateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -5220,6 +5268,7 @@ service: "ItemsCreateItemForMultipleLocalesRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5237,6 +5286,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", @@ -5277,6 +5327,7 @@ service: "ItemsCreateItemForMultipleLocalesResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5294,6 +5345,7 @@ service: "ItemsCreateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5311,6 +5363,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", @@ -5351,6 +5404,7 @@ service: "ItemsCreateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5368,6 +5422,7 @@ service: "ItemsCreateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5385,6 +5440,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", @@ -5425,6 +5481,7 @@ service: "ItemsCreateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5442,6 +5499,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", @@ -5482,6 +5540,7 @@ service: "ItemsGetItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5499,6 +5558,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", @@ -5539,6 +5599,7 @@ service: "ItemsGetItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5574,6 +5635,7 @@ service: }, "ItemsListItemsLiveResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", @@ -5588,6 +5650,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", @@ -5628,6 +5691,7 @@ service: "ItemsListItemsLiveResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5644,6 +5708,7 @@ service: }, "ItemsListItemsLiveResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -5685,6 +5750,7 @@ service: }, "ItemsListItemsResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", @@ -5699,6 +5765,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", @@ -5739,6 +5806,7 @@ service: "ItemsListItemsResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5755,6 +5823,7 @@ service: }, "ItemsListItemsResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -5777,6 +5846,7 @@ service: }, "ItemsPublishItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "publishedItemIds": "optional>", @@ -5788,6 +5858,7 @@ service: "ItemsUpdateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5805,6 +5876,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", @@ -5845,6 +5917,7 @@ service: "ItemsUpdateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5862,6 +5935,7 @@ service: "ItemsUpdateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5879,6 +5953,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", @@ -5919,6 +5994,7 @@ service: "ItemsUpdateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5962,6 +6038,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 @@ -5995,6 +6072,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsResponsePagination: properties: limit: @@ -6010,6 +6088,7 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsResponse: docs: Results from collection items list properties: @@ -6032,6 +6111,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemResponseFieldData: properties: name: @@ -6045,6 +6125,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 @@ -6104,6 +6185,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 @@ -6137,6 +6219,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponsePagination: properties: limit: @@ -6152,6 +6235,7 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponse: docs: Results from collection items list properties: @@ -6174,6 +6258,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemLiveResponseFieldData: properties: name: @@ -6187,6 +6272,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 @@ -6233,6 +6319,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemForMultipleLocalesResponseFieldData: properties: name: @@ -6246,6 +6333,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 @@ -6292,6 +6380,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 @@ -6338,6 +6427,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemResponseFieldData: properties: name: @@ -6351,6 +6441,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 @@ -6397,6 +6488,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 @@ -6443,6 +6535,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemLiveResponseFieldData: properties: name: @@ -6456,6 +6549,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 @@ -7314,6 +7408,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", @@ -7434,7 +7529,6 @@ service: }, "660d5bcc9c0772150459dfb1": { "displayName": "Name", - "placeholder": "Enter your email", "type": "Plain", "userVisible": true, }, @@ -7445,7 +7539,6 @@ service: "pageId": "6419db964a9c43f6a3af6348", "pageName": "Home", "responseSettings": { - "redirectAction": "POST https://example.com", "redirectMethod": "GET", "redirectUrl": "https://example.com", "sendEmailConfirmation": true, @@ -7790,6 +7883,7 @@ 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", @@ -7806,6 +7900,7 @@ service: }, "FormSubmissionPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "data": { "docs": "The data submitted in the form", @@ -7846,6 +7941,7 @@ service: }, "FormsGetResponse": { "docs": "A form and its corresponding metadata", + "inline": undefined, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -7902,6 +7998,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", @@ -7939,6 +8036,7 @@ service: }, "FormsGetResponseResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -7963,6 +8061,7 @@ service: }, "FormsGetSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -7995,6 +8094,7 @@ service: }, "FormsListResponse": { "docs": "A list of forms", + "inline": undefined, "properties": { "forms": "optional>", "pagination": { @@ -8008,6 +8108,7 @@ service: }, "FormsListResponseFormsItem": { "docs": "A Webflow form", + "inline": true, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -8064,6 +8165,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", @@ -8101,6 +8203,7 @@ service: }, "FormsListResponseFormsItemResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -8125,6 +8228,7 @@ service: }, "FormsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -8145,6 +8249,7 @@ service: }, "FormsListSubmissionsResponse": { "docs": "A list of form submissions", + "inline": undefined, "properties": { "formSubmissions": "optional>", "pagination": { @@ -8158,6 +8263,7 @@ service: }, "FormsListSubmissionsResponseFormSubmissionsItem": { "docs": undefined, + "inline": true, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -8190,6 +8296,7 @@ service: }, "FormsListSubmissionsResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -8210,6 +8317,7 @@ service: }, "FormsUpdateSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -8327,6 +8435,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItemResponseSettings: docs: Settings for form responses properties: @@ -8344,6 +8453,7 @@ service: docs: Whether to send an email confirmation to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItem: docs: A Webflow form properties: @@ -8385,6 +8495,7 @@ service: docs: The unique id of the Workspace the Site belongs to source: openapi: ../openapi.yml + inline: true FormsListResponsePagination: docs: Pagination object properties: @@ -8399,6 +8510,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListResponse: docs: A list of forms properties: @@ -8435,6 +8547,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsGetResponseResponseSettings: docs: Settings for form responses properties: @@ -8452,6 +8565,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: @@ -8515,6 +8629,7 @@ service: docs: The data submitted in the Form source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponsePagination: docs: Pagination object properties: @@ -8529,6 +8644,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponse: docs: A list of form submissions properties: @@ -8613,6 +8729,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: @@ -8749,7 +8866,6 @@ service: 660d5bcc9c0772150459dfb1: displayName: Name type: Plain - placeholder: Enter your email userVisible: true 589a331aa51e760df7ccb89d: displayName: Email @@ -8759,7 +8875,6 @@ service: responseSettings: redirectUrl: https://example.com redirectMethod: GET - redirectAction: POST https://example.com sendEmailConfirmation: true id: 589a331aa51e760df7ccb89e siteId: 580e63e98c9a982ac9b8b741 @@ -9106,6 +9221,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", @@ -9136,6 +9252,7 @@ Required scope | `ecommerce:write` }, "InventoryListResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -9176,6 +9293,7 @@ Required scope | `ecommerce:write` }, "InventoryUpdateResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -9431,6 +9549,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", @@ -9471,6 +9590,7 @@ webhooks: "CollectionItemChangedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -9488,6 +9608,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", @@ -9528,6 +9649,7 @@ webhooks: "CollectionItemCreatedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -9544,6 +9666,7 @@ webhooks: }, "CollectionItemDeletedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", @@ -9560,6 +9683,7 @@ webhooks: }, "CollectionItemDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -9584,6 +9708,7 @@ webhooks: }, "CollectionItemUnpublishedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", @@ -9600,6 +9725,7 @@ webhooks: }, "CollectionItemUnpublishedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -9740,6 +9866,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 @@ -9786,6 +9913,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 @@ -9836,6 +9964,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemDeletedPayload: properties: triggerType: @@ -9863,6 +9992,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemUnpublishedPayload: properties: triggerType: @@ -10064,14 +10194,6 @@ Required scope | `ecommerce:read` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -10157,12 +10279,10 @@ Required scope | `ecommerce:read` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -10311,9 +10431,6 @@ Required scope | `ecommerce:read` "unit": "USD", "value": "5892", }, - "disputeLastStatus": "warning_needs_response", - "disputeUpdatedOn": "2018-12-03T22:06:15Z", - "disputedOn": "2018-12-03T22:06:15Z", "downloadFiles": [ { "id": "5e9a5eba75e0ac242e1b6f64", @@ -10321,7 +10438,6 @@ Required scope | `ecommerce:read` "url": "https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa", }, ], - "fulfilledOn": "2018-12-03T22:06:15Z", "hasDownloads": false, "isCustomerDeleted": false, "isShippingRequired": false, @@ -10336,14 +10452,6 @@ Required scope | `ecommerce:read` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "7c1-9fd", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 2, @@ -10400,7 +10508,6 @@ Required scope | `ecommerce:read` }, ], "purchasedItemsCount": 3, - "refundedOn": "2018-12-03T22:06:15Z", "shippingAddress": { "addressee": "Arthur Dent", "city": "New York", @@ -10500,9 +10607,6 @@ Required scope | `ecommerce:read` "unit": "USD", "value": "5892", }, - "disputeLastStatus": "warning_needs_response", - "disputeUpdatedOn": "2018-12-03T22:06:15Z", - "disputedOn": "2018-12-03T22:06:15Z", "downloadFiles": [ { "id": "5e9a5eba75e0ac242e1b6f64", @@ -10510,7 +10614,6 @@ Required scope | `ecommerce:read` "url": "https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa", }, ], - "fulfilledOn": "2018-12-03T22:06:15Z", "hasDownloads": false, "isCustomerDeleted": false, "isShippingRequired": true, @@ -10525,14 +10628,6 @@ Required scope | `ecommerce:read` "orderComment": "", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -10819,14 +10914,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -10912,12 +10999,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -11109,14 +11194,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -11202,12 +11279,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -11411,14 +11486,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -11504,12 +11571,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -11701,14 +11766,6 @@ Required scope | `ecommerce:write` "orderComment": "Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉", "orderId": "fc7-128", "paymentProcessor": "stripe", - "paypalDetails": { - "captureId": "qwe123rty456uio789p", - "disputeId": "zxcvbnm987poiuytrewq", - "orderId": "1a2b3c4d5e6f7g8h9i0j", - "payerId": "9k8j7i6h5g4f3e2d1c0b", - "refundId": "abcde12345fghij67890", - "refundReason": "Customer requested refund", - }, "purchasedItems": [ { "count": 1, @@ -11794,12 +11851,10 @@ Required scope | `ecommerce:write` "stripeDetails": { "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2", "customerId": "cus_PpRsNHwWdUoRKR", - "disputeId": "disputeId", "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft", "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j", "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk", "refundReason": "fraudulent", - "subscriptionId": "sub_1J6xwG2eZvKYlo2CXu9Zt0Tn", }, "totals": { "extras": [ @@ -11878,6 +11933,7 @@ Required scope | `ecommerce:write` "types": { "EcommNewOrderPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -12031,6 +12087,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -12095,6 +12152,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", @@ -12115,6 +12173,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -12179,6 +12238,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", @@ -12201,6 +12261,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", @@ -12238,6 +12299,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -12264,6 +12326,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -12273,6 +12336,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", @@ -12293,6 +12357,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -12325,6 +12390,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -12390,6 +12456,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", @@ -12410,6 +12477,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -12429,6 +12497,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -12465,6 +12534,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -12496,6 +12566,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", @@ -12516,6 +12587,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -12599,6 +12671,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)", @@ -12644,6 +12717,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -12660,6 +12734,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", @@ -12700,6 +12775,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.", @@ -12720,6 +12796,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.", @@ -12744,6 +12821,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", @@ -12779,6 +12857,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12799,6 +12878,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12819,6 +12899,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -12972,6 +13053,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13036,6 +13118,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", @@ -13056,6 +13139,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13120,6 +13204,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", @@ -13142,6 +13227,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", @@ -13179,6 +13265,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -13205,6 +13292,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -13214,6 +13302,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", @@ -13234,6 +13323,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -13266,6 +13356,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -13331,6 +13422,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", @@ -13351,6 +13443,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -13370,6 +13463,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -13406,6 +13500,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -13437,6 +13532,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", @@ -13457,6 +13553,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13540,6 +13637,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)", @@ -13585,6 +13683,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -13601,6 +13700,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", @@ -13641,6 +13741,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.", @@ -13661,6 +13762,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.", @@ -13685,6 +13787,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", @@ -13720,6 +13823,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13740,6 +13844,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13760,6 +13865,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -13913,6 +14019,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13977,6 +14084,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", @@ -13997,6 +14105,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -14061,6 +14170,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", @@ -14083,6 +14193,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", @@ -14120,6 +14231,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -14146,6 +14258,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -14155,6 +14268,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", @@ -14175,6 +14289,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -14207,6 +14322,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -14272,6 +14388,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", @@ -14292,6 +14409,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -14311,6 +14429,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -14347,6 +14466,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -14378,6 +14498,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", @@ -14398,6 +14519,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -14481,6 +14603,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)", @@ -14526,6 +14649,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -14542,6 +14666,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", @@ -14582,6 +14707,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.", @@ -14602,6 +14728,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.", @@ -14626,6 +14753,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", @@ -14661,6 +14789,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14681,6 +14810,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14717,6 +14847,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponse": { "docs": "Results from order list", + "inline": undefined, "properties": { "orders": { "docs": "List of orders", @@ -14733,6 +14864,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItem": { "docs": undefined, + "inline": true, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -14886,6 +15018,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -14950,6 +15083,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", @@ -14970,6 +15104,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15034,6 +15169,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", @@ -15056,6 +15192,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", @@ -15093,6 +15230,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -15119,6 +15257,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -15128,6 +15267,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", @@ -15148,6 +15288,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -15180,6 +15321,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -15245,6 +15387,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", @@ -15265,6 +15408,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -15284,6 +15428,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -15320,6 +15465,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -15351,6 +15497,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", @@ -15371,6 +15518,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15454,6 +15602,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)", @@ -15499,6 +15648,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -15515,6 +15665,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", @@ -15555,6 +15706,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.", @@ -15575,6 +15727,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.", @@ -15599,6 +15752,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", @@ -15634,6 +15788,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15654,6 +15809,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15674,6 +15830,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -15705,6 +15862,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -15858,6 +16016,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15922,6 +16081,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", @@ -15942,6 +16102,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16006,6 +16167,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", @@ -16028,6 +16190,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", @@ -16065,6 +16228,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -16091,6 +16255,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -16100,6 +16265,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", @@ -16120,6 +16286,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -16152,6 +16319,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -16217,6 +16385,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", @@ -16237,6 +16406,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -16256,6 +16426,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -16292,6 +16463,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -16323,6 +16495,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", @@ -16343,6 +16516,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16426,6 +16600,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)", @@ -16471,6 +16646,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -16487,6 +16663,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", @@ -16527,6 +16704,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.", @@ -16547,6 +16725,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.", @@ -16571,6 +16750,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", @@ -16606,6 +16786,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16626,6 +16807,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16646,6 +16828,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -16799,6 +16982,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16863,6 +17047,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", @@ -16883,6 +17068,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16947,6 +17133,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", @@ -16969,6 +17156,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", @@ -17006,6 +17194,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -17032,6 +17221,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -17041,6 +17231,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", @@ -17061,6 +17252,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -17093,6 +17285,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -17158,6 +17351,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", @@ -17178,6 +17372,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -17197,6 +17392,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -17233,6 +17429,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -17264,6 +17461,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", @@ -17284,6 +17482,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17367,6 +17566,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)", @@ -17412,6 +17612,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -17428,6 +17629,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", @@ -17468,6 +17670,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.", @@ -17488,6 +17691,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.", @@ -17512,6 +17716,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", @@ -17547,6 +17752,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17567,6 +17773,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17587,6 +17794,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -17740,6 +17948,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17804,6 +18013,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", @@ -17824,6 +18034,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17888,6 +18099,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", @@ -17910,6 +18122,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", @@ -17947,6 +18160,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -17973,6 +18187,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -17982,6 +18197,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", @@ -18002,6 +18218,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -18034,6 +18251,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -18099,6 +18317,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", @@ -18119,6 +18338,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -18138,6 +18358,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -18174,6 +18395,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -18205,6 +18427,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", @@ -18225,6 +18448,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -18308,6 +18532,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)", @@ -18353,6 +18578,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -18369,6 +18595,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", @@ -18409,6 +18636,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.", @@ -18429,6 +18657,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.", @@ -18453,6 +18682,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", @@ -18488,6 +18718,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18508,6 +18739,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18528,6 +18760,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -18681,6 +18914,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -18745,6 +18979,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", @@ -18765,6 +19000,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -18829,6 +19065,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", @@ -18851,6 +19088,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", @@ -18888,6 +19126,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -18914,6 +19153,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -18923,6 +19163,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", @@ -18943,6 +19184,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -18975,6 +19217,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -19040,6 +19283,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", @@ -19060,6 +19304,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { "file": "optional", "url": { @@ -19079,6 +19324,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -19115,6 +19361,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -19146,6 +19393,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", @@ -19166,6 +19414,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -19249,6 +19498,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)", @@ -19294,6 +19544,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -19310,6 +19561,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", @@ -19350,6 +19602,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.", @@ -19370,6 +19623,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.", @@ -19394,6 +19648,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", @@ -19429,6 +19684,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19449,6 +19705,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19977,6 +20234,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: @@ -19991,6 +20249,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: @@ -20005,6 +20264,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemAllAddressesItemType: enum: - shipping @@ -20055,6 +20315,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemShippingAddressType: enum: - shipping @@ -20105,6 +20366,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemBillingAddressType: enum: - shipping @@ -20155,6 +20417,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: @@ -20168,6 +20431,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -20182,6 +20446,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -20201,6 +20466,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile: properties: size: @@ -20227,6 +20493,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImage: properties: url: @@ -20237,6 +20504,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -20251,6 +20519,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: @@ -20299,6 +20568,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 @@ -20330,6 +20600,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeCardBrand: enum: - Visa @@ -20355,6 +20626,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 @@ -20374,6 +20646,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPaypalDetails: properties: orderId: @@ -20396,11 +20669,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: @@ -20415,6 +20690,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsExtrasItemType: enum: - discount @@ -20439,6 +20715,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: @@ -20456,6 +20733,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsTotal: docs: The total price properties: @@ -20470,6 +20748,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: @@ -20484,6 +20763,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemDownloadFilesItem: properties: id: @@ -20499,6 +20779,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItem: properties: orderId: @@ -20635,6 +20916,7 @@ Required scope | `ecommerce:write` docs: An array of downloadable file objects. source: openapi: ../openapi.yml + inline: true OrdersListResponsePagination: docs: Pagination object properties: @@ -20649,6 +20931,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true OrdersListResponse: docs: Results from order list properties: @@ -20702,6 +20985,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: @@ -20716,6 +21000,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: @@ -20730,6 +21015,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseAllAddressesItemType: enum: - shipping @@ -20780,6 +21066,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseShippingAddressType: enum: - shipping @@ -20830,6 +21117,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseBillingAddressType: enum: - shipping @@ -20880,6 +21168,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: @@ -20893,6 +21182,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -20907,6 +21197,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -20926,6 +21217,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -20952,6 +21244,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImage: properties: url: @@ -20962,6 +21255,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -20976,6 +21270,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: @@ -21024,6 +21319,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 @@ -21055,6 +21351,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeCardBrand: enum: - Visa @@ -21080,6 +21377,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 @@ -21099,6 +21397,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersGetResponsePaypalDetails: properties: orderId: @@ -21121,11 +21420,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: @@ -21140,6 +21441,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsExtrasItemType: enum: - discount @@ -21164,6 +21466,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: @@ -21181,6 +21484,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsTotal: docs: The total price properties: @@ -21195,6 +21499,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: @@ -21209,6 +21514,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersGetResponseDownloadFilesItem: properties: id: @@ -21224,6 +21530,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersGetResponse: properties: orderId: @@ -21402,6 +21709,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: @@ -21416,6 +21724,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: @@ -21430,6 +21739,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseAllAddressesItemType: enum: - shipping @@ -21480,6 +21790,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseShippingAddressType: enum: - shipping @@ -21530,6 +21841,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseBillingAddressType: enum: - shipping @@ -21580,6 +21892,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: @@ -21593,6 +21906,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -21607,6 +21921,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -21626,6 +21941,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -21652,6 +21968,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImage: properties: url: @@ -21662,6 +21979,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -21676,6 +21994,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: @@ -21724,6 +22043,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 @@ -21755,6 +22075,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeCardBrand: enum: - Visa @@ -21780,6 +22101,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 @@ -21799,6 +22121,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePaypalDetails: properties: orderId: @@ -21821,11 +22144,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: @@ -21840,6 +22165,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsExtrasItemType: enum: - discount @@ -21864,6 +22190,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: @@ -21881,6 +22208,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsTotal: docs: The total price properties: @@ -21895,6 +22223,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: @@ -21909,6 +22238,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseDownloadFilesItem: properties: id: @@ -21924,6 +22254,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateResponse: properties: orderId: @@ -22102,6 +22433,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: @@ -22116,6 +22448,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: @@ -22130,6 +22463,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseAllAddressesItemType: enum: - shipping @@ -22180,6 +22514,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseShippingAddressType: enum: - shipping @@ -22230,6 +22565,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseBillingAddressType: enum: - shipping @@ -22280,6 +22616,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: @@ -22293,6 +22630,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -22307,6 +22645,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -22326,6 +22665,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -22352,6 +22692,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -22362,6 +22703,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -22376,6 +22718,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: @@ -22424,6 +22767,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 @@ -22455,6 +22799,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeCardBrand: enum: - Visa @@ -22480,6 +22825,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 @@ -22499,6 +22845,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePaypalDetails: properties: orderId: @@ -22521,11 +22868,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: @@ -22540,6 +22889,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsExtrasItemType: enum: - discount @@ -22564,6 +22914,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: @@ -22581,6 +22932,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsTotal: docs: The total price properties: @@ -22595,6 +22947,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: @@ -22609,6 +22962,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseDownloadFilesItem: properties: id: @@ -22624,6 +22978,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponse: properties: orderId: @@ -22802,6 +23157,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: @@ -22816,6 +23172,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: @@ -22830,6 +23187,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseAllAddressesItemType: enum: - shipping @@ -22880,6 +23238,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseShippingAddressType: enum: - shipping @@ -22930,6 +23289,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseBillingAddressType: enum: - shipping @@ -22980,6 +23340,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: @@ -22993,6 +23354,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -23007,6 +23369,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -23026,6 +23389,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -23052,6 +23416,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -23063,6 +23428,7 @@ Required scope | `ecommerce:write` optional source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -23077,6 +23443,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: @@ -23125,6 +23492,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 @@ -23156,6 +23524,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeCardBrand: enum: - Visa @@ -23181,6 +23550,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 @@ -23200,6 +23570,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePaypalDetails: properties: orderId: @@ -23222,11 +23593,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: @@ -23241,6 +23614,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsExtrasItemType: enum: - discount @@ -23265,6 +23639,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: @@ -23282,6 +23657,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsTotal: docs: The total price properties: @@ -23296,6 +23672,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: @@ -23310,6 +23687,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseDownloadFilesItem: properties: id: @@ -23325,6 +23703,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponse: properties: orderId: @@ -23511,6 +23890,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: @@ -23525,6 +23905,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: @@ -23539,6 +23920,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseAllAddressesItemType: enum: - shipping @@ -23589,6 +23971,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseShippingAddressType: enum: - shipping @@ -23639,6 +24022,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseBillingAddressType: enum: - shipping @@ -23689,6 +24073,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: @@ -23702,6 +24087,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -23716,6 +24102,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -23735,6 +24122,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -23761,6 +24149,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImage: properties: url: @@ -23771,6 +24160,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -23785,6 +24175,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: @@ -23833,6 +24224,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 @@ -23864,6 +24256,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeCardBrand: enum: - Visa @@ -23889,6 +24282,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 @@ -23908,6 +24302,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePaypalDetails: properties: orderId: @@ -23930,11 +24325,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: @@ -23949,6 +24346,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsExtrasItemType: enum: - discount @@ -23973,6 +24371,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: @@ -23990,6 +24389,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsTotal: docs: The total price properties: @@ -24004,6 +24404,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: @@ -24018,6 +24419,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersRefundResponseDownloadFilesItem: properties: id: @@ -24033,6 +24435,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersRefundResponse: properties: orderId: @@ -24211,6 +24614,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: @@ -24225,6 +24629,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: @@ -24239,6 +24644,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadAllAddressesItemType: enum: - shipping @@ -24289,6 +24695,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadShippingAddressType: enum: - shipping @@ -24339,6 +24746,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadBillingAddressType: enum: - shipping @@ -24389,6 +24797,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: @@ -24402,6 +24811,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -24416,6 +24826,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -24435,6 +24846,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -24461,6 +24873,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImage: properties: url: @@ -24471,6 +24884,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -24485,6 +24899,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: @@ -24533,6 +24948,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 @@ -24564,6 +24980,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeCardBrand: enum: - Visa @@ -24589,6 +25006,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 @@ -24608,6 +25026,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPaypalDetails: properties: orderId: @@ -24630,11 +25049,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: @@ -24649,6 +25070,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsExtrasItemType: enum: - discount @@ -24673,6 +25095,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: @@ -24690,6 +25113,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsTotal: docs: The total price properties: @@ -24704,6 +25128,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: @@ -24718,6 +25143,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadDownloadFilesItem: properties: id: @@ -24733,6 +25159,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommNewOrderPayload: properties: orderId: @@ -24911,6 +25338,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: @@ -24925,6 +25353,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: @@ -24939,6 +25368,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadAllAddressesItemType: enum: - shipping @@ -24989,6 +25419,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadShippingAddressType: enum: - shipping @@ -25039,6 +25470,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadBillingAddressType: enum: - shipping @@ -25089,6 +25521,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: @@ -25102,6 +25535,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -25116,6 +25550,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -25135,6 +25570,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -25161,6 +25597,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImage: properties: url: @@ -25171,6 +25608,7 @@ Required scope | `ecommerce:write` file: optional source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -25185,6 +25623,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: @@ -25233,6 +25672,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 @@ -25264,6 +25704,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeCardBrand: enum: - Visa @@ -25289,6 +25730,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 @@ -25308,6 +25750,7 @@ Required scope | `ecommerce:write` docs: The card's expiration date. source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPaypalDetails: properties: orderId: @@ -25330,11 +25773,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: @@ -25349,6 +25794,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsExtrasItemType: enum: - discount @@ -25373,6 +25819,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: @@ -25390,6 +25837,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsTotal: docs: The total price properties: @@ -25404,6 +25852,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: @@ -25418,6 +25867,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadDownloadFilesItem: properties: id: @@ -25433,6 +25883,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayload: properties: orderId: @@ -25631,11 +26082,6 @@ service: Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉 acceptedOn: '2024-04-10T13:16:21Z' - fulfilledOn: '2018-12-03T22:06:15Z' - refundedOn: '2018-12-03T22:06:15Z' - disputedOn: '2018-12-03T22:06:15Z' - disputeUpdatedOn: '2018-12-03T22:06:15Z' - disputeLastStatus: warning_needs_response customerPaid: unit: USD value: '5892' @@ -25751,13 +26197,6 @@ service: expires: year: 2025 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -25785,11 +26224,7 @@ service: comment: Example comment to myself orderComment: '' acceptedOn: '2024-03-29T21:29:21Z' - fulfilledOn: '2018-12-03T22:06:15Z' refundedOn: '2024-04-08T18:25:04Z' - disputedOn: '2018-12-03T22:06:15Z' - disputeUpdatedOn: '2018-12-03T22:06:15Z' - disputeLastStatus: warning_needs_response customerPaid: unit: USD value: '5892' @@ -25909,13 +26344,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -26122,12 +26550,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -26137,13 +26563,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -26365,12 +26784,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -26380,13 +26797,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -26597,12 +27007,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -26612,13 +27020,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -26819,12 +27220,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -26834,13 +27233,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -27052,12 +27444,10 @@ service: length: 40 purchasedItemsCount: 2 stripeDetails: - subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft customerId: cus_PpRsNHwWdUoRKR chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2 - disputeId: disputeId refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk refundReason: fraudulent stripeCard: @@ -27067,13 +27457,6 @@ service: expires: year: 2024 month: 4 - paypalDetails: - orderId: 1a2b3c4d5e6f7g8h9i0j - payerId: 9k8j7i6h5g4f3e2d1c0b - captureId: qwe123rty456uio789p - refundId: abcde12345fghij67890 - refundReason: Customer requested refund - disputeId: zxcvbnm987poiuytrewq customData: - key: value metadata: @@ -27622,7 +28005,6 @@ webhooks: "body": { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-03-11T10:42:00Z", "draft": false, "id": "6596da6045e56dee495bcbba", @@ -27635,7 +28017,6 @@ webhooks: "title": "Explore the Cosmos with The Ultimate Guide", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/guide-to-the-galaxy", "seo": { "description": "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels.", @@ -27699,7 +28080,6 @@ webhooks: { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-03-11T10:42:00Z", "draft": false, "id": "6596da6045e56dee495bcbba", @@ -27712,7 +28092,6 @@ webhooks: "title": "Explore the Cosmos with The Ultimate Guide", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/guide-to-the-galaxy", "seo": { "description": "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels.", @@ -27725,7 +28104,6 @@ webhooks: { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-05-25T09:00:00Z", "draft": false, "id": "6596da6045e56dee495bcbad", @@ -27738,7 +28116,6 @@ webhooks: "title": "Towel Day - Don't Panic", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/towel-day", "seo": { "description": "A guide to celebrating Towel Day, in honor of the most massively useful thing an interstellar hitchhiker can have.", @@ -27829,7 +28206,6 @@ webhooks: "body": { "archived": false, "canBranch": true, - "collectionId": "6390c49774a71f12831a08e3", "createdOn": "2024-03-11T10:42:00Z", "draft": false, "id": "6596da6045e56dee495bcbba", @@ -27842,7 +28218,6 @@ webhooks: "title": "Explore the Cosmos with The Ultimate Guide", "titleCopied": false, }, - "parentId": "6419db964a9c435aa3af6251", "publishedPath": "/en-us/guide-to-the-galaxy", "seo": { "description": "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels.", @@ -27995,6 +28370,7 @@ 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", @@ -28011,6 +28387,7 @@ Required scope | `pages:write` }, "PageCreatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "createdOn": "optional", "pageId": "optional", @@ -28023,6 +28400,7 @@ 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", @@ -28039,6 +28417,7 @@ Required scope | `pages:write` }, "PageDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "deletedOn": "optional", "pageId": "optional", @@ -28051,6 +28430,7 @@ 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", @@ -28067,6 +28447,7 @@ Required scope | `pages:write` }, "PageMetadataUpdatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "lastUpdated": "optional", "pageId": "optional", @@ -28080,6 +28461,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": { @@ -28098,6 +28480,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", @@ -28126,6 +28509,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", @@ -28137,6 +28521,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", @@ -28156,6 +28541,7 @@ Required scope | `pages:write` }, "PagesGetContentResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -28176,6 +28562,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -28252,6 +28639,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", @@ -28278,6 +28666,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", @@ -28294,6 +28683,7 @@ Required scope | `pages:write` }, "PagesListResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "pages": "optional>", "pagination": { @@ -28307,6 +28697,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItem": { "docs": "The Page object", + "inline": true, "properties": { "archived": { "default": false, @@ -28383,6 +28774,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", @@ -28409,6 +28801,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", @@ -28425,6 +28818,7 @@ Required scope | `pages:write` }, "PagesListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -28445,6 +28839,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", @@ -28471,6 +28866,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", @@ -28487,6 +28883,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -28563,6 +28960,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", @@ -28589,6 +28987,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", @@ -28605,6 +29004,7 @@ Required scope | `pages:write` }, "UpdateStaticContentRequestNodesItem": { "docs": undefined, + "inline": true, "properties": { "nodeId": { "docs": "Node UUID", @@ -28621,6 +29021,7 @@ Required scope | `pages:write` }, "UpdateStaticContentResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": { "docs": "A list of error messages, if any.", @@ -28719,6 +29120,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: @@ -28740,6 +29142,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesListResponsePagesItem: docs: The Page object properties: @@ -28803,6 +29206,7 @@ Required scope | `pages:write` docs: Relative path of the published page URL source: openapi: ../openapi.yml + inline: true PagesListResponsePagination: docs: Pagination object properties: @@ -28817,6 +29221,7 @@ Required scope | `pages:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true PagesListResponse: docs: The Page object properties: @@ -28837,6 +29242,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: @@ -28858,6 +29264,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesGetMetadataResponse: docs: The Page object properties: @@ -28932,6 +29339,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: @@ -28953,6 +29361,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponseSeo: docs: SEO-related fields for the Page properties: @@ -28964,6 +29373,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: @@ -28985,6 +29395,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponse: docs: The Page object properties: @@ -29065,6 +29476,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, @@ -29076,6 +29488,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 @@ -29106,6 +29519,7 @@ Required scope | `pages:write` docs: The custom attributes of the node source: openapi: ../openapi.yml + inline: true PagesGetContentResponsePagination: docs: Pagination object properties: @@ -29120,6 +29534,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 @@ -29150,6 +29565,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: @@ -29166,6 +29582,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: @@ -29186,6 +29603,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: @@ -29206,6 +29624,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: @@ -29272,8 +29691,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Guide to the Galaxy slug: guide-to-the-galaxy - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-03-11T10:42:00Z' lastUpdated: '2024-03-11T10:42:42Z' archived: false @@ -29298,8 +29715,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Towel Day Celebrations slug: towel-day - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-05-25T09:00:00Z' lastUpdated: '2024-05-25T09:42:00Z' archived: false @@ -29368,8 +29783,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Guide to the Galaxy slug: guide-to-the-galaxy - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-03-11T10:42:00Z' lastUpdated: '2024-03-11T10:42:42Z' archived: false @@ -29462,8 +29875,6 @@ service: siteId: 6258612d1ee792848f805dcf title: Guide to the Galaxy slug: guide-to-the-galaxy - parentId: 6419db964a9c435aa3af6251 - collectionId: 6390c49774a71f12831a08e3 createdOn: '2024-03-11T10:42:00Z' lastUpdated: '2024-03-11T10:42:42Z' archived: false @@ -29869,6 +30280,7 @@ webhooks: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -29889,6 +30301,7 @@ webhooks: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -29925,6 +30338,7 @@ webhooks: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -29961,6 +30375,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -29981,6 +30396,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -30049,6 +30465,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -30093,6 +30510,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -30124,6 +30542,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -31089,6 +31508,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.", @@ -31101,6 +31521,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.", @@ -31157,6 +31578,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", @@ -31177,6 +31599,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", @@ -31329,6 +31752,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -31361,6 +31785,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -31401,6 +31826,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -31429,6 +31855,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -31462,6 +31889,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -31493,6 +31921,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -31509,6 +31938,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", @@ -31525,6 +31955,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -31567,6 +31998,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.", @@ -31623,6 +32055,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", @@ -31643,6 +32076,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", @@ -31784,6 +32218,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -31816,6 +32251,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -31856,6 +32292,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -31884,6 +32321,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -31917,6 +32355,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -31948,6 +32387,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -31975,6 +32415,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32007,6 +32448,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -32047,6 +32489,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32075,6 +32518,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32108,6 +32552,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -32139,6 +32584,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32155,6 +32601,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponse": { "docs": undefined, + "inline": undefined, "properties": { "skus": "optional>", }, @@ -32164,6 +32611,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32196,6 +32644,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -32236,6 +32685,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32264,6 +32714,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32297,6 +32748,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -32328,6 +32780,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32344,6 +32797,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", @@ -32360,6 +32814,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32402,6 +32857,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.", @@ -32458,6 +32914,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", @@ -32478,6 +32935,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", @@ -32619,6 +33077,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32651,6 +33110,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -32691,6 +33151,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32719,6 +33180,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32752,6 +33214,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -32783,6 +33246,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32799,6 +33263,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", @@ -32815,6 +33280,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItem": { "docs": "A product and its SKUs.", + "inline": true, "properties": { "product": { "docs": "The Product object", @@ -32831,6 +33297,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32873,6 +33340,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.", @@ -32929,6 +33397,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", @@ -32949,6 +33418,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", @@ -33090,6 +33560,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33122,6 +33593,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -33162,6 +33634,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33190,6 +33663,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -33223,6 +33697,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -33254,6 +33729,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33270,6 +33746,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -33290,6 +33767,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33332,6 +33810,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.", @@ -33388,6 +33867,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", @@ -33408,6 +33888,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", @@ -33560,6 +34041,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33592,6 +34074,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -33632,6 +34115,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33660,6 +34144,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -33693,6 +34178,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -33724,6 +34210,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33740,6 +34227,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponse": { "docs": "The Product object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33782,6 +34270,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.", @@ -33838,6 +34327,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", @@ -33858,6 +34348,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", @@ -34010,6 +34501,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -34042,6 +34534,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -34082,6 +34575,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34110,6 +34604,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -34143,6 +34638,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -34174,6 +34670,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34190,6 +34687,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponse": { "docs": "The SKU object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -34222,6 +34720,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", @@ -34262,6 +34761,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34290,6 +34790,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -34323,6 +34824,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -34354,6 +34856,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34385,6 +34888,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: @@ -34402,6 +34906,7 @@ Required scope | `ecommerce:write` list source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -34517,6 +35022,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProduct: docs: The Product object properties: @@ -34551,6 +35057,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataPrice: docs: price of SKU properties: @@ -34562,6 +35069,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -34573,6 +35081,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -34611,6 +35120,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -34627,6 +35137,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -34662,6 +35173,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: @@ -34685,6 +35197,7 @@ 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: @@ -34696,6 +35209,7 @@ Required scope | `ecommerce:write` docs: A list of SKU Objects source: openapi: ../openapi.yml + inline: true ProductsListResponsePagination: docs: Pagination object properties: @@ -34710,6 +35224,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true ProductsListResponse: docs: Results from product list properties: @@ -34745,6 +35260,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: @@ -34761,6 +35277,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -34875,6 +35392,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProduct: docs: The Product object properties: @@ -34886,6 +35404,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -34897,6 +35416,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -34908,6 +35428,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -34946,6 +35467,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -34962,6 +35484,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -34995,6 +35518,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: @@ -35018,6 +35542,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: @@ -35032,6 +35557,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: @@ -35048,6 +35574,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -35163,6 +35690,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProduct: docs: The Product object properties: @@ -35197,6 +35725,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -35208,6 +35737,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -35219,6 +35749,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -35257,6 +35788,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -35273,6 +35805,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -35306,6 +35839,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: @@ -35329,6 +35863,7 @@ 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: @@ -35354,6 +35889,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: @@ -35370,6 +35906,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsGetResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -35484,6 +36021,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsGetResponseProduct: docs: The Product object properties: @@ -35518,6 +36056,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -35529,6 +36068,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -35540,6 +36080,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -35578,6 +36119,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -35594,6 +36136,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -35627,6 +36170,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: @@ -35650,6 +36194,7 @@ 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: @@ -35683,6 +36228,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: @@ -35699,6 +36245,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -35813,6 +36360,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProduct: docs: The Product object properties: @@ -35847,6 +36395,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -35858,6 +36407,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -35869,6 +36419,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -35907,6 +36458,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -35923,6 +36475,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -35956,6 +36509,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: @@ -35979,6 +36533,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: @@ -35993,6 +36548,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: @@ -36009,6 +36565,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataTaxCategory: enum: - value: standard-taxable @@ -36123,6 +36680,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateResponse: docs: The Product object properties: @@ -36176,6 +36734,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36187,6 +36746,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36225,6 +36785,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36241,6 +36802,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36274,6 +36836,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: @@ -36297,6 +36860,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: @@ -36308,6 +36872,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36319,6 +36884,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36357,6 +36923,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36373,6 +36940,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36407,6 +36975,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: @@ -36430,6 +36999,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponse: properties: skus: optional> @@ -36454,6 +37024,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36465,6 +37036,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36503,6 +37075,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36519,6 +37092,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36552,6 +37126,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: @@ -36575,6 +37150,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: @@ -36586,6 +37162,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36597,6 +37174,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36635,6 +37213,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36651,6 +37230,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36684,6 +37264,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: @@ -37351,7 +37932,6 @@ service: "displayName": "Alert", "hostedLocation": "https://cdn.webflow.io/.../alert-0.0.1.js", "id": "alert", - "integrityHash": "integrityHash", "lastUpdated": "lastUpdated", "version": "0.0.1", }, @@ -37361,7 +37941,6 @@ service: "displayName": "Alert", "hostedLocation": "https://cdn.webflow.io/.../alert-0.0.2.js", "id": "alert", - "integrityHash": "integrityHash", "lastUpdated": "lastUpdated", "version": "0.0.2", }, @@ -37513,7 +38092,6 @@ service: "displayName": "Alert", "hostedLocation": "https://uploads-ssl.webflow.com/6258612d1ee792848f805dcf%2F64b6c769ff52ba6c3d904a91%2F660d6e15b3d1696f2d2b1447%2Falert-0.0.1.js", "id": "alert", - "integrityHash": "integrityHash", "lastUpdated": "lastUpdated", "version": "0.0.1", }, @@ -37577,6 +38155,7 @@ service: "types": { "ScriptsListResponse": { "docs": "A list of scripts registered to the site", + "inline": undefined, "properties": { "registeredScripts": "optional>", }, @@ -37586,6 +38165,7 @@ service: }, "ScriptsListResponseRegisteredScriptsItem": { "docs": "Registered custom code for application", + "inline": true, "properties": { "canCopy": { "default": false, @@ -37627,6 +38207,7 @@ service: }, "ScriptsRegisterHostedResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -37668,6 +38249,7 @@ service: }, "ScriptsRegisterInlineResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -37746,6 +38328,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: @@ -37870,7 +38453,6 @@ service: canCopy: false displayName: Alert hostedLocation: https://cdn.webflow.io/.../alert-0.0.1.js - integrityHash: integrityHash createdOn: '2022-10-26T00:28:54.191Z' lastUpdated: lastUpdated version: 0.0.1 @@ -37878,7 +38460,6 @@ service: canCopy: false displayName: Alert hostedLocation: https://cdn.webflow.io/.../alert-0.0.2.js - integrityHash: integrityHash createdOn: '2022-10-26T00:28:54.191Z' lastUpdated: lastUpdated version: 0.0.2 @@ -38043,7 +38624,6 @@ service: displayName: Alert hostedLocation: >- https://uploads-ssl.webflow.com/6258612d1ee792848f805dcf%2F64b6c769ff52ba6c3d904a91%2F660d6e15b3d1696f2d2b1447%2Falert-0.0.1.js - integrityHash: integrityHash createdOn: '2022-10-26T00:28:54.191Z' lastUpdated: lastUpdated version: 0.0.1 @@ -38290,7 +38870,6 @@ service: }, ], }, - "parentFolderId": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", "previewUrl": "https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b742/198110121200.png", "shortName": "paranoid-android", "timeZone": "DeepSpace/Depression", @@ -38330,7 +38909,6 @@ service: }, ], }, - "parentFolderId": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", "previewUrl": "https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b743/198210121200.png", "shortName": "vogon-poetry", "timeZone": "Vogsphere/PoetryHall", @@ -38427,6 +39005,7 @@ 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", @@ -38443,6 +39022,7 @@ service: }, "SitePublishPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "domains": { "docs": "The domains that were published", @@ -38467,6 +39047,7 @@ service: }, "SitesGetCustomDomainResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": "optional>", }, @@ -38476,6 +39057,7 @@ service: }, "SitesGetCustomDomainResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -38492,6 +39074,7 @@ service: }, "SitesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -38548,6 +39131,7 @@ service: }, "SitesGetResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -38564,6 +39148,7 @@ service: }, "SitesGetResponseLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", @@ -38580,6 +39165,7 @@ service: }, "SitesGetResponseLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -38620,6 +39206,7 @@ service: }, "SitesGetResponseLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -38660,6 +39247,7 @@ service: }, "SitesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "sites": "optional>", }, @@ -38669,6 +39257,7 @@ service: }, "SitesListResponseSitesItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -38725,6 +39314,7 @@ service: }, "SitesListResponseSitesItemCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -38741,6 +39331,7 @@ service: }, "SitesListResponseSitesItemLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", @@ -38757,6 +39348,7 @@ service: }, "SitesListResponseSitesItemLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -38797,6 +39389,7 @@ service: }, "SitesListResponseSitesItemLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -38837,6 +39430,7 @@ service: }, "SitesPublishResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": { "docs": "Array of domains objects", @@ -38854,6 +39448,7 @@ service: }, "SitesPublishResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -38911,6 +39506,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -38942,6 +39538,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesSecondaryItem: properties: id: @@ -38972,6 +39569,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocales: properties: primary: @@ -38982,6 +39580,7 @@ service: docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItem: properties: id: @@ -39020,6 +39619,7 @@ service: locales: optional source: openapi: ../openapi.yml + inline: true SitesListResponse: properties: sites: optional> @@ -39035,6 +39635,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -39066,6 +39667,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesSecondaryItem: properties: id: @@ -39096,6 +39698,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocales: properties: primary: @@ -39106,6 +39709,7 @@ service: docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesGetResponse: properties: id: @@ -39154,6 +39758,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetCustomDomainResponse: properties: customDomains: optional> @@ -39169,6 +39774,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesPublishResponse: properties: customDomains: @@ -39197,6 +39803,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: @@ -39283,7 +39890,6 @@ service: previewUrl: >- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b742/198110121200.png timeZone: DeepSpace/Depression - parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6 customDomains: - id: 589a331aa51e760df7ccb89f url: marvin.blog @@ -39314,7 +39920,6 @@ service: previewUrl: >- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b743/198210121200.png timeZone: Vogsphere/PoetryHall - parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6 customDomains: - id: 589a331aa51e760df7ccb8a0 url: vogonpoetry.galaxy @@ -39533,11 +40138,6 @@ webhooks: "event": "cms_collection", "id": "654c16c7b229e56bcf26872d", "lastUpdated": "2023-11-08T23:16:23Z", - "newValue": "newValue", - "payload": { - "key": "value", - }, - "previousValue": "previousValue", "resourceId": "654c16c7b229e56bcf26870c", "resourceName": "foo-bar", "resourceOperation": "CREATED", @@ -39594,6 +40194,7 @@ webhooks: "types": { "ActivityLogsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "items": "optional>", "pagination": { @@ -39607,6 +40208,7 @@ webhooks: }, "ActivityLogsListResponseItemsItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": "optional", "event": "optional", @@ -39638,6 +40240,7 @@ webhooks: }, "ActivityLogsListResponseItemsItemUser": { "docs": undefined, + "inline": true, "properties": { "displayName": "optional", "id": "optional", @@ -39648,6 +40251,7 @@ webhooks: }, "ActivityLogsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -39684,6 +40288,7 @@ webhooks: displayName: optional source: openapi: ../openapi.yml + inline: true ActivityLogsListResponseItemsItem: properties: id: optional @@ -39699,6 +40304,7 @@ webhooks: payload: optional> source: openapi: ../openapi.yml + inline: true ActivityLogsListResponsePagination: docs: Pagination object properties: @@ -39713,6 +40319,7 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true ActivityLogsListResponse: properties: items: optional> @@ -39776,10 +40383,6 @@ service: displayName: John Doe resourceId: 654c16c7b229e56bcf26870c resourceName: foo-bar - newValue: newValue - previousValue: previousValue - payload: - key: value pagination: limit: 25 offset: 0 @@ -39913,7 +40516,6 @@ service: { "createdOn": "2024-04-03T16:49:15Z", "lastUpdated": "2024-04-03T16:49:15Z", - "pageId": "pageId", "scripts": [ { "attributes": { @@ -40092,6 +40694,7 @@ service: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -40112,6 +40715,7 @@ service: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40148,6 +40752,7 @@ service: }, "ScriptsListCustomCodeBlocksResponse": { "docs": "Custom Code Blocks corresponding to where scripts were applied", + "inline": undefined, "properties": { "blocks": "optional>", "pagination": { @@ -40161,6 +40766,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", @@ -40193,6 +40799,7 @@ service: }, "ScriptsListCustomCodeBlocksResponseBlocksItemScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40239,6 +40846,7 @@ service: }, "ScriptsListCustomCodeBlocksResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -40259,6 +40867,7 @@ service: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40295,6 +40904,7 @@ service: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -40315,6 +40925,7 @@ service: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40383,6 +40994,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -40427,6 +41039,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -40458,6 +41071,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -40509,6 +41123,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponseBlocksItem: docs: A specific instance of Custom Code applied to a Site or Page properties: @@ -40535,6 +41150,7 @@ service: docs: The date the Block was most recently updated source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponsePagination: docs: Pagination object properties: @@ -40549,6 +41165,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: @@ -40743,7 +41360,6 @@ service: body: blocks: - siteId: 6258612d1ee792848f805dcf - pageId: pageId type: site scripts: - id: chartjs @@ -40878,6 +41494,7 @@ service: "types": { "TokenAuthorizedByResponse": { "docs": undefined, + "inline": undefined, "properties": { "email": { "docs": "The user's email address", @@ -40908,6 +41525,7 @@ service: }, "TokenIntrospectResponse": { "docs": undefined, + "inline": undefined, "properties": { "application": "optional", "authorization": { @@ -40921,6 +41539,7 @@ service: }, "TokenIntrospectResponseAuthorization": { "docs": "The Authorization object", + "inline": true, "properties": { "authorizedTo": "optional", "createdOn": { @@ -40954,6 +41573,7 @@ service: }, "TokenIntrospectResponseAuthorizationAuthorizedTo": { "docs": undefined, + "inline": true, "properties": { "siteIds": { "docs": "Array of Sites this app is authorized to", @@ -41006,6 +41626,7 @@ service: docs: Array of Users this app is authorized to source: openapi: ../openapi.yml + inline: true TokenIntrospectResponseAuthorization: docs: The Authorization object properties: @@ -41030,6 +41651,7 @@ service: authorizedTo: optional source: openapi: ../openapi.yml + inline: true TokenIntrospectResponse: properties: authorization: @@ -41569,6 +42191,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 @@ -41587,6 +42210,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", @@ -41631,6 +42255,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", @@ -41663,6 +42288,7 @@ 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": "optional", }, @@ -41672,6 +42298,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 @@ -41726,6 +42353,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 @@ -41744,6 +42372,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", @@ -41788,6 +42417,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", @@ -41820,6 +42450,7 @@ 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": "optional", }, @@ -41829,6 +42460,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 @@ -41883,6 +42515,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 @@ -41901,6 +42534,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", @@ -41945,6 +42579,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", @@ -41977,6 +42612,7 @@ 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": "optional", }, @@ -41986,6 +42622,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 @@ -42041,6 +42678,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", @@ -42085,6 +42723,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", @@ -42117,6 +42756,7 @@ 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": "optional", }, @@ -42126,6 +42766,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 @@ -42170,6 +42811,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", @@ -42214,6 +42856,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", @@ -42246,6 +42889,7 @@ 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": "optional", }, @@ -42255,6 +42899,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 @@ -42355,6 +43000,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", @@ -42386,6 +43032,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", @@ -42430,6 +43077,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", @@ -42462,6 +43110,7 @@ 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": "optional", }, @@ -42471,6 +43120,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 @@ -42514,6 +43164,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 @@ -42538,6 +43189,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", @@ -42582,6 +43234,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", @@ -42614,6 +43267,7 @@ 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": "optional", }, @@ -42623,6 +43277,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 @@ -42822,6 +43477,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: @@ -42845,12 +43501,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: optional source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItem: docs: > The fields that define the schema for a given Item are based on the @@ -42887,6 +43545,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UsersListResponse: docs: The list users results properties: @@ -42941,6 +43600,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: @@ -42964,12 +43624,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: optional source: openapi: ../openapi.yml + inline: true UsersGetResponse: docs: > The fields that define the schema for a given Item are based on the @@ -43022,6 +43684,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 @@ -43054,6 +43717,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: @@ -43077,12 +43741,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: optional source: openapi: ../openapi.yml + inline: true UsersUpdateResponse: docs: > The fields that define the schema for a given Item are based on the @@ -43151,6 +43817,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: @@ -43174,12 +43841,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: optional source: openapi: ../openapi.yml + inline: true UsersInviteResponse: docs: > The fields that define the schema for a given Item are based on the @@ -43256,6 +43925,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: @@ -43279,12 +43949,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: optional source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -43321,6 +43993,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UserAccountAddedPayload: properties: triggerType: @@ -43375,6 +44048,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: @@ -43398,12 +44072,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: optional source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -43440,6 +44116,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayload: properties: triggerType: @@ -43494,6 +44171,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: @@ -43517,12 +44195,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: optional source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -43559,6 +44239,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: An object containing the User's basic info and custom fields source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayload: properties: triggerType: @@ -43989,9 +44670,6 @@ webhooks: "response": { "body": { "createdOn": "2022-11-08T23:59:28Z", - "filter": { - "name": "My Form", - }, "id": "582266e0cd48de0f0e3c6d8b", "lastTriggered": "2023-02-08T23:59:28Z", "siteId": "562ac0395358780a1f5e6fbd", @@ -44107,9 +44785,6 @@ webhooks: "response": { "body": { "createdOn": "2022-11-08T23:59:28Z", - "filter": { - "name": "My Form", - }, "id": "582266e0cd48de0f0e3c6d8b", "lastTriggered": "2023-02-08T23:59:28Z", "siteId": "562ac0395358780a1f5e6fbd", @@ -44228,6 +44903,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.", @@ -44278,6 +44954,7 @@ webhooks: }, "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -44333,6 +45010,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.", @@ -44383,6 +45061,7 @@ webhooks: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -44438,6 +45117,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.", @@ -44488,6 +45168,7 @@ webhooks: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Pagination object", @@ -44501,6 +45182,7 @@ webhooks: }, "WebhooksListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -44521,6 +45203,7 @@ webhooks: }, "WebhooksListResponseWebhooksItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -44576,6 +45259,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.", @@ -44641,6 +45325,7 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItemTriggerType: enum: - form_submission @@ -44711,6 +45396,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItem: properties: id: @@ -44782,6 +45468,7 @@ webhooks: docs: Date the Webhook registration was created source: openapi: ../openapi.yml + inline: true WebhooksListResponse: properties: pagination: @@ -44860,6 +45547,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 @@ -44930,6 +45618,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksCreateResponse: properties: id: @@ -45071,6 +45760,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksGetResponse: properties: id: @@ -45306,8 +45996,6 @@ service: url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f workspaceId: 4f4e46fd476ea8c507000001 siteId: 562ac0395358780a1f5e6fbd - filter: - name: My Form lastTriggered: '2023-02-08T23:59:28Z' createdOn: '2022-11-08T23:59:28Z' get: @@ -45341,8 +46029,6 @@ service: url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f workspaceId: 4f4e46fd476ea8c507000001 siteId: 562ac0395358780a1f5e6fbd - filter: - name: My Form lastTriggered: '2023-02-08T23:59:28Z' createdOn: '2022-11-08T23:59:28Z' delete: 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 9ea17ce95a6..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,6 +51,7 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "audiences": [ 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 6adeac7a1c8..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,6 +8,7 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "name": "renamed_id", 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 0652f43e711..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: [], @@ -465,7 +470,8 @@ function getRequest({ schema: property.schema, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: 1 // 1 level deep for request body properties }); // TODO: clean up conditional logic @@ -523,7 +529,8 @@ function getRequest({ schema: Schema.reference(referencedSchema), fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: 0 }); return getTypeFromTypeReference(allOfTypeReference); }); @@ -589,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 50f07a344ea..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 @@ -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,19 @@ 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); - - properties[property.key] = convertPropertyTypeReferenceToTypeDefinition( + properties[property.key] = convertPropertyTypeReferenceToTypeDefinition({ typeReference, audiences, name, availability - ); + }); } const propertiesToSetToUnknown: Set = new Set(); @@ -167,7 +177,8 @@ export function buildObjectTypeDeclaration({ schema: Schema.reference(allOf), context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); extendedSchemas.push(getTypeFromTypeReference(allOfTypeReference)); } @@ -183,7 +194,8 @@ export function buildObjectTypeDeclaration({ schema: propertyToInline.schema, context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); } } @@ -195,7 +207,8 @@ export function buildObjectTypeDeclaration({ schema: Schema.reference(extendedSchema), context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); extendedSchemas.push(getTypeFromTypeReference(extendedSchemaTypeReference)); } @@ -236,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, @@ -302,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, @@ -316,7 +333,8 @@ export function buildArrayTypeDeclaration({ fileContainingReference: declarationFile, declarationFile, context, - namespace + namespace, + declarationDepth }) }; } @@ -325,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, @@ -339,7 +359,8 @@ export function buildMapTypeDeclaration({ fileContainingReference: declarationFile, declarationFile, context, - namespace + namespace, + declarationDepth }) }; } @@ -367,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; @@ -434,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 @@ -453,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 + }) }; } @@ -461,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, @@ -475,7 +505,8 @@ export function buildOptionalTypeDeclaration({ context, fileContainingReference: declarationFile, declarationFile, - namespace + namespace, + declarationDepth }) }; } @@ -505,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") { @@ -520,7 +553,8 @@ export function buildOneOfTypeDeclaration({ schema: property.schema, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); } const union: Record = {}; @@ -529,7 +563,8 @@ export function buildOneOfTypeDeclaration({ schema: subSchema, context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); } return { @@ -553,7 +588,8 @@ export function buildOneOfTypeDeclaration({ schema: subSchema, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: declarationDepth + 1 }) ); } @@ -564,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) } }; } @@ -593,12 +630,17 @@ function getSchemaIdOfResolvedType({ return schema; } -function convertPropertyTypeReferenceToTypeDefinition( - typeReference: RawSchemas.TypeReferenceSchema, - audiences: string[], - name?: string | undefined, - availability?: RawSchemas.AvailabilityUnionSchema -): RawSchemas.ObjectPropertySchema { +function convertPropertyTypeReferenceToTypeDefinition({ + typeReference, + audiences, + name, + availability +}: { + typeReference: RawSchemas.TypeReferenceSchema; + audiences: string[]; + name?: string | undefined; + availability?: RawSchemas.AvailabilityUnionSchema; +}): RawSchemas.ObjectPropertySchema { if (audiences.length === 0 && name == null && availability == null) { return typeReference; } else { @@ -610,3 +652,13 @@ 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/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..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 @@ -50,13 +50,15 @@ export function buildTypeReference({ /* The file any type declarations will be written to. Defaults to fileContainingReference if not present */ declarationFile = fileContainingReference, context, - namespace + namespace, + declarationDepth }: { schema: Schema; fileContainingReference: RelativeFilePath; declarationFile?: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { if (context.shouldMarkSchemaAsReferenced()) { context.markSchemaAsReferenced(schema, namespace); @@ -66,30 +68,70 @@ export function buildTypeReference({ 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); @@ -435,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) { @@ -466,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({ @@ -480,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)}>`; @@ -507,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); @@ -587,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, @@ -625,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, { @@ -660,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/parseIr.yml b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml index e90083864e7..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 @@ -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 diff --git a/packages/cli/cli-logger/.depcheckrc.json b/packages/cli/cli-logger/.depcheckrc.json new file mode 100644 index 00000000000..a3a4f43188c --- /dev/null +++ b/packages/cli/cli-logger/.depcheckrc.json @@ -0,0 +1,10 @@ +{ + "ignores": [ + "@types/jest", + "globals", + "@types/node" + ], + "ignore-patterns": [ + "lib" + ] +} \ No newline at end of file diff --git a/packages/cli/cli-logger/.prettierrc.cjs b/packages/cli/cli-logger/.prettierrc.cjs new file mode 100644 index 00000000000..39cf0d0b8c9 --- /dev/null +++ b/packages/cli/cli-logger/.prettierrc.cjs @@ -0,0 +1 @@ +module.exports = require("../../../.prettierrc.json"); diff --git a/packages/cli/cli-logger/package.json b/packages/cli/cli-logger/package.json new file mode 100644 index 00000000000..88bcf7df6a3 --- /dev/null +++ b/packages/cli/cli-logger/package.json @@ -0,0 +1,43 @@ +{ + "name": "@fern-api/cli-logger", + "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/fern-api/fern.git", + "directory": "packages/cli/cli-logger" + }, + "private": true, + "files": [ + "lib" + ], + "type": "module", + "source": "src/index.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "sideEffects": false, + "scripts": { + "clean": "rm -rf ./lib && tsc --build --clean", + "compile": "tsc --build", + "test": "vitest --passWithNoTests --run", + "test:update": "vitest --passWithNoTests --run -u", + "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../.eslintignore", + "lint:eslint:fix": "yarn lint:eslint --fix", + "format": "prettier --write --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", + "format:check": "prettier --check --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", + "organize-imports": "organize-imports-cli tsconfig.json", + "depcheck": "depcheck" + }, + "dependencies": { + "chalk": "^5.3.0" + }, + "devDependencies": { + "@types/jest": "^29.5.12", + "@types/node": "18.7.18", + "depcheck": "^1.4.6", + "eslint": "^8.56.0", + "vitest": "^2.1.4", + "organize-imports-cli": "^0.10.0", + "prettier": "^2.7.1", + "typescript": "4.6.4" + } +} \ No newline at end of file diff --git a/packages/cli/logger/src/formatLog.ts b/packages/cli/cli-logger/src/formatLog.ts similarity index 100% rename from packages/cli/logger/src/formatLog.ts rename to packages/cli/cli-logger/src/formatLog.ts diff --git a/packages/cli/cli-logger/src/index.ts b/packages/cli/cli-logger/src/index.ts new file mode 100644 index 00000000000..a555e9e4360 --- /dev/null +++ b/packages/cli/cli-logger/src/index.ts @@ -0,0 +1 @@ +export { formatLog } from "./formatLog"; diff --git a/packages/cli/cli-logger/tsconfig.json b/packages/cli/cli-logger/tsconfig.json new file mode 100644 index 00000000000..93c6abdc960 --- /dev/null +++ b/packages/cli/cli-logger/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../../../shared/tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ] +} \ No newline at end of file diff --git a/packages/cli/cli-logger/vitest.config.ts b/packages/cli/cli-logger/vitest.config.ts new file mode 100644 index 00000000000..fecc099c58a --- /dev/null +++ b/packages/cli/cli-logger/vitest.config.ts @@ -0,0 +1 @@ +export { default } from "../../../shared/vitest.config"; diff --git a/packages/cli/cli-migrations/package.json b/packages/cli/cli-migrations/package.json index 13719bf690c..bc5c8d4bb73 100644 --- a/packages/cli/cli-migrations/package.json +++ b/packages/cli/cli-migrations/package.json @@ -28,7 +28,7 @@ "depcheck": "depcheck" }, "dependencies": { - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", "@fern-api/semver-utils": "workspace:*", diff --git a/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndMultipleAPIs.ts b/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndMultipleAPIs.ts index 9b1d841204f..50f29a332b2 100644 --- a/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndMultipleAPIs.ts +++ b/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndMultipleAPIs.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, join, moveFolder, RelativeFilePath } from "@fern-api/fs-utils"; import { mkdir, rm, writeFile } from "fs/promises"; import yaml from "js-yaml"; diff --git a/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndSingleAPI.ts b/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndSingleAPI.ts index 03919ff7d51..d00efa0fb28 100644 --- a/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndSingleAPI.ts +++ b/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndSingleAPI.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, moveFolder } from "@fern-api/fs-utils"; import { rm, writeFile } from "fs/promises"; import yaml from "js-yaml"; diff --git a/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsInstances.ts b/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsInstances.ts index e1fed85ae87..3f3f6eb13de 100644 --- a/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsInstances.ts +++ b/packages/cli/cli-migrations/src/migrations/0.15.0-rc0/update-directory-structure/migrateDocsInstances.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { DocsURL } from "./docs-config"; export function migrateDocsInstances(docsURLs: docsYml.RawSchemas.DocsInstance[]): DocsURL[] { diff --git a/packages/cli/cli-migrations/src/migrations/0.41.0-rc0/require-generators-yml/migration.ts b/packages/cli/cli-migrations/src/migrations/0.41.0-rc0/require-generators-yml/migration.ts index 74f92fabaf1..9aec7a63781 100644 --- a/packages/cli/cli-migrations/src/migrations/0.41.0-rc0/require-generators-yml/migration.ts +++ b/packages/cli/cli-migrations/src/migrations/0.41.0-rc0/require-generators-yml/migration.ts @@ -1,4 +1,4 @@ -import { getFernDirectory } from "@fern-api/configuration"; +import { getFernDirectory } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, Directory, diff --git a/packages/cli/cli-migrations/tsconfig.json b/packages/cli/cli-migrations/tsconfig.json index e2bae1be03d..9ef61c2c159 100644 --- a/packages/cli/cli-migrations/tsconfig.json +++ b/packages/cli/cli-migrations/tsconfig.json @@ -1,12 +1,28 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/core-utils" }, - { "path": "../../commons/fs-utils" }, - { "path": "../configuration" }, - { "path": "../semver-utils" }, - { "path": "../task-context" } + { + "path": "../../commons/core-utils" + }, + { + "path": "../../commons/fs-utils" + }, + { + "path": "../configuration-loader" + }, + { + "path": "../semver-utils" + }, + { + "path": "../task-context" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/cli/package.json b/packages/cli/cli/package.json index 327ca6c19ab..6e948d83600 100644 --- a/packages/cli/cli/package.json +++ b/packages/cli/cli/package.json @@ -41,8 +41,9 @@ "@fern-api/docs-resolver": "workspace:*", "@fern-api/api-workspace-commons": "workspace:*", "@fern-api/auth": "workspace:*", + "@fern-api/cli-logger": "workspace:*", "@fern-api/cli-migrations": "workspace:*", - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/docs-preview": "workspace:*", diff --git a/packages/cli/cli/src/cli-context/upgrade-utils/getGeneratorVersions.ts b/packages/cli/cli/src/cli-context/upgrade-utils/getGeneratorVersions.ts index 1f6eb5d7d45..2142c7d455b 100644 --- a/packages/cli/cli/src/cli-context/upgrade-utils/getGeneratorVersions.ts +++ b/packages/cli/cli/src/cli-context/upgrade-utils/getGeneratorVersions.ts @@ -1,4 +1,9 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { + generatorsYml, + getLatestGeneratorVersion, + getGeneratorNameOrThrow, + loadGeneratorsConfiguration +} from "@fern-api/configuration-loader"; import { Logger } from "@fern-api/logger"; import { Project } from "@fern-api/project-loader"; import { isVersionAhead } from "@fern-api/semver-utils"; @@ -59,9 +64,9 @@ export async function getLatestGeneratorVersions({ versions.versions[group] = {}; } - const normalizedGeneratorName = generatorsYml.getGeneratorNameOrThrow(generator.name, context); + const normalizedGeneratorName = getGeneratorNameOrThrow(generator.name, context); - const latestVersion = await generatorsYml.getLatestGeneratorVersion({ + const latestVersion = await getLatestGeneratorVersion({ generatorName: normalizedGeneratorName, cliVersion: cliContext.environment.packageVersion, currentGeneratorVersion: generator.version, @@ -102,8 +107,8 @@ export async function getLatestGeneratorVersions({ versions.versions[api]![group] = {}; } - const normalizedGeneratorName = generatorsYml.getGeneratorNameOrThrow(generator.name, context); - const latestVersion = await generatorsYml.getLatestGeneratorVersion({ + const normalizedGeneratorName = getGeneratorNameOrThrow(generator.name, context); + const latestVersion = await getLatestGeneratorVersion({ generatorName: normalizedGeneratorName, cliVersion: cliContext.environment.packageVersion, currentGeneratorVersion: generator.version, @@ -148,7 +153,7 @@ async function processGeneratorsYml({ apiWorkspaces.map(async (workspace) => { await cliContext.runTaskForWorkspace(workspace, async (context) => { // If there are no groups in the configuration, skip this workspace - const generatorsConfiguration = await generatorsYml.loadGeneratorsConfiguration({ + const generatorsConfiguration = await loadGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath, context }); diff --git a/packages/cli/cli/src/cli.ts b/packages/cli/cli/src/cli.ts index cf73175b2fb..159a84aa26f 100644 --- a/packages/cli/cli/src/cli.ts +++ b/packages/cli/cli/src/cli.ts @@ -5,8 +5,9 @@ import { generatorsYml, GENERATORS_CONFIGURATION_FILENAME, getFernDirectory, + loadProjectConfig, PROJECT_CONFIG_FILENAME -} from "@fern-api/configuration"; +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath, cwd, doesPathExist, resolve } from "@fern-api/fs-utils"; import { initializeAPI, initializeDocs } from "@fern-api/init"; import { LogLevel, LOG_LEVELS } from "@fern-api/logger"; @@ -194,7 +195,7 @@ async function getIntendedVersionOfCli(cliContext: CliContext): Promise const fernDirectory = await getFernDirectory(); if (fernDirectory != null) { const projectConfig = await cliContext.runTask((context) => - fernConfigJson.loadProjectConfig({ directory: fernDirectory, context }) + loadProjectConfig({ directory: fernDirectory, context }) ); if (projectConfig.version === "*") { return cliContext.environment.packageVersion; diff --git a/packages/cli/cli/src/cliV2.ts b/packages/cli/cli/src/cliV2.ts index ea87bca0e53..dc4b1ffdff5 100644 --- a/packages/cli/cli/src/cliV2.ts +++ b/packages/cli/cli/src/cliV2.ts @@ -1,5 +1,5 @@ import { FernRegistry } from "@fern-fern/generators-sdk"; -import { GENERATORS_CONFIGURATION_FILENAME } from "@fern-api/configuration"; +import { GENERATORS_CONFIGURATION_FILENAME } from "@fern-api/configuration-loader"; import { Argv } from "yargs"; import { CliContext } from "./cli-context/CliContext"; import { GlobalCliOptions, loadProjectAndRegisterWorkspacesWithContext } from "./cliCommons"; diff --git a/packages/cli/cli/src/commands/add-generator/addGeneratorToWorkspaces.ts b/packages/cli/cli/src/commands/add-generator/addGeneratorToWorkspaces.ts index 1fc480290c8..27f0e2de6b5 100644 --- a/packages/cli/cli/src/commands/add-generator/addGeneratorToWorkspaces.ts +++ b/packages/cli/cli/src/commands/add-generator/addGeneratorToWorkspaces.ts @@ -1,4 +1,9 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { + addGenerator, + generatorsYml, + getPathToGeneratorsConfiguration, + loadRawGeneratorsConfiguration +} from "@fern-api/configuration-loader"; import { Project } from "@fern-api/project-loader"; import chalk from "chalk"; import { writeFile } from "fs/promises"; @@ -20,12 +25,12 @@ export async function addGeneratorToWorkspaces({ apiWorkspaces.map(async (workspace) => { await cliContext.runTaskForWorkspace(workspace, async (context) => { const generatorsConfiguration = - (await generatorsYml.loadRawGeneratorsConfiguration({ + (await loadRawGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath, context })) ?? {}; - const newConfiguration = await generatorsYml.addGenerator({ + const newConfiguration = await addGenerator({ generatorName, generatorsConfiguration, groupName, @@ -35,7 +40,7 @@ export async function addGeneratorToWorkspaces({ await writeFile( workspace.generatorsConfiguration?.absolutePathToConfiguration ?? - generatorsYml.getPathToGeneratorsConfiguration({ + getPathToGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath }), yaml.dump(newConfiguration) diff --git a/packages/cli/cli/src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts b/packages/cli/cli/src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts index e3f3037546f..e1d6bd7b25d 100644 --- a/packages/cli/cli/src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts +++ b/packages/cli/cli/src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts @@ -1,4 +1,4 @@ -import { Audiences, generatorsYml } from "@fern-api/configuration"; +import { Audiences, generatorsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, streamObjectToFile, stringifyLargeObject } from "@fern-api/fs-utils"; import { Project } from "@fern-api/project-loader"; import path from "path"; diff --git a/packages/cli/cli/src/commands/generate-fdr/generateFdrApiDefinitionForWorkspaces.ts b/packages/cli/cli/src/commands/generate-fdr/generateFdrApiDefinitionForWorkspaces.ts index 92c2a612c37..ea696e95f2c 100644 --- a/packages/cli/cli/src/commands/generate-fdr/generateFdrApiDefinitionForWorkspaces.ts +++ b/packages/cli/cli/src/commands/generate-fdr/generateFdrApiDefinitionForWorkspaces.ts @@ -1,4 +1,4 @@ -import { Audiences } from "@fern-api/configuration"; +import { Audiences } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, stringifyLargeObject } from "@fern-api/fs-utils"; import { Project } from "@fern-api/project-loader"; import { convertIrToFdrApi } from "@fern-api/register"; diff --git a/packages/cli/cli/src/commands/generate-ir/generateIrForFernWorkspace.ts b/packages/cli/cli/src/commands/generate-ir/generateIrForFernWorkspace.ts index f7de8b3572f..7b7461584dd 100644 --- a/packages/cli/cli/src/commands/generate-ir/generateIrForFernWorkspace.ts +++ b/packages/cli/cli/src/commands/generate-ir/generateIrForFernWorkspace.ts @@ -1,4 +1,4 @@ -import { Audiences, generatorsYml } from "@fern-api/configuration"; +import { Audiences, generatorsYml } from "@fern-api/configuration-loader"; import { generateIntermediateRepresentation } from "@fern-api/ir-generator"; import { IntermediateRepresentation } from "@fern-api/ir-sdk"; import { TaskContext } from "@fern-api/task-context"; diff --git a/packages/cli/cli/src/commands/generate-ir/generateIrForWorkspaces.ts b/packages/cli/cli/src/commands/generate-ir/generateIrForWorkspaces.ts index 96c9272305c..df6a20affaa 100644 --- a/packages/cli/cli/src/commands/generate-ir/generateIrForWorkspaces.ts +++ b/packages/cli/cli/src/commands/generate-ir/generateIrForWorkspaces.ts @@ -1,4 +1,4 @@ -import { Audiences, generatorsYml } from "@fern-api/configuration"; +import { Audiences, generatorsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, streamObjectToFile, stringifyLargeObject } from "@fern-api/fs-utils"; import { migrateIntermediateRepresentationThroughVersion } from "@fern-api/ir-migrations"; import { serialization as IrSerialization } from "@fern-api/ir-sdk"; diff --git a/packages/cli/cli/src/commands/generate-openapi-ir/generateOpenAPIIrForWorkspaces.ts b/packages/cli/cli/src/commands/generate-openapi-ir/generateOpenAPIIrForWorkspaces.ts index 7f26bc823d2..5bc3a2c17a0 100644 --- a/packages/cli/cli/src/commands/generate-openapi-ir/generateOpenAPIIrForWorkspaces.ts +++ b/packages/cli/cli/src/commands/generate-openapi-ir/generateOpenAPIIrForWorkspaces.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, stringifyLargeObject } from "@fern-api/fs-utils"; import { serialization } from "@fern-api/openapi-ir"; import { parse } from "@fern-api/openapi-ir-parser"; diff --git a/packages/cli/cli/src/commands/generate/generateAPIWorkspace.ts b/packages/cli/cli/src/commands/generate/generateAPIWorkspace.ts index c862b4fa5c1..c071e680c36 100644 --- a/packages/cli/cli/src/commands/generate/generateAPIWorkspace.ts +++ b/packages/cli/cli/src/commands/generate/generateAPIWorkspace.ts @@ -3,7 +3,7 @@ import { DEFAULT_GROUP_GENERATORS_CONFIG_KEY, fernConfigJson, GENERATORS_CONFIGURATION_FILENAME -} from "@fern-api/configuration"; +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; import { runLocalGenerationForWorkspace } from "@fern-api/local-workspace-runner"; import { runRemoteGenerationForAPIWorkspace } from "@fern-api/remote-workspace-runner"; diff --git a/packages/cli/cli/src/commands/generator-list/getGeneratorList.ts b/packages/cli/cli/src/commands/generator-list/getGeneratorList.ts index 493c30a942a..3bcfa6c9cc0 100644 --- a/packages/cli/cli/src/commands/generator-list/getGeneratorList.ts +++ b/packages/cli/cli/src/commands/generator-list/getGeneratorList.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml, loadGeneratorsConfiguration } from "@fern-api/configuration-loader"; import { Project } from "@fern-api/project-loader"; import { writeFile } from "fs/promises"; import yaml from "js-yaml"; @@ -44,7 +44,7 @@ export async function getGeneratorList({ } // If there are no groups in the configuration, skip this workspace - const generatorsConfiguration = await generatorsYml.loadGeneratorsConfiguration({ + const generatorsConfiguration = await loadGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath, context }); diff --git a/packages/cli/cli/src/commands/generator-metadata/getGeneratorMetadata.ts b/packages/cli/cli/src/commands/generator-metadata/getGeneratorMetadata.ts index e7500d82ace..e68bffdcb63 100644 --- a/packages/cli/cli/src/commands/generator-metadata/getGeneratorMetadata.ts +++ b/packages/cli/cli/src/commands/generator-metadata/getGeneratorMetadata.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml, loadGeneratorsConfiguration } from "@fern-api/configuration-loader"; import { Project } from "@fern-api/project-loader"; import { CliContext } from "../../cli-context/CliContext"; @@ -25,7 +25,7 @@ export async function getGeneratorMetadata({ } // If there are no groups in the configuration, skip this workspace - const generatorsConfiguration = await generatorsYml.loadGeneratorsConfiguration({ + const generatorsConfiguration = await loadGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath, context }); diff --git a/packages/cli/cli/src/commands/jsonschema/generateJsonschemaForWorkspace.ts b/packages/cli/cli/src/commands/jsonschema/generateJsonschemaForWorkspace.ts index 4036d3d7780..949f1c06aeb 100644 --- a/packages/cli/cli/src/commands/jsonschema/generateJsonschemaForWorkspace.ts +++ b/packages/cli/cli/src/commands/jsonschema/generateJsonschemaForWorkspace.ts @@ -1,4 +1,4 @@ -import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration"; +import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, doesPathExist, RelativeFilePath, dirname } from "@fern-api/fs-utils"; import { Project } from "@fern-api/project-loader"; import { CliContext } from "../../cli-context/CliContext"; diff --git a/packages/cli/cli/src/commands/test/testOutput.ts b/packages/cli/cli/src/commands/test/testOutput.ts index 6a78ccb2755..690797edca5 100644 --- a/packages/cli/cli/src/commands/test/testOutput.ts +++ b/packages/cli/cli/src/commands/test/testOutput.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { generateIntermediateRepresentation } from "@fern-api/ir-generator"; import { loggingExeca } from "@fern-api/logging-execa"; import { MockServer } from "@fern-api/mock"; diff --git a/packages/cli/cli/src/commands/upgrade/updateApiSpec.ts b/packages/cli/cli/src/commands/upgrade/updateApiSpec.ts index 76c0c1e9a1c..d54ba582ca2 100644 --- a/packages/cli/cli/src/commands/upgrade/updateApiSpec.ts +++ b/packages/cli/cli/src/commands/upgrade/updateApiSpec.ts @@ -1,4 +1,4 @@ -import { generatorsYml, getFernDirectory } from "@fern-api/configuration"; +import { generatorsYml, getFernDirectory, loadGeneratorsConfiguration } from "@fern-api/configuration-loader"; import { assertNever, isPlainObject } from "@fern-api/core-utils"; import { join, RelativeFilePath, AbsoluteFilePath } from "@fern-api/fs-utils"; import { Logger } from "@fern-api/logger"; @@ -45,7 +45,7 @@ export async function updateApiSpec({ await cliContext.runTaskForWorkspace(workspace, async (context) => { const generatorConfig: generatorsYml.GeneratorsConfiguration | undefined = - await generatorsYml.loadGeneratorsConfiguration({ + await loadGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath, context }); diff --git a/packages/cli/cli/src/commands/upgrade/upgrade.ts b/packages/cli/cli/src/commands/upgrade/upgrade.ts index f9d63ab0723..3c6f621a131 100644 --- a/packages/cli/cli/src/commands/upgrade/upgrade.ts +++ b/packages/cli/cli/src/commands/upgrade/upgrade.ts @@ -1,4 +1,4 @@ -import { fernConfigJson, FERN_DIRECTORY, getFernDirectory } from "@fern-api/configuration"; +import { fernConfigJson, FERN_DIRECTORY, getFernDirectory, loadProjectConfig } from "@fern-api/configuration-loader"; import { loggingExeca } from "@fern-api/logging-execa"; import { isVersionAhead } from "@fern-api/semver-utils"; import { runMigrations } from "@fern-api/cli-migrations"; @@ -96,7 +96,7 @@ export async function upgrade({ return cliContext.failAndThrow(`Directory "${FERN_DIRECTORY}" not found.`); } const projectConfig = await cliContext.runTask((context) => - fernConfigJson.loadProjectConfig({ directory: fernDirectory, context }) + loadProjectConfig({ directory: fernDirectory, context }) ); const newProjectConfig = produce(projectConfig.rawConfig, (draft) => { draft.version = fernCliUpgradeInfo.latestVersion; diff --git a/packages/cli/cli/src/commands/upgrade/upgradeGenerator.ts b/packages/cli/cli/src/commands/upgrade/upgradeGenerator.ts index 48585b18337..8baa9d0407d 100644 --- a/packages/cli/cli/src/commands/upgrade/upgradeGenerator.ts +++ b/packages/cli/cli/src/commands/upgrade/upgradeGenerator.ts @@ -1,4 +1,10 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { + generatorsYml, + getGeneratorNameOrThrow, + getLatestGeneratorVersion, + getPathToGeneratorsConfiguration, + loadRawGeneratorsConfiguration +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath, doesPathExist } from "@fern-api/fs-utils"; import { Project } from "@fern-api/project-loader"; import { TaskContext } from "@fern-api/task-context"; @@ -26,7 +32,7 @@ export async function loadAndUpdateGenerators({ channel: FernRegistry.generators.ReleaseType | undefined; cliVersion: string; }): Promise { - const filepath = generatorsYml.getPathToGeneratorsConfiguration({ absolutePathToWorkspace }); + const filepath = getPathToGeneratorsConfiguration({ absolutePathToWorkspace }); if (!(await doesPathExist(filepath))) { context.logger.debug("Generators configuration file was not found, no generators to upgrade."); return undefined; @@ -91,11 +97,11 @@ export async function loadAndUpdateGenerators({ continue; } - const normalizedGeneratorName = generatorsYml.getGeneratorNameOrThrow(generatorName, context); + const normalizedGeneratorName = getGeneratorNameOrThrow(generatorName, context); const currentGeneratorVersion = generator.get("version") as string; - const latestVersion = await generatorsYml.getLatestGeneratorVersion({ + const latestVersion = await getLatestGeneratorVersion({ generatorName: normalizedGeneratorName, cliVersion, currentGeneratorVersion, @@ -137,7 +143,7 @@ export async function upgradeGenerator({ await cliContext.runTaskForWorkspace(workspace, async (context) => { // Not totally necessary, but keeping around to ensure the schema is valid const generatorsConfiguration = - (await generatorsYml.loadRawGeneratorsConfiguration({ + (await loadRawGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath, context })) ?? {}; @@ -167,7 +173,7 @@ export async function upgradeGenerator({ if (updatedConfiguration != null) { await writeFile( workspace.generatorsConfiguration?.absolutePathToConfiguration ?? - generatorsYml.getPathToGeneratorsConfiguration({ + getPathToGeneratorsConfiguration({ absolutePathToWorkspace: workspace.absoluteFilePath }), updatedConfiguration diff --git a/packages/cli/cli/src/commands/validate/logViolations.ts b/packages/cli/cli/src/commands/validate/logViolations.ts index 8094d7b3951..4b56567c8f9 100644 --- a/packages/cli/cli/src/commands/validate/logViolations.ts +++ b/packages/cli/cli/src/commands/validate/logViolations.ts @@ -1,5 +1,6 @@ import { assertNever } from "@fern-api/core-utils"; -import { formatLog, LogLevel } from "@fern-api/logger"; +import { LogLevel } from "@fern-api/logger"; +import { formatLog } from "@fern-api/cli-logger"; import { TaskContext } from "@fern-api/task-context"; import { ValidationViolation } from "@fern-api/fern-definition-validator"; import chalk from "chalk"; diff --git a/packages/cli/cli/src/commands/write-definition/writeDefinitionForWorkspaces.ts b/packages/cli/cli/src/commands/write-definition/writeDefinitionForWorkspaces.ts index 90a584a93f5..f7fc2528982 100644 --- a/packages/cli/cli/src/commands/write-definition/writeDefinitionForWorkspaces.ts +++ b/packages/cli/cli/src/commands/write-definition/writeDefinitionForWorkspaces.ts @@ -1,4 +1,4 @@ -import { DEFINITION_DIRECTORY, generatorsYml, ROOT_API_FILENAME } from "@fern-api/configuration"; +import { DEFINITION_DIRECTORY, generatorsYml, ROOT_API_FILENAME } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, dirname, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { Project } from "@fern-api/project-loader"; import { TaskContext } from "@fern-api/task-context"; diff --git a/packages/cli/cli/tsconfig.json b/packages/cli/cli/tsconfig.json index 5c255cce9ef..16d7aab7397 100644 --- a/packages/cli/cli/tsconfig.json +++ b/packages/cli/cli/tsconfig.json @@ -1,42 +1,121 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/core-utils" }, - { "path": "../../commons/fs-utils" }, - { "path": "../../commons/logging-execa" }, - { "path": "../../core" }, - { "path": "../../ir-sdk" }, - { "path": "../auth" }, - { "path": "../configuration" }, - { "path": "../docs-preview" }, - { "path": "../generation/ir-generator" }, - { "path": "../generation/ir-migrations" }, - { "path": "../generation/local-generation/local-workspace-runner" }, - { "path": "../generation/remote-generation/remote-workspace-runner" }, - { "path": "../init" }, - { "path": "../logger" }, - { "path": "../login" }, - { "path": "../mock" }, - { "path": "../api-importers/openapi/openapi-ir" }, - { "path": "../api-importers/openapi/openapi-ir-to-fern" }, - { "path": "../api-importers/openapi/openapi-ir-parser" }, - { "path": "../posthog-manager" }, - { "path": "../project-loader" }, - { "path": "../register" }, - { "path": "../semver-utils" }, - { "path": "../task-context" }, - { "path": "../workspace-loader" }, - { "path": "../workspace-commons" }, - { "path": "../lazy-fern-workspace" }, - { "path": "../yaml/docs-validator" }, - { "path": "../fern-definition/formatter" }, - { "path": "../fern-definition/validator" }, - { "path": "../cli-migrations" }, - { "path": "../fern-definition/schema" }, - { "path": "../fern-definition/ir-to-jsonschema" }, - { "path": "../docs-resolver" }, - { "path": "../../../generators/typescript/utils/commons"} + { + "path": "../../commons/core-utils" + }, + { + "path": "../../commons/fs-utils" + }, + { + "path": "../../commons/logging-execa" + }, + { + "path": "../../core" + }, + { + "path": "../../ir-sdk" + }, + { + "path": "../auth" + }, + { + "path": "../configuration-loader" + }, + { + "path": "../docs-preview" + }, + { + "path": "../generation/ir-generator" + }, + { + "path": "../generation/ir-migrations" + }, + { + "path": "../generation/local-generation/local-workspace-runner" + }, + { + "path": "../generation/remote-generation/remote-workspace-runner" + }, + { + "path": "../init" + }, + { + "path": "../cli-logger" + }, + { + "path": "../logger" + }, + { + "path": "../login" + }, + { + "path": "../mock" + }, + { + "path": "../api-importers/openapi/openapi-ir" + }, + { + "path": "../api-importers/openapi/openapi-ir-to-fern" + }, + { + "path": "../api-importers/openapi/openapi-ir-parser" + }, + { + "path": "../posthog-manager" + }, + { + "path": "../project-loader" + }, + { + "path": "../register" + }, + { + "path": "../semver-utils" + }, + { + "path": "../task-context" + }, + { + "path": "../workspace-loader" + }, + { + "path": "../workspace-commons" + }, + { + "path": "../lazy-fern-workspace" + }, + { + "path": "../yaml/docs-validator" + }, + { + "path": "../fern-definition/formatter" + }, + { + "path": "../fern-definition/validator" + }, + { + "path": "../cli-migrations" + }, + { + "path": "../fern-definition/schema" + }, + { + "path": "../fern-definition/ir-to-jsonschema" + }, + { + "path": "../docs-resolver" + }, + { + "path": "../../../generators/typescript/utils/commons" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/cli/versions.yml b/packages/cli/cli/versions.yml index 8b5560f35c1..f2d11eff45e 100644 --- a/packages/cli/cli/versions.yml +++ b/packages/cli/cli/versions.yml @@ -1,3 +1,18 @@ +- changelogEntry: + - summary: | + Generate valid examples using spec validation information; respect `null` entries during example generation. + type: fix + irVersion: 53 + version: 0.45.1-rc0 + +- 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 +73,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 +140,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 +148,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 diff --git a/packages/cli/configuration-loader/.depcheckrc.json b/packages/cli/configuration-loader/.depcheckrc.json new file mode 100644 index 00000000000..a3a4f43188c --- /dev/null +++ b/packages/cli/configuration-loader/.depcheckrc.json @@ -0,0 +1,10 @@ +{ + "ignores": [ + "@types/jest", + "globals", + "@types/node" + ], + "ignore-patterns": [ + "lib" + ] +} \ No newline at end of file diff --git a/packages/cli/configuration-loader/.prettierrc.cjs b/packages/cli/configuration-loader/.prettierrc.cjs new file mode 100644 index 00000000000..39cf0d0b8c9 --- /dev/null +++ b/packages/cli/configuration-loader/.prettierrc.cjs @@ -0,0 +1 @@ +module.exports = require("../../../.prettierrc.json"); diff --git a/packages/cli/configuration-loader/package.json b/packages/cli/configuration-loader/package.json new file mode 100644 index 00000000000..cd34c514fd6 --- /dev/null +++ b/packages/cli/configuration-loader/package.json @@ -0,0 +1,60 @@ +{ + "name": "@fern-api/configuration-loader", + "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/fern-api/fern.git", + "directory": "packages/cli/configuration-loader" + }, + "private": true, + "files": [ + "lib" + ], + "type": "module", + "source": "src/index.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "sideEffects": false, + "scripts": { + "clean": "rm -rf ./lib && tsc --build --clean", + "compile": "tsc --build", + "test": "vitest --run", + "test:update": "vitest --run -u", + "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../.eslintignore", + "lint:eslint:fix": "yarn lint:eslint --fix", + "format": "prettier --write --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", + "format:check": "prettier --check --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", + "organize-imports": "organize-imports-cli tsconfig.json", + "depcheck": "depcheck" + }, + "dependencies": { + "@fern-api/configuration": "workspace:*", + "@fern-api/core-utils": "workspace:*", + "@fern-api/fs-utils": "workspace:*", + "@fern-api/task-context": "workspace:*", + "@fern-api/fern-definition-schema": "workspace:*", + "@fern-fern/fdr-cjs-sdk": "0.126.1-444264056", + "@fern-fern/fiddle-sdk": "0.0.584", + "@fern-fern/generators-sdk": "0.114.0-5745f9e74", + "find-up": "^6.3.0", + "js-yaml": "^4.1.0", + "lodash-es": "^4.17.21", + "semver": "^7.6.2", + "tinycolor2": "^1.6.0", + "zod": "^3.22.3" + }, + "devDependencies": { + "@types/jest": "^29.5.12", + "@types/js-yaml": "^4.0.8", + "@types/lodash-es": "^4.17.12", + "@types/node": "18.7.18", + "@types/semver": "^7.5.8", + "@types/tinycolor2": "^1.4.6", + "depcheck": "^1.4.6", + "eslint": "^8.56.0", + "organize-imports-cli": "^0.10.0", + "prettier": "^2.7.1", + "typescript": "4.6.4", + "vitest": "^2.0.5" + } +} diff --git a/packages/cli/configuration/src/commons/WithoutQuestionMarks.ts b/packages/cli/configuration-loader/src/commons/WithoutQuestionMarks.ts similarity index 100% rename from packages/cli/configuration/src/commons/WithoutQuestionMarks.ts rename to packages/cli/configuration-loader/src/commons/WithoutQuestionMarks.ts diff --git a/packages/cli/configuration-loader/src/commons/index.ts b/packages/cli/configuration-loader/src/commons/index.ts new file mode 100644 index 00000000000..e3d520d51fb --- /dev/null +++ b/packages/cli/configuration-loader/src/commons/index.ts @@ -0,0 +1 @@ +export { validateSchema } from "./validateSchema"; diff --git a/packages/cli/configuration/src/commons/validateSchema.ts b/packages/cli/configuration-loader/src/commons/validateSchema.ts similarity index 100% rename from packages/cli/configuration/src/commons/validateSchema.ts rename to packages/cli/configuration-loader/src/commons/validateSchema.ts diff --git a/packages/cli/configuration/src/dependencies-yml/convertDependenciesConfiguration.ts b/packages/cli/configuration-loader/src/dependencies-yml/convertDependenciesConfiguration.ts similarity index 83% rename from packages/cli/configuration/src/dependencies-yml/convertDependenciesConfiguration.ts rename to packages/cli/configuration-loader/src/dependencies-yml/convertDependenciesConfiguration.ts index c388602e4c3..e4bf5ad9330 100644 --- a/packages/cli/configuration/src/dependencies-yml/convertDependenciesConfiguration.ts +++ b/packages/cli/configuration-loader/src/dependencies-yml/convertDependenciesConfiguration.ts @@ -1,10 +1,9 @@ import { AbsoluteFilePath, doesPathExist } from "@fern-api/fs-utils"; import { TaskContext, TaskResult } from "@fern-api/task-context"; import path from "path"; -import { DependenciesConfiguration, Dependency } from "./DependenciesConfiguration"; -import { DependenciesConfigurationSchema } from "./schemas/DependenciesConfigurationSchema"; +import { dependenciesYml } from "@fern-api/configuration"; -const EMPTY_DEPENDENCIES_CONFIGURATION: DependenciesConfiguration = { +const EMPTY_DEPENDENCIES_CONFIGURATION: dependenciesYml.DependenciesConfiguration = { dependencies: {} }; @@ -14,14 +13,14 @@ export async function convertDependenciesConfiguration({ context }: { absolutePathToWorkspace: AbsoluteFilePath; - rawDependenciesConfiguration: DependenciesConfigurationSchema | undefined; + rawDependenciesConfiguration: dependenciesYml.DependenciesConfigurationSchema | undefined; context: TaskContext; -}): Promise { +}): Promise { if (rawDependenciesConfiguration == null) { return EMPTY_DEPENDENCIES_CONFIGURATION; } - const dependencies: Record = {}; + const dependencies: Record = {}; for (const [coordinate, versionOrPath] of Object.entries(rawDependenciesConfiguration.dependencies)) { if (isPath(versionOrPath)) { const pathToApi = AbsoluteFilePath.of(path.join(absolutePathToWorkspace, versionOrPath)); diff --git a/packages/cli/configuration-loader/src/dependencies-yml/index.ts b/packages/cli/configuration-loader/src/dependencies-yml/index.ts new file mode 100644 index 00000000000..decbb6091f1 --- /dev/null +++ b/packages/cli/configuration-loader/src/dependencies-yml/index.ts @@ -0,0 +1 @@ +export { loadDependenciesConfiguration } from "./loadDependenciesConfiguration"; diff --git a/packages/cli/configuration/src/dependencies-yml/loadDependenciesConfiguration.ts b/packages/cli/configuration-loader/src/dependencies-yml/loadDependenciesConfiguration.ts similarity index 86% rename from packages/cli/configuration/src/dependencies-yml/loadDependenciesConfiguration.ts rename to packages/cli/configuration-loader/src/dependencies-yml/loadDependenciesConfiguration.ts index 4c3cc572065..6902d5ee597 100644 --- a/packages/cli/configuration/src/dependencies-yml/loadDependenciesConfiguration.ts +++ b/packages/cli/configuration-loader/src/dependencies-yml/loadDependenciesConfiguration.ts @@ -1,8 +1,8 @@ import { AbsoluteFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { convertDependenciesConfiguration } from "./convertDependenciesConfiguration"; -import { DependenciesConfiguration } from "./DependenciesConfiguration"; import { loadRawDependenciesConfiguration } from "./loadRawDependenciesConfiguration"; +import { dependenciesYml } from "@fern-api/configuration"; export async function loadDependenciesConfiguration({ absolutePathToWorkspace, @@ -10,7 +10,7 @@ export async function loadDependenciesConfiguration({ }: { absolutePathToWorkspace: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { const rawDependenciesConfiguration = await loadRawDependenciesConfiguration({ absolutePathToWorkspace, context diff --git a/packages/cli/configuration/src/dependencies-yml/loadRawDependenciesConfiguration.ts b/packages/cli/configuration-loader/src/dependencies-yml/loadRawDependenciesConfiguration.ts similarity index 93% rename from packages/cli/configuration/src/dependencies-yml/loadRawDependenciesConfiguration.ts rename to packages/cli/configuration-loader/src/dependencies-yml/loadRawDependenciesConfiguration.ts index 26cf3febbfc..87f7a03560b 100644 --- a/packages/cli/configuration/src/dependencies-yml/loadRawDependenciesConfiguration.ts +++ b/packages/cli/configuration-loader/src/dependencies-yml/loadRawDependenciesConfiguration.ts @@ -3,7 +3,7 @@ import { TaskContext } from "@fern-api/task-context"; import { readFile } from "fs/promises"; import yaml from "js-yaml"; import { validateSchema } from "../commons/validateSchema"; -import { DEPENDENCIES_CONFIGURATION_FILENAME } from "../constants"; +import { DEPENDENCIES_CONFIGURATION_FILENAME } from "@fern-api/configuration"; import { DependenciesConfigurationSchema } from "./schemas/DependenciesConfigurationSchema"; export async function loadRawDependenciesConfiguration({ diff --git a/packages/cli/configuration-loader/src/dependencies-yml/schemas/DependenciesConfigurationSchema.ts b/packages/cli/configuration-loader/src/dependencies-yml/schemas/DependenciesConfigurationSchema.ts new file mode 100644 index 00000000000..71b41388c6d --- /dev/null +++ b/packages/cli/configuration-loader/src/dependencies-yml/schemas/DependenciesConfigurationSchema.ts @@ -0,0 +1,7 @@ +import { z } from "zod"; + +export const DependenciesConfigurationSchema = z.object({ + dependencies: z.record(z.string(), z.string()) +}); + +export type DependenciesConfigurationSchema = z.infer; diff --git a/packages/cli/configuration/src/docs-yml/__test__/__snapshots__/convertColorsConfiguration.test.ts.snap b/packages/cli/configuration-loader/src/docs-yml/__test__/__snapshots__/convertColorsConfiguration.test.ts.snap similarity index 100% rename from packages/cli/configuration/src/docs-yml/__test__/__snapshots__/convertColorsConfiguration.test.ts.snap rename to packages/cli/configuration-loader/src/docs-yml/__test__/__snapshots__/convertColorsConfiguration.test.ts.snap diff --git a/packages/cli/configuration/src/docs-yml/__test__/convertColorsConfiguration.test.ts b/packages/cli/configuration-loader/src/docs-yml/__test__/convertColorsConfiguration.test.ts similarity index 100% rename from packages/cli/configuration/src/docs-yml/__test__/convertColorsConfiguration.test.ts rename to packages/cli/configuration-loader/src/docs-yml/__test__/convertColorsConfiguration.test.ts diff --git a/packages/cli/configuration/src/docs-yml/convertColorsConfiguration.ts b/packages/cli/configuration-loader/src/docs-yml/convertColorsConfiguration.ts similarity index 93% rename from packages/cli/configuration/src/docs-yml/convertColorsConfiguration.ts rename to packages/cli/configuration-loader/src/docs-yml/convertColorsConfiguration.ts index c592324bfaf..1f5f6840775 100644 --- a/packages/cli/configuration/src/docs-yml/convertColorsConfiguration.ts +++ b/packages/cli/configuration-loader/src/docs-yml/convertColorsConfiguration.ts @@ -2,10 +2,10 @@ import { assertNever } from "@fern-api/core-utils"; import { TaskContext } from "@fern-api/task-context"; import { FernRegistry as CjsFdrSdk } from "@fern-fern/fdr-cjs-sdk"; import tinycolor from "tinycolor2"; -import { FernDocsConfig as RawDocs } from "./schemas"; +import { docsYml } from "@fern-api/configuration"; export function convertColorsConfiguration( - rawConfig: RawDocs.ColorsConfiguration = { accentPrimary: undefined, background: undefined }, + rawConfig: docsYml.RawSchemas.ColorsConfiguration = { accentPrimary: undefined, background: undefined }, context: TaskContext ): CjsFdrSdk.docs.v1.write.ColorsConfigV3 { rawConfig.accentPrimary = rawConfig.accentPrimary ?? rawConfig.accentPrimaryDeprecated; @@ -38,7 +38,7 @@ export function getColorType({ background, accentPrimary, accentPrimaryDeprecated -}: RawDocs.ColorsConfiguration): "dark" | "light" | "darkAndLight" { +}: docsYml.RawSchemas.ColorsConfiguration): "dark" | "light" | "darkAndLight" { // if both background and accent colors are provided as strings, // we can determine the theme using just the background color @@ -83,7 +83,7 @@ export function getColorType({ } export function convertThemedColorConfig( - rawConfig: RawDocs.ColorsConfiguration, + rawConfig: docsYml.RawSchemas.ColorsConfiguration, context: TaskContext, theme: "dark" | "light" ): CjsFdrSdk.docs.v1.write.ThemeConfig { @@ -128,7 +128,7 @@ export function convertThemedColorConfig( } export function getColorFromRawConfig( - raw: RawDocs.ColorConfig | undefined, + raw: docsYml.RawSchemas.ColorConfig | undefined, key: string, theme: "dark" | "light" ): string | undefined { @@ -151,7 +151,7 @@ export function getColorFromRawConfig( } export function getColorInstanceFromRawConfigOrThrow( - raw: RawDocs.ColorConfig | undefined, + raw: docsYml.RawSchemas.ColorConfig | undefined, context: TaskContext, key: string, theme: "dark" | "light" diff --git a/packages/cli/configuration/src/docs-yml/getAllPages.ts b/packages/cli/configuration-loader/src/docs-yml/getAllPages.ts similarity index 85% rename from packages/cli/configuration/src/docs-yml/getAllPages.ts rename to packages/cli/configuration-loader/src/docs-yml/getAllPages.ts index adcf0ca58c2..e7c65e4918f 100644 --- a/packages/cli/configuration/src/docs-yml/getAllPages.ts +++ b/packages/cli/configuration-loader/src/docs-yml/getAllPages.ts @@ -2,11 +2,7 @@ import { assertNever } from "@fern-api/core-utils"; import { AbsoluteFilePath, RelativeFilePath, relativize } from "@fern-api/fs-utils"; import { readFile } from "fs/promises"; import { compact } from "lodash-es"; -import { - DocsNavigationConfiguration, - DocsNavigationItem, - ParsedApiReferenceLayoutItem -} from "./ParsedDocsConfiguration"; +import { docsYml } from "@fern-api/configuration"; const BATCH_SIZE = 100; // Define a reasonable batch size @@ -53,13 +49,13 @@ export function getAllPages({ landingPage, navigation }: { - landingPage: DocsNavigationItem.Page | undefined; - navigation: DocsNavigationConfiguration; + landingPage: docsYml.DocsNavigationItem.Page | undefined; + navigation: docsYml.DocsNavigationConfiguration; }): AbsoluteFilePath[] { return compact([landingPage?.absolutePath, ...getAllPagesFromNavigationConfig(navigation)]); } -function getAllPagesFromNavigationConfig(navigation: DocsNavigationConfiguration): AbsoluteFilePath[] { +function getAllPagesFromNavigationConfig(navigation: docsYml.DocsNavigationConfiguration): AbsoluteFilePath[] { switch (navigation.type) { case "tabbed": return navigation.items.flatMap((tab) => { @@ -92,7 +88,7 @@ function getAllPagesFromNavigationConfig(navigation: DocsNavigationConfiguration } } -export function getAllPagesFromNavigationItem({ item }: { item: DocsNavigationItem }): AbsoluteFilePath[] { +export function getAllPagesFromNavigationItem({ item }: { item: docsYml.DocsNavigationItem }): AbsoluteFilePath[] { switch (item.type) { case "apiSection": return compact([ @@ -119,11 +115,11 @@ export function getAllPagesFromNavigationItem({ item }: { item: DocsNavigationIt } } -// function combineMaps(maps: Record[]) { -// return maps.reduce((acc, record) => ({ ...acc, ...record }), {}); -// } - -function getAllPagesFromApiReferenceLayoutItem({ item }: { item: ParsedApiReferenceLayoutItem }): AbsoluteFilePath[] { +function getAllPagesFromApiReferenceLayoutItem({ + item +}: { + item: docsYml.ParsedApiReferenceLayoutItem; +}): AbsoluteFilePath[] { if (item.type === "page") { return [item.absolutePath]; } else if (item.type === "package" || item.type === "section") { diff --git a/packages/cli/configuration/src/docs-yml/getReferencedApiSections.ts b/packages/cli/configuration-loader/src/docs-yml/getReferencedApiSections.ts similarity index 87% rename from packages/cli/configuration/src/docs-yml/getReferencedApiSections.ts rename to packages/cli/configuration-loader/src/docs-yml/getReferencedApiSections.ts index 1c2e01991df..d756be0c340 100644 --- a/packages/cli/configuration/src/docs-yml/getReferencedApiSections.ts +++ b/packages/cli/configuration-loader/src/docs-yml/getReferencedApiSections.ts @@ -1,10 +1,5 @@ import { assertNever } from "@fern-api/core-utils"; -import { - DocsNavigationItem, - ParsedDocsConfiguration, - TabbedDocsNavigation, - UntabbedDocsNavigation -} from "./ParsedDocsConfiguration"; +import { docsYml } from "@fern-api/configuration"; export type ReferencedApisResponse = DefaultAPIReferenced | NamedAPIReferenced; @@ -23,7 +18,7 @@ export interface NamedAPIReferenced { apiNames: string[]; } -export function getReferencedApiSections(config: ParsedDocsConfiguration): ReferencedApisResponse | undefined { +export function getReferencedApiSections(config: docsYml.ParsedDocsConfiguration): ReferencedApisResponse | undefined { const collector = new ApiSectionCollector(); switch (config.navigation.type) { case "tabbed": @@ -45,7 +40,7 @@ export function visitNavigation({ navigation, collector }: { - navigation: UntabbedDocsNavigation | TabbedDocsNavigation; + navigation: docsYml.UntabbedDocsNavigation | docsYml.TabbedDocsNavigation; collector: ApiSectionCollector; }): void { switch (navigation.type) { @@ -72,7 +67,7 @@ export function visitDocsNavigationItem({ item, collector }: { - item: DocsNavigationItem; + item: docsYml.DocsNavigationItem; collector: ApiSectionCollector; }): void { switch (item.type) { @@ -97,7 +92,7 @@ class ApiSectionCollector { private namedApis: Set = new Set(); private defaultApi = false; - collect(section: DocsNavigationItem.ApiSection): void { + collect(section: docsYml.DocsNavigationItem.ApiSection): void { if (section.apiName != null) { this.namedApis.add(section.apiName); } else { diff --git a/packages/cli/configuration-loader/src/docs-yml/index.ts b/packages/cli/configuration-loader/src/docs-yml/index.ts new file mode 100644 index 00000000000..d686cfe8612 --- /dev/null +++ b/packages/cli/configuration-loader/src/docs-yml/index.ts @@ -0,0 +1,3 @@ +export { getColorFromRawConfig, getColorType } from "./convertColorsConfiguration"; +export { getReferencedApiSections } from "./getReferencedApiSections"; +export { parseDocsConfiguration, resolveFilepath } from "./parseDocsConfiguration"; diff --git a/packages/cli/configuration/src/docs-yml/parseDocsConfiguration.ts b/packages/cli/configuration-loader/src/docs-yml/parseDocsConfiguration.ts similarity index 87% rename from packages/cli/configuration/src/docs-yml/parseDocsConfiguration.ts rename to packages/cli/configuration-loader/src/docs-yml/parseDocsConfiguration.ts index a227349b912..827b96bfbba 100644 --- a/packages/cli/configuration/src/docs-yml/parseDocsConfiguration.ts +++ b/packages/cli/configuration-loader/src/docs-yml/parseDocsConfiguration.ts @@ -4,27 +4,10 @@ import { TaskContext } from "@fern-api/task-context"; import { FernRegistry as CjsFdrSdk } from "@fern-fern/fdr-cjs-sdk"; import { readFile } from "fs/promises"; import yaml from "js-yaml"; -import { Audiences } from "../commons/Audiences"; import { WithoutQuestionMarks } from "../commons/WithoutQuestionMarks"; import { convertColorsConfiguration } from "./convertColorsConfiguration"; import { getAllPages, loadAllPages } from "./getAllPages"; -import { - AbsoluteJsFileConfig, - DocsNavigationConfiguration, - DocsNavigationItem, - FilepathOrUrl, - FontConfig, - JavascriptConfig, - ParsedApiReferenceLayoutItem, - ParsedDocsConfiguration, - ParsedMetadataConfig, - TabbedDocsNavigation, - TabbedNavigation, - TypographyConfig, - UntabbedDocsNavigation, - VersionInfo -} from "./ParsedDocsConfiguration"; -import { FernDocsConfig as RawDocs, NavigationConfig, Serializer, VersionConfig } from "./schemas"; +import { docsYml } from "@fern-api/configuration"; export async function parseDocsConfiguration({ rawDocsConfiguration, @@ -32,11 +15,11 @@ export async function parseDocsConfiguration({ absoluteFilepathToDocsConfig, context }: { - rawDocsConfiguration: RawDocs.DocsConfiguration; + rawDocsConfiguration: docsYml.RawSchemas.DocsConfiguration; absolutePathToFernFolder: AbsoluteFilePath; absoluteFilepathToDocsConfig: AbsoluteFilePath; context: TaskContext; -}): Promise> { +}): Promise> { const { instances, title, @@ -195,9 +178,9 @@ export async function parseDocsConfiguration({ } function convertLogoReference( - rawLogo: RawDocs.LogoConfiguration | undefined, + rawLogo: docsYml.RawSchemas.LogoConfiguration | undefined, absoluteFilepathToDocsConfig: AbsoluteFilePath -): ParsedDocsConfiguration["logo"] { +): docsYml.ParsedDocsConfiguration["logo"] { return rawLogo != null ? { dark: resolveFilepath(rawLogo.dark, absoluteFilepathToDocsConfig), @@ -209,9 +192,9 @@ function convertLogoReference( } function convertBackgroundImage( - rawBackgroundImage: RawDocs.BackgroundImageConfiguration | undefined, + rawBackgroundImage: docsYml.RawSchemas.BackgroundImageConfiguration | undefined, absoluteFilepathToDocsConfig: AbsoluteFilePath -): ParsedDocsConfiguration["backgroundImage"] { +): docsYml.ParsedDocsConfiguration["backgroundImage"] { if (rawBackgroundImage == null) { return undefined; } else if (typeof rawBackgroundImage === "string") { @@ -227,9 +210,9 @@ function convertBackgroundImage( } async function convertCssConfig( - css: RawDocs.CssConfig | undefined, + css: docsYml.RawSchemas.CssConfig | undefined, absoluteFilepathToDocsConfig: AbsoluteFilePath -): Promise { +): Promise { if (css == null) { return undefined; } @@ -245,23 +228,23 @@ async function convertCssConfig( } function isRemoteJsConfig( - config: RawDocs.JsRemoteConfig | RawDocs.JsFileConfigSettings -): config is RawDocs.JsRemoteConfig { + config: docsYml.RawSchemas.JsRemoteConfig | docsYml.RawSchemas.JsFileConfigSettings +): config is docsYml.RawSchemas.JsRemoteConfig { return Object.hasOwn(config, "url"); } function isFileJsConfig( - config: RawDocs.JsRemoteConfig | RawDocs.JsFileConfigSettings -): config is RawDocs.JsFileConfigSettings { + config: docsYml.RawSchemas.JsRemoteConfig | docsYml.RawSchemas.JsFileConfigSettings +): config is docsYml.RawSchemas.JsFileConfigSettings { return Object.hasOwn(config, "path"); } async function convertJsConfig( - js: RawDocs.JsConfig | undefined, + js: docsYml.RawSchemas.JsConfig | undefined, absoluteFilepathToDocsConfig: AbsoluteFilePath -): Promise { +): Promise { const remote: CjsFdrSdk.docs.v1.commons.JsRemoteConfig[] = []; - const files: AbsoluteJsFileConfig[] = []; + const files: docsYml.AbsoluteJsFileConfig[] = []; if (js == null) { return { files: [] }; } @@ -289,7 +272,9 @@ async function convertJsConfig( return { remote, files }; } -function convertLayoutConfig(layout: RawDocs.LayoutConfig | undefined): ParsedDocsConfiguration["layout"] { +function convertLayoutConfig( + layout: docsYml.RawSchemas.LayoutConfig | undefined +): docsYml.ParsedDocsConfiguration["layout"] { if (layout == null) { return undefined; } @@ -357,13 +342,13 @@ async function getNavigationConfiguration({ absolutePathToConfig, context }: { - tabs?: Record; - versions?: VersionConfig[]; - navigation?: NavigationConfig; + tabs?: Record; + versions?: docsYml.RawSchemas.VersionConfig[]; + navigation?: docsYml.RawSchemas.NavigationConfig; absolutePathToFernFolder: AbsoluteFilePath; absolutePathToConfig: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { if (navigation != null) { return await convertNavigationConfiguration({ tabs, @@ -373,11 +358,11 @@ async function getNavigationConfiguration({ context }); } else if (versions != null) { - const versionedNavbars: VersionInfo[] = []; + const versionedNavbars: docsYml.VersionInfo[] = []; for (const version of versions) { const absoluteFilepathToVersionFile = resolve(absolutePathToFernFolder, version.path); const content = yaml.load((await readFile(absoluteFilepathToVersionFile)).toString()); - const result = await Serializer.VersionFileConfig.parseOrThrow(content); + const result = await docsYml.RawSchemas.Serializer.VersionFileConfig.parseOrThrow(content); const navigation = await convertNavigationConfiguration({ tabs: result.tabs, rawNavigationConfig: result.navigation, @@ -407,9 +392,9 @@ async function convertTypographyConfiguration({ rawTypography, absoluteFilepathToDocsConfig }: { - rawTypography: RawDocs.DocsTypographyConfig; + rawTypography: docsYml.RawSchemas.DocsTypographyConfig; absoluteFilepathToDocsConfig: AbsoluteFilePath; -}): Promise { +}): Promise { return { headingsFont: rawTypography.headingsFont != null @@ -439,9 +424,9 @@ async function convertFontConfig({ rawFontConfig, absoluteFilepathToDocsConfig }: { - rawFontConfig: RawDocs.FontConfig; + rawFontConfig: docsYml.RawSchemas.FontConfig; absoluteFilepathToDocsConfig: AbsoluteFilePath; -}): Promise { +}): Promise { return { name: rawFontConfig.name, variants: await constructVariants(rawFontConfig, absoluteFilepathToDocsConfig), @@ -452,10 +437,10 @@ async function convertFontConfig({ } function constructVariants( - rawFontConfig: RawDocs.FontConfig, + rawFontConfig: docsYml.RawSchemas.FontConfig, absoluteFilepathToDocsConfig: AbsoluteFilePath -): Promise { - const variants: RawDocs.FontConfigVariant[] = []; +): Promise { + const variants: docsYml.RawSchemas.FontConfigVariant[] = []; if (rawFontConfig.path != null) { variants.push({ @@ -515,12 +500,12 @@ async function convertNavigationTabConfiguration({ absolutePathToConfig, context }: { - tabs: Record; - item: RawDocs.TabbedNavigationItem; + tabs: Record; + item: docsYml.RawSchemas.TabbedNavigationItem; absolutePathToFernFolder: AbsoluteFilePath; absolutePathToConfig: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { const tab = tabs[item.tab]; if (tab == null) { throw new Error(`Tab ${item.tab} is not defined in the tabs config.`); @@ -589,12 +574,12 @@ async function convertNavigationConfiguration({ absolutePathToConfig, context }: { - tabs?: Record; - rawNavigationConfig: RawDocs.NavigationConfig; + tabs?: Record; + rawNavigationConfig: docsYml.RawSchemas.NavigationConfig; absolutePathToFernFolder: AbsoluteFilePath; absolutePathToConfig: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { if (isTabbedNavigationConfig(rawNavigationConfig)) { const tabbedNavigationItems = await Promise.all( rawNavigationConfig.map((item) => @@ -631,11 +616,11 @@ async function convertNavigationItem({ absolutePathToConfig, context }: { - rawConfig: RawDocs.NavigationItem; + rawConfig: docsYml.RawSchemas.NavigationItem; absolutePathToFernFolder: AbsoluteFilePath; absolutePathToConfig: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { if (isRawPageConfig(rawConfig)) { return parsePageConfig(rawConfig, absolutePathToConfig); } @@ -709,17 +694,17 @@ async function convertNavigationItem({ } function parsePageConfig( - item: RawDocs.PageConfiguration, + item: docsYml.RawSchemas.PageConfiguration, absolutePathToConfig: AbsoluteFilePath -): DocsNavigationItem.Page; +): docsYml.DocsNavigationItem.Page; function parsePageConfig( - item: RawDocs.PageConfiguration | undefined, + item: docsYml.RawSchemas.PageConfiguration | undefined, absolutePathToConfig: AbsoluteFilePath -): DocsNavigationItem.Page | undefined; +): docsYml.DocsNavigationItem.Page | undefined; function parsePageConfig( - item: RawDocs.PageConfiguration | undefined, + item: docsYml.RawSchemas.PageConfiguration | undefined, absolutePathToConfig: AbsoluteFilePath -): DocsNavigationItem.Page | undefined { +): docsYml.DocsNavigationItem.Page | undefined { if (item == null) { return undefined; } @@ -738,9 +723,9 @@ function parsePageConfig( } function parseApiReferenceLayoutItem( - item: RawDocs.ApiReferenceLayoutItem, + item: docsYml.RawSchemas.ApiReferenceLayoutItem, absolutePathToConfig: AbsoluteFilePath -): ParsedApiReferenceLayoutItem[] { +): docsYml.ParsedApiReferenceLayoutItem[] { if (typeof item === "string") { return [{ type: "item", value: item }]; } @@ -790,7 +775,7 @@ function parseApiReferenceLayoutItem( } ]; } - return Object.entries(item).map(([key, value]): ParsedApiReferenceLayoutItem.Package => { + return Object.entries(item).map(([key, value]): docsYml.ParsedApiReferenceLayoutItem.Package => { if (isRawApiRefPackageConfiguration(value)) { return { type: "package", @@ -828,8 +813,8 @@ function parseApiReferenceLayoutItem( function convertSnippetsConfiguration({ rawConfig }: { - rawConfig: RawDocs.SnippetsConfiguration; -}): DocsNavigationItem.SnippetsConfiguration { + rawConfig: docsYml.RawSchemas.SnippetsConfiguration; +}): docsYml.DocsNavigationItem.SnippetsConfiguration { return { python: rawConfig.python, typescript: rawConfig.typescript, @@ -839,41 +824,43 @@ function convertSnippetsConfiguration({ }; } -function isRawPageConfig(item: unknown): item is RawDocs.PageConfiguration { +function isRawPageConfig(item: unknown): item is docsYml.RawSchemas.PageConfiguration { return isPlainObject(item) && typeof item.page === "string" && typeof item.path === "string"; } -function isRawSectionConfig(item: RawDocs.NavigationItem): item is RawDocs.SectionConfiguration { +function isRawSectionConfig(item: docsYml.RawSchemas.NavigationItem): item is docsYml.RawSchemas.SectionConfiguration { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition - return (item as RawDocs.SectionConfiguration).section != null; + return (item as docsYml.RawSchemas.SectionConfiguration).section != null; } -function isRawApiSectionConfig(item: RawDocs.NavigationItem): item is RawDocs.ApiReferenceConfiguration { +function isRawApiSectionConfig( + item: docsYml.RawSchemas.NavigationItem +): item is docsYml.RawSchemas.ApiReferenceConfiguration { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition - return (item as RawDocs.ApiReferenceConfiguration).api != null; + return (item as docsYml.RawSchemas.ApiReferenceConfiguration).api != null; } -function isRawLinkConfig(item: unknown): item is RawDocs.LinkConfiguration { +function isRawLinkConfig(item: unknown): item is docsYml.RawSchemas.LinkConfiguration { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition - RawDocs; + docsYml.RawSchemas; return isPlainObject(item) && typeof item.link === "string" && typeof item.href === "string"; } -function isRawChangelogConfig(item: unknown): item is RawDocs.ChangelogConfiguration { +function isRawChangelogConfig(item: unknown): item is docsYml.RawSchemas.ChangelogConfiguration { return isPlainObject(item) && typeof item.changelog === "string"; } -function isRawApiRefSectionConfiguration(item: unknown): item is RawDocs.ApiReferenceSectionConfiguration { +function isRawApiRefSectionConfiguration(item: unknown): item is docsYml.RawSchemas.ApiReferenceSectionConfiguration { return isPlainObject(item) && typeof item.section === "string" && Array.isArray(item.contents); } -function isRawApiRefEndpointConfiguration(item: unknown): item is RawDocs.ApiReferenceEndpointConfiguration { +function isRawApiRefEndpointConfiguration(item: unknown): item is docsYml.RawSchemas.ApiReferenceEndpointConfiguration { return isPlainObject(item) && typeof item.endpoint === "string"; } function isRawApiRefPackageConfiguration( - item: RawDocs.ApiReferencePackageConfiguration -): item is RawDocs.ApiReferencePackageConfigurationWithOptions { + item: docsYml.RawSchemas.ApiReferencePackageConfiguration +): item is docsYml.RawSchemas.ApiReferencePackageConfigurationWithOptions { return !Array.isArray(item); } @@ -893,18 +880,18 @@ export function resolveFilepath( } function isTabbedNavigationConfig( - navigationConfig: RawDocs.NavigationConfig -): navigationConfig is RawDocs.TabbedNavigationConfig { + navigationConfig: docsYml.RawSchemas.NavigationConfig +): navigationConfig is docsYml.RawSchemas.TabbedNavigationConfig { return ( Array.isArray(navigationConfig) && navigationConfig.length > 0 && // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition - (navigationConfig[0] as RawDocs.TabbedNavigationItem).tab != null + (navigationConfig[0] as docsYml.RawSchemas.TabbedNavigationItem).tab != null ); } function convertNavbarLinks( - navbarLinks: RawDocs.NavbarLink[] | undefined + navbarLinks: docsYml.RawSchemas.NavbarLink[] | undefined ): CjsFdrSdk.docs.v1.commons.NavbarLink[] | undefined { return navbarLinks?.map((navbarLink): WithoutQuestionMarks => { if (navbarLink.type === "github") { @@ -923,7 +910,7 @@ function convertNavbarLinks( } function convertFooterLinks( - footerLinks: RawDocs.FooterLinksConfig | undefined + footerLinks: docsYml.RawSchemas.FooterLinksConfig | undefined ): CjsFdrSdk.docs.v1.commons.FooterLink[] | undefined { if (footerLinks == null) { return undefined; @@ -931,7 +918,7 @@ function convertFooterLinks( const links: CjsFdrSdk.docs.v1.commons.FooterLink[] = []; - (Object.keys(footerLinks) as (keyof RawDocs.FooterLinksConfig)[]).forEach((key) => { + (Object.keys(footerLinks) as (keyof docsYml.RawSchemas.FooterLinksConfig)[]).forEach((key) => { const link = footerLinks[key]; if (link == null) { return; @@ -947,9 +934,9 @@ function convertFooterLinks( } async function convertMetadata( - metadata: RawDocs.MetadataConfig | undefined, + metadata: docsYml.RawSchemas.MetadataConfig | undefined, absoluteFilepathToDocsConfig: AbsoluteFilePath -): Promise { +): Promise { if (metadata == null) { return undefined; } @@ -979,7 +966,7 @@ async function convertMetadata( async function convertFilepathOrUrl( value: string | undefined, absoluteFilepathToDocsConfig: AbsoluteFilePath -): Promise { +): Promise { if (value == null) { return undefined; } diff --git a/packages/cli/configuration-loader/src/fern-config-json/index.ts b/packages/cli/configuration-loader/src/fern-config-json/index.ts new file mode 100644 index 00000000000..7216bd5c68d --- /dev/null +++ b/packages/cli/configuration-loader/src/fern-config-json/index.ts @@ -0,0 +1 @@ +export * from "./loadProjectConfig"; diff --git a/packages/cli/configuration/src/fern-config-json/loadProjectConfig.ts b/packages/cli/configuration-loader/src/fern-config-json/loadProjectConfig.ts similarity index 81% rename from packages/cli/configuration/src/fern-config-json/loadProjectConfig.ts rename to packages/cli/configuration-loader/src/fern-config-json/loadProjectConfig.ts index 470f6100acb..baab4703eae 100644 --- a/packages/cli/configuration/src/fern-config-json/loadProjectConfig.ts +++ b/packages/cli/configuration-loader/src/fern-config-json/loadProjectConfig.ts @@ -2,25 +2,18 @@ import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { readFile } from "fs/promises"; import { validateSchema } from "../commons/validateSchema"; -import { PROJECT_CONFIG_FILENAME } from "../constants"; +import { PROJECT_CONFIG_FILENAME } from "@fern-api/configuration"; +import { fernConfigJson } from "@fern-api/configuration"; import { ProjectConfigSchema } from "./schema/ProjectConfigSchema"; -export interface ProjectConfig { - _absolutePath: AbsoluteFilePath; - rawConfig: ProjectConfigSchema; - organization: string; - version: string; -} - export async function loadProjectConfig({ directory, context }: { directory: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { const pathToConfig = join(directory, RelativeFilePath.of(PROJECT_CONFIG_FILENAME)); - const projectConfigStr = await readFile(pathToConfig); const projectConfigParsed = JSON.parse(projectConfigStr.toString()) as unknown; const rawProjectConfig = await validateSchema({ diff --git a/packages/cli/configuration-loader/src/fern-config-json/schema/ProjectConfigSchema.ts b/packages/cli/configuration-loader/src/fern-config-json/schema/ProjectConfigSchema.ts new file mode 100644 index 00000000000..4dd10cd60f5 --- /dev/null +++ b/packages/cli/configuration-loader/src/fern-config-json/schema/ProjectConfigSchema.ts @@ -0,0 +1,8 @@ +import { z } from "zod"; + +export const ProjectConfigSchema = z.strictObject({ + organization: z.string(), + version: z.string() +}); + +export type ProjectConfigSchema = z.infer; diff --git a/packages/cli/configuration/src/generators-yml/GeneratorName.ts b/packages/cli/configuration-loader/src/generators-yml/GeneratorName.ts similarity index 100% rename from packages/cli/configuration/src/generators-yml/GeneratorName.ts rename to packages/cli/configuration-loader/src/generators-yml/GeneratorName.ts diff --git a/packages/cli/configuration/src/generators-yml/__test__/convertGeneratorsConfiguration.test.ts b/packages/cli/configuration-loader/src/generators-yml/__test__/convertGeneratorsConfiguration.test.ts similarity index 100% rename from packages/cli/configuration/src/generators-yml/__test__/convertGeneratorsConfiguration.test.ts rename to packages/cli/configuration-loader/src/generators-yml/__test__/convertGeneratorsConfiguration.test.ts diff --git a/packages/cli/configuration/src/generators-yml/__test__/testdata/LICENSE b/packages/cli/configuration-loader/src/generators-yml/__test__/testdata/LICENSE similarity index 100% rename from packages/cli/configuration/src/generators-yml/__test__/testdata/LICENSE rename to packages/cli/configuration-loader/src/generators-yml/__test__/testdata/LICENSE diff --git a/packages/cli/configuration/src/generators-yml/addGenerator.ts b/packages/cli/configuration-loader/src/generators-yml/addGenerator.ts similarity index 84% rename from packages/cli/configuration/src/generators-yml/addGenerator.ts rename to packages/cli/configuration-loader/src/generators-yml/addGenerator.ts index 2e777cdcb54..9baa9bfbc77 100644 --- a/packages/cli/configuration/src/generators-yml/addGenerator.ts +++ b/packages/cli/configuration-loader/src/generators-yml/addGenerator.ts @@ -1,5 +1,6 @@ import { TaskContext } from "@fern-api/task-context"; -import { DEFAULT_GROUP_GENERATORS_CONFIG_KEY, GeneratorsConfigurationSchema, updateGeneratorGroup } from "."; +import { DEFAULT_GROUP_GENERATORS_CONFIG_KEY, generatorsYml } from "@fern-api/configuration"; +import { updateGeneratorGroup } from "./updateGeneratorGroup"; import { GENERATOR_INVOCATIONS } from "./generatorInvocations"; import { getGeneratorNameOrThrow } from "./getGeneratorName"; import { getLatestGeneratorVersion } from "./getGeneratorVersions"; @@ -12,11 +13,11 @@ export async function addGenerator({ cliVersion }: { generatorName: string; - generatorsConfiguration: GeneratorsConfigurationSchema; + generatorsConfiguration: generatorsYml.GeneratorsConfigurationSchema; groupName: string | undefined; context: TaskContext; cliVersion: string; -}): Promise { +}): Promise { const normalizedGeneratorName = getGeneratorNameOrThrow(generatorName, context); const invocation = GENERATOR_INVOCATIONS[normalizedGeneratorName]; diff --git a/packages/cli/configuration/src/generators-yml/convertGeneratorsConfiguration.ts b/packages/cli/configuration-loader/src/generators-yml/convertGeneratorsConfiguration.ts similarity index 88% rename from packages/cli/configuration/src/generators-yml/convertGeneratorsConfiguration.ts rename to packages/cli/configuration-loader/src/generators-yml/convertGeneratorsConfiguration.ts index a45f9e456a8..fd6759fa764 100644 --- a/packages/cli/configuration/src/generators-yml/convertGeneratorsConfiguration.ts +++ b/packages/cli/configuration-loader/src/generators-yml/convertGeneratorsConfiguration.ts @@ -1,38 +1,10 @@ -import { assertNever, isPlainObject } from "@fern-api/core-utils"; +import { assertNever } from "@fern-api/core-utils"; import { AbsoluteFilePath, dirname, join, RelativeFilePath, resolve } from "@fern-api/fs-utils"; import { FernFiddle } from "@fern-fern/fiddle-sdk"; import { GithubPullRequestReviewer, OutputMetadata, PublishingMetadata, PypiMetadata } from "@fern-fern/fiddle-sdk/api"; import { readFile } from "fs/promises"; import path from "path"; -import { - APIDefinition, - APIDefinitionLocation, - GenerationLanguage, - GeneratorGroup, - GeneratorInvocation, - GeneratorsConfiguration -} from "./GeneratorsConfiguration"; -import { isRawProtobufAPIDefinitionSchema } from "./isRawProtobufAPIDefinitionSchema"; -import { ApiConfigurationSchemaInternal, ApiConfigurationV2Schema } from "./schemas"; -import { GeneratorGroupSchema } from "./schemas"; -import { GeneratorInvocationSchema } from "./schemas"; -import { GeneratorOutputSchema } from "./schemas"; -import { isApiConfigurationV2Schema, isConjureSchema, isNamespacedApiConfiguration, isOpenAPISchema } from "./utils"; -import { - API_ORIGIN_LOCATION_KEY, - API_SETTINGS_KEY, - ASYNC_API_LOCATION_KEY, - GeneratorsConfigurationSchema, - OPENAPI_LOCATION_KEY, - OPENAPI_OVERRIDES_LOCATION_KEY -} from "./schemas"; -import { GithubLicenseSchema } from "./schemas"; -import { GithubPullRequestSchema } from "./schemas"; -import { MavenOutputLocationSchema } from "./schemas"; -import { OutputMetadataSchema } from "./schemas"; -import { PypiOutputMetadataSchema } from "./schemas"; -import { ReadmeSchema } from "./schemas"; -import { ReviewersSchema } from "./schemas"; +import { generatorsYml } from "@fern-api/configuration"; import { visitRawApiAuth } from "@fern-api/fern-definition-schema"; export async function convertGeneratorsConfiguration({ @@ -40,8 +12,8 @@ export async function convertGeneratorsConfiguration({ rawGeneratorsConfiguration }: { absolutePathToGeneratorsConfiguration: AbsoluteFilePath; - rawGeneratorsConfiguration: GeneratorsConfigurationSchema; -}): Promise { + rawGeneratorsConfiguration: generatorsYml.GeneratorsConfigurationSchema; +}): Promise { const maybeTopLevelMetadata = getOutputMetadata(rawGeneratorsConfiguration.metadata); const readme = rawGeneratorsConfiguration.readme; const parsedApiConfiguration = await parseAPIConfiguration(rawGeneratorsConfiguration); @@ -76,10 +48,10 @@ export async function convertGeneratorsConfiguration({ } async function parseAPIConfigurationToApiLocations( - apiConfiguration: ApiConfigurationSchemaInternal | undefined, - rawConfiguration: GeneratorsConfigurationSchema -): Promise { - const apiDefinitions: APIDefinitionLocation[] = []; + apiConfiguration: generatorsYml.ApiConfigurationSchemaInternal | undefined, + rawConfiguration: generatorsYml.GeneratorsConfigurationSchema +): Promise { + const apiDefinitions: generatorsYml.APIDefinitionLocation[] = []; if (apiConfiguration != null) { if (typeof apiConfiguration === "string") { @@ -103,7 +75,7 @@ async function parseAPIConfigurationToApiLocations( inlinePathParameters: undefined } }); - } else if (isRawProtobufAPIDefinitionSchema(apiConfiguration)) { + } else if (generatorsYml.isRawProtobufAPIDefinitionSchema(apiConfiguration)) { apiDefinitions.push({ schema: { type: "protobuf", @@ -149,7 +121,7 @@ async function parseAPIConfigurationToApiLocations( inlinePathParameters: undefined } }); - } else if (isRawProtobufAPIDefinitionSchema(definition)) { + } else if (generatorsYml.isRawProtobufAPIDefinitionSchema(definition)) { apiDefinitions.push({ schema: { type: "protobuf", @@ -218,11 +190,11 @@ async function parseAPIConfigurationToApiLocations( }); } } else { - const openapi = rawConfiguration[OPENAPI_LOCATION_KEY]; - const apiOrigin = rawConfiguration[API_ORIGIN_LOCATION_KEY]; - const openapiOverrides = rawConfiguration[OPENAPI_OVERRIDES_LOCATION_KEY]; - const asyncapi = rawConfiguration[ASYNC_API_LOCATION_KEY]; - const settings = rawConfiguration[API_SETTINGS_KEY]; + const openapi = rawConfiguration[generatorsYml.OPENAPI_LOCATION_KEY]; + const apiOrigin = rawConfiguration[generatorsYml.API_ORIGIN_LOCATION_KEY]; + const openapiOverrides = rawConfiguration[generatorsYml.OPENAPI_OVERRIDES_LOCATION_KEY]; + const asyncapi = rawConfiguration[generatorsYml.ASYNC_API_LOCATION_KEY]; + const settings = rawConfiguration[generatorsYml.API_SETTINGS_KEY]; if (openapi != null && typeof openapi === "string") { apiDefinitions.push({ schema: { @@ -298,9 +270,9 @@ async function parseApiConfigurationV2Schema({ apiConfiguration, rawConfiguration }: { - apiConfiguration: ApiConfigurationV2Schema; - rawConfiguration: GeneratorsConfigurationSchema; -}): Promise { + apiConfiguration: generatorsYml.ApiConfigurationV2Schema; + rawConfiguration: generatorsYml.GeneratorsConfigurationSchema; +}): Promise { const partialConfig = { "auth-schemes": apiConfiguration.auth != null @@ -323,7 +295,7 @@ async function parseApiConfigurationV2Schema({ ...apiConfiguration }; - if (isConjureSchema(apiConfiguration.specs)) { + if (generatorsYml.isConjureSchema(apiConfiguration.specs)) { return { type: "conjure", pathToConjureDefinition: apiConfiguration.specs.conjure, @@ -331,12 +303,12 @@ async function parseApiConfigurationV2Schema({ }; } - const rootDefinitions: APIDefinitionLocation[] = []; - const namespacedDefinitions: Record = {}; + const rootDefinitions: generatorsYml.APIDefinitionLocation[] = []; + const namespacedDefinitions: Record = {}; for (const spec of apiConfiguration.specs ?? []) { - if (isOpenAPISchema(spec)) { - const definitionLocation: APIDefinitionLocation = { + if (generatorsYml.isOpenAPISchema(spec)) { + const definitionLocation: generatorsYml.APIDefinitionLocation = { schema: { type: "oss", path: spec.openapi @@ -384,16 +356,16 @@ async function parseApiConfigurationV2Schema({ } async function parseAPIConfiguration( - rawGeneratorsConfiguration: GeneratorsConfigurationSchema -): Promise { + rawGeneratorsConfiguration: generatorsYml.GeneratorsConfigurationSchema +): Promise { const apiConfiguration = rawGeneratorsConfiguration.api; - if (apiConfiguration != null && isApiConfigurationV2Schema(apiConfiguration)) { + if (apiConfiguration != null && generatorsYml.isApiConfigurationV2Schema(apiConfiguration)) { return parseApiConfigurationV2Schema({ apiConfiguration, rawConfiguration: rawGeneratorsConfiguration }); } - if (apiConfiguration != null && isNamespacedApiConfiguration(apiConfiguration)) { - const namespacedDefinitions: Record = {}; + if (apiConfiguration != null && generatorsYml.isNamespacedApiConfiguration(apiConfiguration)) { + const namespacedDefinitions: Record = {}; for (const [namespace, configuration] of Object.entries(apiConfiguration.namespaces)) { namespacedDefinitions[namespace] = await parseAPIConfigurationToApiLocations( configuration, @@ -423,11 +395,11 @@ async function convertGroup({ }: { absolutePathToGeneratorsConfiguration: AbsoluteFilePath; groupName: string; - group: GeneratorGroupSchema; + group: generatorsYml.GeneratorGroupSchema; maybeTopLevelMetadata: OutputMetadata | undefined; - maybeTopLevelReviewers: ReviewersSchema | undefined; - readme: ReadmeSchema | undefined; -}): Promise { + maybeTopLevelReviewers: generatorsYml.ReviewersSchema | undefined; + readme: generatorsYml.ReadmeSchema | undefined; +}): Promise { const maybeGroupLevelMetadata = getOutputMetadata(group.metadata); return { groupName, @@ -459,13 +431,13 @@ async function convertGenerator({ readme }: { absolutePathToGeneratorsConfiguration: AbsoluteFilePath; - generator: GeneratorInvocationSchema; + generator: generatorsYml.GeneratorInvocationSchema; maybeGroupLevelMetadata: OutputMetadata | undefined; maybeTopLevelMetadata: OutputMetadata | undefined; - maybeGroupLevelReviewers: ReviewersSchema | undefined; - maybeTopLevelReviewers: ReviewersSchema | undefined; - readme: ReadmeSchema | undefined; -}): Promise { + maybeGroupLevelReviewers: generatorsYml.ReviewersSchema | undefined; + maybeTopLevelReviewers: generatorsYml.ReviewersSchema | undefined; + readme: generatorsYml.ReadmeSchema | undefined; +}): Promise { return { raw: generator, name: generator.name, @@ -501,7 +473,7 @@ async function convertGenerator({ function getPublishMetadata({ generatorInvocation }: { - generatorInvocation: GeneratorInvocationSchema; + generatorInvocation: generatorsYml.GeneratorInvocationSchema; }): PublishingMetadata | undefined { const publishMetadata = generatorInvocation["publish-metadata"]; if (publishMetadata != null) { @@ -527,7 +499,7 @@ function _getPypiMetadata({ maybeGroupLevelMetadata, maybeTopLevelMetadata }: { - pypiOutputMetadata: PypiOutputMetadataSchema | undefined; + pypiOutputMetadata: generatorsYml.PypiOutputMetadataSchema | undefined; maybeGroupLevelMetadata: OutputMetadata | undefined; maybeTopLevelMetadata: OutputMetadata | undefined; }): PypiMetadata | undefined { @@ -544,9 +516,9 @@ function _getReviewers({ groupLevelReviewers, outputModeReviewers }: { - topLevelReviewers: ReviewersSchema | undefined; - groupLevelReviewers: ReviewersSchema | undefined; - outputModeReviewers: ReviewersSchema | undefined; + topLevelReviewers: generatorsYml.ReviewersSchema | undefined; + groupLevelReviewers: generatorsYml.ReviewersSchema | undefined; + outputModeReviewers: generatorsYml.ReviewersSchema | undefined; }): GithubPullRequestReviewer[] { const teamNames = new Set(); const userNames = new Set(); @@ -590,11 +562,11 @@ async function convertOutputMode({ maybeTopLevelReviewers }: { absolutePathToGeneratorsConfiguration: AbsoluteFilePath; - generator: GeneratorInvocationSchema; + generator: generatorsYml.GeneratorInvocationSchema; maybeGroupLevelMetadata: OutputMetadata | undefined; maybeTopLevelMetadata: OutputMetadata | undefined; - maybeGroupLevelReviewers: ReviewersSchema | undefined; - maybeTopLevelReviewers: ReviewersSchema | undefined; + maybeGroupLevelReviewers: generatorsYml.ReviewersSchema | undefined; + maybeTopLevelReviewers: generatorsYml.ReviewersSchema | undefined; }): Promise { const downloadSnippets = generator.snippets != null && generator.snippets.path !== ""; if (generator.github != null) { @@ -630,7 +602,7 @@ async function convertOutputMode({ const reviewers = _getReviewers({ topLevelReviewers: maybeTopLevelReviewers, groupLevelReviewers: maybeGroupLevelReviewers, - outputModeReviewers: (generator.github as GithubPullRequestSchema).reviewers + outputModeReviewers: (generator.github as generatorsYml.GithubPullRequestSchema).reviewers }); return FernFiddle.OutputMode.githubV2( FernFiddle.GithubOutputModeV2.pullRequest({ @@ -744,7 +716,7 @@ async function getGithubLicense({ githubLicense }: { absolutePathToGeneratorsConfiguration: AbsoluteFilePath; - githubLicense: GithubLicenseSchema; + githubLicense: generatorsYml.GithubLicenseSchema; }): Promise { if (typeof githubLicense === "string") { switch (githubLicense) { @@ -771,7 +743,7 @@ async function getGithubLicense({ } function getGithubPublishInfo( - output: GeneratorOutputSchema, + output: generatorsYml.GeneratorOutputSchema, maybeGroupLevelMetadata: OutputMetadata | undefined, maybeTopLevelMetadata: OutputMetadata | undefined ): FernFiddle.GithubPublishInfo { @@ -848,33 +820,33 @@ function getGithubPublishInfo( function getLanguageFromGeneratorName(generatorName: string) { if (generatorName.includes("csharp")) { - return GenerationLanguage.CSHARP; + return generatorsYml.GenerationLanguage.CSHARP; } if (generatorName.includes("go")) { - return GenerationLanguage.GO; + return generatorsYml.GenerationLanguage.GO; } if (generatorName.includes("java") || generatorName.includes("spring")) { - return GenerationLanguage.JAVA; + return generatorsYml.GenerationLanguage.JAVA; } if (generatorName.includes("php")) { - return GenerationLanguage.PHP; + return generatorsYml.GenerationLanguage.PHP; } if (generatorName.includes("python") || generatorName.includes("fastapi") || generatorName.includes("pydantic")) { - return GenerationLanguage.PYTHON; + return generatorsYml.GenerationLanguage.PYTHON; } if (generatorName.includes("ruby")) { - return GenerationLanguage.RUBY; + return generatorsYml.GenerationLanguage.RUBY; } if (generatorName.includes("swift")) { - return GenerationLanguage.SWIFT; + return generatorsYml.GenerationLanguage.SWIFT; } if (generatorName.includes("typescript")) { - return GenerationLanguage.TYPESCRIPT; + return generatorsYml.GenerationLanguage.TYPESCRIPT; } return undefined; } -function getMavenRegistryUrl(maven: MavenOutputLocationSchema) { +function getMavenRegistryUrl(maven: generatorsYml.MavenOutputLocationSchema) { if (maven.url != null) { return maven.url; } @@ -883,7 +855,9 @@ function getMavenRegistryUrl(maven: MavenOutputLocationSchema) { : "https://s01.oss.sonatype.org/content/repositories/releases/"; } -function getGithubLicenseSchema(generator: GeneratorInvocationSchema): GithubLicenseSchema | undefined { +function getGithubLicenseSchema( + generator: generatorsYml.GeneratorInvocationSchema +): generatorsYml.GithubLicenseSchema | undefined { if (generator["publish-metadata"]?.license != null) { return generator["publish-metadata"].license; } else if (generator.metadata?.license != null) { @@ -892,7 +866,7 @@ function getGithubLicenseSchema(generator: GeneratorInvocationSchema): GithubLic return generator.github?.license; } -function getOutputMetadata(metadata: OutputMetadataSchema | undefined): OutputMetadata | undefined { +function getOutputMetadata(metadata: generatorsYml.OutputMetadataSchema | undefined): OutputMetadata | undefined { return metadata != null ? { description: metadata.description, @@ -901,7 +875,7 @@ function getOutputMetadata(metadata: OutputMetadataSchema | undefined): OutputMe : undefined; } -function getPyPiMetadata(metadata: PypiOutputMetadataSchema | undefined): PypiMetadata | undefined { +function getPyPiMetadata(metadata: generatorsYml.PypiOutputMetadataSchema | undefined): PypiMetadata | undefined { return metadata != null ? { description: metadata.description, diff --git a/packages/cli/configuration/src/generators-yml/generatorInvocations.ts b/packages/cli/configuration-loader/src/generators-yml/generatorInvocations.ts similarity index 95% rename from packages/cli/configuration/src/generators-yml/generatorInvocations.ts rename to packages/cli/configuration-loader/src/generators-yml/generatorInvocations.ts index 50853a218e1..68de74472a9 100644 --- a/packages/cli/configuration/src/generators-yml/generatorInvocations.ts +++ b/packages/cli/configuration-loader/src/generators-yml/generatorInvocations.ts @@ -1,7 +1,7 @@ import { GeneratorName } from "./GeneratorName"; -import { GeneratorInvocationSchema } from "./schemas"; +import { generatorsYml } from "@fern-api/configuration"; -export const GENERATOR_INVOCATIONS: Record> = { +export const GENERATOR_INVOCATIONS: Record> = { [GeneratorName.JAVA]: { version: "1.0.5" }, diff --git a/packages/cli/configuration/src/generators-yml/getGeneratorName.ts b/packages/cli/configuration-loader/src/generators-yml/getGeneratorName.ts similarity index 100% rename from packages/cli/configuration/src/generators-yml/getGeneratorName.ts rename to packages/cli/configuration-loader/src/generators-yml/getGeneratorName.ts diff --git a/packages/cli/configuration/src/generators-yml/getGeneratorVersions.ts b/packages/cli/configuration-loader/src/generators-yml/getGeneratorVersions.ts similarity index 100% rename from packages/cli/configuration/src/generators-yml/getGeneratorVersions.ts rename to packages/cli/configuration-loader/src/generators-yml/getGeneratorVersions.ts diff --git a/packages/cli/configuration-loader/src/generators-yml/index.ts b/packages/cli/configuration-loader/src/generators-yml/index.ts new file mode 100644 index 00000000000..f902a6a20cf --- /dev/null +++ b/packages/cli/configuration-loader/src/generators-yml/index.ts @@ -0,0 +1,11 @@ +export { addGenerator } from "./addGenerator"; +export { GENERATOR_INVOCATIONS } from "./generatorInvocations"; +export { GeneratorName } from "./GeneratorName"; +export { getGeneratorNameOrThrow } from "./getGeneratorName"; +export { getLatestGeneratorVersion } from "./getGeneratorVersions"; +export { + getPathToGeneratorsConfiguration, + loadGeneratorsConfiguration, + loadRawGeneratorsConfiguration +} from "./loadGeneratorsConfiguration"; +export { updateGeneratorGroup } from "./updateGeneratorGroup"; diff --git a/packages/cli/configuration/src/generators-yml/loadGeneratorsConfiguration.ts b/packages/cli/configuration-loader/src/generators-yml/loadGeneratorsConfiguration.ts similarity index 83% rename from packages/cli/configuration/src/generators-yml/loadGeneratorsConfiguration.ts rename to packages/cli/configuration-loader/src/generators-yml/loadGeneratorsConfiguration.ts index 3982a2c86d4..36a975abdfc 100644 --- a/packages/cli/configuration/src/generators-yml/loadGeneratorsConfiguration.ts +++ b/packages/cli/configuration-loader/src/generators-yml/loadGeneratorsConfiguration.ts @@ -3,11 +3,8 @@ import { TaskContext } from "@fern-api/task-context"; import { readFile } from "fs/promises"; import yaml from "js-yaml"; import path from "path"; -import { validateSchema } from "../commons/validateSchema"; -import { GENERATORS_CONFIGURATION_FILENAME } from "../constants"; import { convertGeneratorsConfiguration } from "./convertGeneratorsConfiguration"; -import { GeneratorsConfiguration } from "./GeneratorsConfiguration"; -import { GeneratorsConfigurationSchema, serialization } from "./schemas"; +import { GENERATORS_CONFIGURATION_FILENAME, generatorsYml } from "@fern-api/configuration"; export async function loadRawGeneratorsConfiguration({ absolutePathToWorkspace, @@ -15,7 +12,7 @@ export async function loadRawGeneratorsConfiguration({ }: { absolutePathToWorkspace: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { const filepath = getPathToGeneratorsConfiguration({ absolutePathToWorkspace }); if (!(await doesPathExist(filepath))) { return undefined; @@ -23,7 +20,7 @@ export async function loadRawGeneratorsConfiguration({ const contentsStr = await readFile(filepath); try { const contentsParsed = yaml.load(contentsStr.toString()); - const parsed = serialization.GeneratorsConfigurationSchema.parse(contentsParsed, { + const parsed = generatorsYml.serialization.GeneratorsConfigurationSchema.parse(contentsParsed, { allowUnrecognizedEnumValues: false, unrecognizedObjectKeys: "fail", allowUnrecognizedUnionMembers: false, @@ -52,7 +49,7 @@ export async function loadGeneratorsConfiguration({ }: { absolutePathToWorkspace: AbsoluteFilePath; context: TaskContext; -}): Promise { +}): Promise { const rawGeneratorsConfiguration = await loadRawGeneratorsConfiguration({ absolutePathToWorkspace, context }); if (rawGeneratorsConfiguration == null) { return undefined; diff --git a/packages/cli/configuration/src/generators-yml/updateGeneratorGroup.ts b/packages/cli/configuration-loader/src/generators-yml/updateGeneratorGroup.ts similarity index 61% rename from packages/cli/configuration/src/generators-yml/updateGeneratorGroup.ts rename to packages/cli/configuration-loader/src/generators-yml/updateGeneratorGroup.ts index 656b8dbabff..9bc82f82ef3 100644 --- a/packages/cli/configuration/src/generators-yml/updateGeneratorGroup.ts +++ b/packages/cli/configuration-loader/src/generators-yml/updateGeneratorGroup.ts @@ -1,18 +1,17 @@ import { TaskContext } from "@fern-api/task-context"; -import { GeneratorGroupSchema } from "./schemas"; -import { DEFAULT_GROUP_GENERATORS_CONFIG_KEY, GeneratorsConfigurationSchema } from "./schemas"; +import { generatorsYml } from "@fern-api/configuration"; export async function updateGeneratorGroup({ generatorsConfiguration, - groupName = generatorsConfiguration[DEFAULT_GROUP_GENERATORS_CONFIG_KEY], + groupName = generatorsConfiguration[generatorsYml.DEFAULT_GROUP_GENERATORS_CONFIG_KEY], context, update }: { - generatorsConfiguration: GeneratorsConfigurationSchema; + generatorsConfiguration: generatorsYml.GeneratorsConfigurationSchema; groupName: string | undefined; context: TaskContext; - update: (draft: GeneratorGroupSchema, groupName: string) => Promise; -}): Promise { + update: (draft: generatorsYml.GeneratorGroupSchema, groupName: string) => Promise; +}): Promise { if (groupName == null) { return context.failAndThrow("No group specified."); } diff --git a/packages/cli/configuration/src/getFernDirectory.ts b/packages/cli/configuration-loader/src/getFernDirectory.ts similarity index 89% rename from packages/cli/configuration/src/getFernDirectory.ts rename to packages/cli/configuration-loader/src/getFernDirectory.ts index 05d3a8f2894..14ba8be98af 100644 --- a/packages/cli/configuration/src/getFernDirectory.ts +++ b/packages/cli/configuration-loader/src/getFernDirectory.ts @@ -1,6 +1,6 @@ import { AbsoluteFilePath, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { findUp } from "find-up"; -import { FERN_DIRECTORY, PROJECT_CONFIG_FILENAME } from "./constants"; +import { FERN_DIRECTORY, PROJECT_CONFIG_FILENAME } from "@fern-api/configuration"; export async function getFernDirectory(nameOverride?: string): Promise { const fernDirectoryStr = await findUp(nameOverride ?? FERN_DIRECTORY, { type: "directory" }); diff --git a/packages/cli/configuration-loader/src/index.ts b/packages/cli/configuration-loader/src/index.ts new file mode 100644 index 00000000000..65771874213 --- /dev/null +++ b/packages/cli/configuration-loader/src/index.ts @@ -0,0 +1,13 @@ +export { validateSchema } from "./commons/validateSchema"; +export * from "./commons/WithoutQuestionMarks"; +export { GeneratorName } from "./generators-yml/GeneratorName"; +export * from "./getFernDirectory"; + +export * from "./dependencies-yml"; +export * from "./docs-yml"; +export * from "./fern-config-json"; +export * from "./generators-yml"; + +// Export everything from @fern-api/configuration so that consumers +// can simply use @fern-api/configuration-loader on its own. +export * from "@fern-api/configuration"; diff --git a/packages/cli/configuration-loader/tsconfig.json b/packages/cli/configuration-loader/tsconfig.json new file mode 100644 index 00000000000..43b68a8f56f --- /dev/null +++ b/packages/cli/configuration-loader/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../../shared/tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], + "references": [ + { + "path": "../../commons/core-utils" + }, + { + "path": "../../commons/fs-utils" + }, + { + "path": "../configuration" + }, + { + "path": "../task-context" + }, + { + "path": "../fern-definition/schema" + } + ] +} \ No newline at end of file diff --git a/packages/cli/configuration-loader/vitest.config.ts b/packages/cli/configuration-loader/vitest.config.ts new file mode 100644 index 00000000000..fecc099c58a --- /dev/null +++ b/packages/cli/configuration-loader/vitest.config.ts @@ -0,0 +1 @@ +export { default } from "../../../shared/vitest.config"; diff --git a/packages/cli/configuration/package.json b/packages/cli/configuration/package.json index f3e4375ecb6..470e518a3b4 100644 --- a/packages/cli/configuration/package.json +++ b/packages/cli/configuration/package.json @@ -18,8 +18,8 @@ "scripts": { "clean": "rm -rf ./lib && tsc --build --clean", "compile": "tsc --build", - "test": "vitest --run", - "test:update": "vitest --run -u", + "test": "vitest --passWithNoTests --run", + "test:update": "vitest --passWithNoTests --run -u", "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../.eslintignore", "lint:eslint:fix": "yarn lint:eslint --fix", "format": "prettier --write --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", @@ -29,26 +29,14 @@ }, "dependencies": { "@fern-api/core-utils": "workspace:*", - "@fern-api/fs-utils": "workspace:*", - "@fern-api/task-context": "workspace:*", + "@fern-api/path-utils": "workspace:*", "@fern-api/fern-definition-schema": "workspace:*", "@fern-fern/fdr-cjs-sdk": "0.126.1-444264056", "@fern-fern/fiddle-sdk": "0.0.584", - "@fern-fern/generators-sdk": "0.114.0-5745f9e74", - "find-up": "^6.3.0", - "js-yaml": "^4.1.0", - "lodash-es": "^4.17.21", - "semver": "^7.6.2", - "tinycolor2": "^1.6.0", "zod": "^3.22.3" }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/js-yaml": "^4.0.8", - "@types/lodash-es": "^4.17.12", - "@types/node": "18.7.18", - "@types/semver": "^7.5.8", - "@types/tinycolor2": "^1.4.6", "depcheck": "^1.4.6", "eslint": "^8.56.0", "organize-imports-cli": "^0.10.0", diff --git a/packages/cli/configuration/src/commons/index.ts b/packages/cli/configuration/src/commons/index.ts index ab7a7c26255..6c59b2fd496 100644 --- a/packages/cli/configuration/src/commons/index.ts +++ b/packages/cli/configuration/src/commons/index.ts @@ -1,2 +1 @@ export { combineAudiences, type AllAudiences, type Audiences, type SelectAudiences } from "./Audiences"; -export { validateSchema } from "./validateSchema"; diff --git a/packages/cli/configuration/src/dependencies-yml/DependenciesConfiguration.ts b/packages/cli/configuration/src/dependencies-yml/DependenciesConfiguration.ts index 42302b05f14..a65ef0cd04a 100644 --- a/packages/cli/configuration/src/dependencies-yml/DependenciesConfiguration.ts +++ b/packages/cli/configuration/src/dependencies-yml/DependenciesConfiguration.ts @@ -1,4 +1,4 @@ -import { AbsoluteFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; export interface DependenciesConfiguration { dependencies: Record; diff --git a/packages/cli/configuration/src/dependencies-yml/index.ts b/packages/cli/configuration/src/dependencies-yml/index.ts index 1c0a5d7986d..d8b6ec7e545 100644 --- a/packages/cli/configuration/src/dependencies-yml/index.ts +++ b/packages/cli/configuration/src/dependencies-yml/index.ts @@ -4,4 +4,4 @@ export { type LocalApiDependency, type VersionedDependency } from "./DependenciesConfiguration"; -export { loadDependenciesConfiguration } from "./loadDependenciesConfiguration"; +export { DependenciesConfigurationSchema } from "./schemas/DependenciesConfigurationSchema"; diff --git a/packages/cli/configuration/src/docs-yml/ParsedDocsConfiguration.ts b/packages/cli/configuration/src/docs-yml/ParsedDocsConfiguration.ts index 8c8018b96e8..b35ba41de58 100644 --- a/packages/cli/configuration/src/docs-yml/ParsedDocsConfiguration.ts +++ b/packages/cli/configuration/src/docs-yml/ParsedDocsConfiguration.ts @@ -1,7 +1,9 @@ -import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/path-utils"; import { FernRegistry as CjsFdrSdk } from "@fern-fern/fdr-cjs-sdk"; import { Audiences } from "../commons"; import { DocsInstance, ExperimentalConfig, PlaygroundSettings, VersionAvailability } from "./schemas"; + +// TODO: Update this import import { AnnouncementConfig } from "./schemas/sdk/api/resources/docs/types/AnnouncementConfig"; export interface ParsedDocsConfiguration { diff --git a/packages/cli/configuration/src/docs-yml/index.ts b/packages/cli/configuration/src/docs-yml/index.ts index 7ca9cac888d..2f0db60953a 100644 --- a/packages/cli/configuration/src/docs-yml/index.ts +++ b/packages/cli/configuration/src/docs-yml/index.ts @@ -1,5 +1,2 @@ -export { getColorFromRawConfig, getColorType } from "./convertColorsConfiguration"; -export { getReferencedApiSections } from "./getReferencedApiSections"; export * from "./ParsedDocsConfiguration"; -export { parseDocsConfiguration, resolveFilepath } from "./parseDocsConfiguration"; export * as RawSchemas from "./schemas"; diff --git a/packages/cli/configuration/src/fern-config-json/ProjectConfig.ts b/packages/cli/configuration/src/fern-config-json/ProjectConfig.ts new file mode 100644 index 00000000000..060363180d0 --- /dev/null +++ b/packages/cli/configuration/src/fern-config-json/ProjectConfig.ts @@ -0,0 +1,9 @@ +import { AbsoluteFilePath } from "@fern-api/path-utils"; +import { ProjectConfigSchema } from "./schema/ProjectConfigSchema"; + +export interface ProjectConfig { + _absolutePath: AbsoluteFilePath; + rawConfig: ProjectConfigSchema; + organization: string; + version: string; +} diff --git a/packages/cli/configuration/src/fern-config-json/index.ts b/packages/cli/configuration/src/fern-config-json/index.ts index dc99ed8c4f5..a6250d05ac8 100644 --- a/packages/cli/configuration/src/fern-config-json/index.ts +++ b/packages/cli/configuration/src/fern-config-json/index.ts @@ -1,2 +1,2 @@ -export * from "./loadProjectConfig"; export { ProjectConfigSchema } from "./schema/ProjectConfigSchema"; +export { type ProjectConfig } from "./ProjectConfig"; diff --git a/packages/cli/configuration/src/generators-yml/GeneratorsConfiguration.ts b/packages/cli/configuration/src/generators-yml/GeneratorsConfiguration.ts index 34d3426cdd2..734a2a26ea1 100644 --- a/packages/cli/configuration/src/generators-yml/GeneratorsConfiguration.ts +++ b/packages/cli/configuration/src/generators-yml/GeneratorsConfiguration.ts @@ -1,6 +1,6 @@ import { Values } from "@fern-api/core-utils"; import { RawSchemas } from "@fern-api/fern-definition-schema"; -import { AbsoluteFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; import { FernFiddle } from "@fern-fern/fiddle-sdk"; import { Audiences } from "../commons"; import { ApiDefinitionSettingsSchema } from "./schemas"; diff --git a/packages/cli/configuration/src/generators-yml/index.ts b/packages/cli/configuration/src/generators-yml/index.ts index 320966d17ca..08aa07fca25 100644 --- a/packages/cli/configuration/src/generators-yml/index.ts +++ b/packages/cli/configuration/src/generators-yml/index.ts @@ -1,18 +1,8 @@ export { DEFAULT_GROUP_NAME } from "../constants"; -export { addGenerator } from "./addGenerator"; -export { GENERATOR_INVOCATIONS } from "./generatorInvocations"; -export { GeneratorName } from "./GeneratorName"; export * from "./utils"; export * from "./schemas"; export { GenerationLanguage, getPackageName } from "./GeneratorsConfiguration"; -export { getGeneratorNameOrThrow } from "./getGeneratorName"; -export { getLatestGeneratorVersion } from "./getGeneratorVersions"; export { isRawProtobufAPIDefinitionSchema } from "./isRawProtobufAPIDefinitionSchema"; -export { - getPathToGeneratorsConfiguration, - loadGeneratorsConfiguration, - loadRawGeneratorsConfiguration -} from "./loadGeneratorsConfiguration"; export { API_ORIGIN_LOCATION_KEY, ASYNC_API_LOCATION_KEY, @@ -20,10 +10,10 @@ export { OPENAPI_LOCATION_KEY } from "./schemas"; export { + type APIDefinition, type APIDefinitionLocation, type GeneratorGroup, type GeneratorInvocation, type GeneratorsConfiguration, type ProtoAPIDefinitionSchema } from "./GeneratorsConfiguration"; -export { updateGeneratorGroup } from "./updateGeneratorGroup"; diff --git a/packages/cli/configuration/src/index.ts b/packages/cli/configuration/src/index.ts index a65951d763a..010ccd0c5c5 100644 --- a/packages/cli/configuration/src/index.ts +++ b/packages/cli/configuration/src/index.ts @@ -1,12 +1,8 @@ export * from "./commons/Audiences"; -export { validateSchema } from "./commons/validateSchema"; -export * from "./commons/WithoutQuestionMarks"; export * from "./constants"; export * as dependenciesYml from "./dependencies-yml"; export * as docsYml from "./docs-yml"; export { DocsLinks } from "./DocsLinks"; export * as fernConfigJson from "./fern-config-json"; export * as generatorsYml from "./generators-yml"; -export { GeneratorName } from "./generators-yml/GeneratorName"; -export * from "./getFernDirectory"; export type { GeneratorGroup, GeneratorInvocation } from "./generators-yml"; diff --git a/packages/cli/configuration/tsconfig.json b/packages/cli/configuration/tsconfig.json index ecd23b19387..debd79dfa74 100644 --- a/packages/cli/configuration/tsconfig.json +++ b/packages/cli/configuration/tsconfig.json @@ -1,11 +1,25 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/core-utils" }, - { "path": "../../commons/fs-utils" }, - { "path": "../task-context" }, - { "path": "../fern-definition/schema"} + { + "path": "../../commons/core-utils" + }, + { + "path": "../../commons/path-utils" + }, + { + "path": "../task-context" + }, + { + "path": "../fern-definition/schema" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/docs-resolver/package.json b/packages/cli/docs-resolver/package.json index 9b1694ece31..0174836b04a 100644 --- a/packages/cli/docs-resolver/package.json +++ b/packages/cli/docs-resolver/package.json @@ -27,7 +27,7 @@ "depcheck": "depcheck" }, "dependencies": { - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/docs-markdown-utils": "workspace:*", "@fern-api/fdr-sdk": "0.126.1-444264056", diff --git a/packages/cli/docs-resolver/src/ApiReferenceNodeConverter.ts b/packages/cli/docs-resolver/src/ApiReferenceNodeConverter.ts index 339980e88a7..aa2d13f6aaa 100644 --- a/packages/cli/docs-resolver/src/ApiReferenceNodeConverter.ts +++ b/packages/cli/docs-resolver/src/ApiReferenceNodeConverter.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { isNonNullish } from "@fern-api/core-utils"; import { APIV1Read, FernNavigation } from "@fern-api/fdr-sdk"; import { AbsoluteFilePath, relative, RelativeFilePath } from "@fern-api/fs-utils"; diff --git a/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts b/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts index b746fb5f25c..3d3ec9e138d 100644 --- a/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts +++ b/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts @@ -1,4 +1,4 @@ -import { docsYml, WithoutQuestionMarks } from "@fern-api/configuration"; +import { docsYml, parseDocsConfiguration, WithoutQuestionMarks } from "@fern-api/configuration-loader"; import { assertNever, isNonNullish, visitDiscriminatedUnion } from "@fern-api/core-utils"; import { parseImagePaths, @@ -84,7 +84,7 @@ export class DocsDefinitionResolver { private collectedFileIds = new Map(); private markdownFilesToFullSlugs: Map = new Map(); public async resolve(): Promise { - this._parsedDocsConfig = await docsYml.parseDocsConfiguration({ + this._parsedDocsConfig = await parseDocsConfiguration({ rawDocsConfiguration: this.docsWorkspace.config, context: this.taskContext, absolutePathToFernFolder: this.docsWorkspace.absoluteFilePath, @@ -911,7 +911,7 @@ function createEditThisPageUrl( const { owner, repo, branch = "main", host = "https://github.com" } = editThisPage.github; - return `${wrapWithHttps(host)}/${owner}/${repo}/blob/${branch}/fern/${pageFilepath}`; + return `${wrapWithHttps(host)}/${owner}/${repo}/blob/${branch}/fern/${pageFilepath}?plain=1`; } function convertAvailability( diff --git a/packages/cli/docs-resolver/src/__test__/api-resolver.test.ts b/packages/cli/docs-resolver/src/__test__/api-resolver.test.ts index 2859e1413ed..4618815da7e 100644 --- a/packages/cli/docs-resolver/src/__test__/api-resolver.test.ts +++ b/packages/cli/docs-resolver/src/__test__/api-resolver.test.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml, parseDocsConfiguration } from "@fern-api/configuration-loader"; import { FernNavigation } from "@fern-api/fdr-sdk"; import { AbsoluteFilePath, resolve } from "@fern-api/fs-utils"; import { generateIntermediateRepresentation } from "@fern-api/ir-generator"; @@ -24,7 +24,7 @@ it.skip("converts to api reference node", async () => { throw new Error("Workspace is null"); } - const parsedDocsConfig = await docsYml.parseDocsConfiguration({ + const parsedDocsConfig = await parseDocsConfiguration({ rawDocsConfiguration: docsWorkspace.config, context, absolutePathToFernFolder: docsWorkspace.absoluteFilePath, diff --git a/packages/cli/docs-resolver/src/__test__/dry.test.ts b/packages/cli/docs-resolver/src/__test__/dry.test.ts index 189a96172c8..afa718448b1 100644 --- a/packages/cli/docs-resolver/src/__test__/dry.test.ts +++ b/packages/cli/docs-resolver/src/__test__/dry.test.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { FernNavigation } from "@fern-api/fdr-sdk"; import { AbsoluteFilePath, resolve } from "@fern-api/fs-utils"; import { createMockTaskContext } from "@fern-api/task-context"; diff --git a/packages/cli/docs-resolver/src/__test__/stream.test.ts b/packages/cli/docs-resolver/src/__test__/stream.test.ts index 7521dd6040e..74b59404d0c 100644 --- a/packages/cli/docs-resolver/src/__test__/stream.test.ts +++ b/packages/cli/docs-resolver/src/__test__/stream.test.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml, parseDocsConfiguration } from "@fern-api/configuration-loader"; import { FernNavigation } from "@fern-api/fdr-sdk"; import { AbsoluteFilePath, resolve } from "@fern-api/fs-utils"; import { generateIntermediateRepresentation, IdGenerator } from "@fern-api/ir-generator"; @@ -24,7 +24,7 @@ it.skip("converts to api reference node", async () => { throw new Error("Workspace is null"); } - const parsedDocsConfig = await docsYml.parseDocsConfiguration({ + const parsedDocsConfig = await parseDocsConfiguration({ rawDocsConfiguration: docsWorkspace.config, context, absolutePathToFernFolder: docsWorkspace.absoluteFilePath, diff --git a/packages/cli/docs-resolver/src/utils/convertDocsSnippetsConfigToFdr.ts b/packages/cli/docs-resolver/src/utils/convertDocsSnippetsConfigToFdr.ts index b1a37b0907f..0c0ad60803d 100644 --- a/packages/cli/docs-resolver/src/utils/convertDocsSnippetsConfigToFdr.ts +++ b/packages/cli/docs-resolver/src/utils/convertDocsSnippetsConfigToFdr.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { APIV1Write } from "@fern-api/fdr-sdk"; export function convertDocsSnippetsConfigToFdr( diff --git a/packages/cli/docs-resolver/src/utils/getImageFilepathsToUpload.ts b/packages/cli/docs-resolver/src/utils/getImageFilepathsToUpload.ts index 7b6085eb79d..b06f94e0f39 100644 --- a/packages/cli/docs-resolver/src/utils/getImageFilepathsToUpload.ts +++ b/packages/cli/docs-resolver/src/utils/getImageFilepathsToUpload.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; export function collectFilesFromDocsConfig(parsedDocsConfig: docsYml.ParsedDocsConfiguration): Set { diff --git a/packages/cli/docs-resolver/tsconfig.json b/packages/cli/docs-resolver/tsconfig.json index d1dcd0e4584..0ee10f15945 100644 --- a/packages/cli/docs-resolver/tsconfig.json +++ b/packages/cli/docs-resolver/tsconfig.json @@ -1,16 +1,40 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/core-utils" }, - { "path": "../../commons/fs-utils" }, - { "path": "../../ir-sdk" }, - { "path": "../configuration" }, - { "path": "../docs-markdown-utils" }, - { "path": "../generation/ir-generator" }, - { "path": "../register" }, - { "path": "../task-context" }, - { "path": "../workspace-loader" } + { + "path": "../../commons/core-utils" + }, + { + "path": "../../commons/fs-utils" + }, + { + "path": "../../ir-sdk" + }, + { + "path": "../configuration-loader" + }, + { + "path": "../docs-markdown-utils" + }, + { + "path": "../generation/ir-generator" + }, + { + "path": "../register" + }, + { + "path": "../task-context" + }, + { + "path": "../workspace-loader" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/ete-tests/src/tests/dependencies/__snapshots__/dependencies.test.ts.snap b/packages/cli/ete-tests/src/tests/dependencies/__snapshots__/dependencies.test.ts.snap index 299cf2507ae..28234ac2a8b 100644 --- a/packages/cli/ete-tests/src/tests/dependencies/__snapshots__/dependencies.test.ts.snap +++ b/packages/cli/ete-tests/src/tests/dependencies/__snapshots__/dependencies.test.ts.snap @@ -1,5 +1,5 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`dependencies > correctly incorporates dependencies 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"dependent","camelCase":{"unsafeName":"dependent","safeName":"dependent"},"snakeCase":{"unsafeName":"dependent","safeName":"dependent"},"screamingSnakeCase":{"unsafeName":"DEPENDENT","safeName":"DEPENDENT"},"pascalCase":{"unsafeName":"Dependent","safeName":"Dependent"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_imported:RootString":{"inline":false,"name":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null},"typeId":"type_imported:RootString"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_y:IntegerAlias":{"inline":false,"name":{"name":{"originalName":"IntegerAlias","camelCase":{"unsafeName":"integerAlias","safeName":"integerAlias"},"snakeCase":{"unsafeName":"integer_alias","safeName":"integer_alias"},"screamingSnakeCase":{"unsafeName":"INTEGER_ALIAS","safeName":"INTEGER_ALIAS"},"pascalCase":{"unsafeName":"IntegerAlias","safeName":"IntegerAlias"}},"fernFilepath":{"allParts":[{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}],"packagePath":[],"file":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}},"typeId":"type_y:IntegerAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imported/x:StringAlias":{"inline":false,"name":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}},"typeId":"type_imported/x:StringAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_imported":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null}},"displayName":null,"basePath":{"head":"/","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imported.rootEndpoint","name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"GET","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"0151c4f21dcb59ded0264beca4e001f6c9a6203a","url":"","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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_imported:RootString","type_y:IntegerAlias","type_imported/x:StringAlias"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_imported:RootString":{"type":"alias","declaration":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_y:IntegerAlias":{"type":"alias","declaration":{"name":{"originalName":"IntegerAlias","camelCase":{"unsafeName":"integerAlias","safeName":"integerAlias"},"snakeCase":{"unsafeName":"integer_alias","safeName":"integer_alias"},"screamingSnakeCase":{"unsafeName":"INTEGER_ALIAS","safeName":"INTEGER_ALIAS"},"pascalCase":{"unsafeName":"IntegerAlias","safeName":"IntegerAlias"}},"fernFilepath":{"allParts":[{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}],"packagePath":[],"file":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}}},"typeReference":{"_type":"primitive","value":"INTEGER"}},"type_imported/x:StringAlias":{"type":"alias","declaration":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_imported.rootEndpoint":{"auth":null,"declaration":{"name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null}},"location":{"method":"GET","path":"/"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_imported":{"name":{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null},"service":"service_imported","types":["type_imported:RootString"],"errors":[],"subpackages":["subpackage_imported/x"],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null},"subpackage_y":{"name":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}},"fernFilepath":{"allParts":[{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}],"packagePath":[],"file":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}},"service":null,"types":["type_y:IntegerAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imported/x":{"name":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}},"service":null,"types":["type_imported/x:StringAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_imported","subpackage_y"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`dependencies > correctly incorporates dependencies 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"dependent","camelCase":{"unsafeName":"dependent","safeName":"dependent"},"snakeCase":{"unsafeName":"dependent","safeName":"dependent"},"screamingSnakeCase":{"unsafeName":"DEPENDENT","safeName":"DEPENDENT"},"pascalCase":{"unsafeName":"Dependent","safeName":"Dependent"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_imported:RootString":{"inline":null,"name":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null},"typeId":"type_imported:RootString"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_y:IntegerAlias":{"inline":null,"name":{"name":{"originalName":"IntegerAlias","camelCase":{"unsafeName":"integerAlias","safeName":"integerAlias"},"snakeCase":{"unsafeName":"integer_alias","safeName":"integer_alias"},"screamingSnakeCase":{"unsafeName":"INTEGER_ALIAS","safeName":"INTEGER_ALIAS"},"pascalCase":{"unsafeName":"IntegerAlias","safeName":"IntegerAlias"}},"fernFilepath":{"allParts":[{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}],"packagePath":[],"file":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}},"typeId":"type_y:IntegerAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imported/x:StringAlias":{"inline":null,"name":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}},"typeId":"type_imported/x:StringAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_imported":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null}},"displayName":null,"basePath":{"head":"/","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imported.rootEndpoint","name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"GET","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"0151c4f21dcb59ded0264beca4e001f6c9a6203a","url":"","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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_imported:RootString","type_y:IntegerAlias","type_imported/x:StringAlias"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_imported:RootString":{"type":"alias","declaration":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_y:IntegerAlias":{"type":"alias","declaration":{"name":{"originalName":"IntegerAlias","camelCase":{"unsafeName":"integerAlias","safeName":"integerAlias"},"snakeCase":{"unsafeName":"integer_alias","safeName":"integer_alias"},"screamingSnakeCase":{"unsafeName":"INTEGER_ALIAS","safeName":"INTEGER_ALIAS"},"pascalCase":{"unsafeName":"IntegerAlias","safeName":"IntegerAlias"}},"fernFilepath":{"allParts":[{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}],"packagePath":[],"file":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}}},"typeReference":{"_type":"primitive","value":"INTEGER"}},"type_imported/x:StringAlias":{"type":"alias","declaration":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_imported.rootEndpoint":{"auth":null,"declaration":{"name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null}},"location":{"method":"GET","path":"/"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_imported":{"name":{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":null},"service":"service_imported","types":["type_imported:RootString"],"errors":[],"subpackages":["subpackage_imported/x"],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null},"subpackage_y":{"name":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}},"fernFilepath":{"allParts":[{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}],"packagePath":[],"file":{"originalName":"y","camelCase":{"unsafeName":"y","safeName":"y"},"snakeCase":{"unsafeName":"y","safeName":"y"},"screamingSnakeCase":{"unsafeName":"Y","safeName":"Y"},"pascalCase":{"unsafeName":"Y","safeName":"Y"}}},"service":null,"types":["type_y:IntegerAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imported/x":{"name":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}},"fernFilepath":{"allParts":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"imported","camelCase":{"unsafeName":"imported","safeName":"imported"},"snakeCase":{"unsafeName":"imported","safeName":"imported"},"screamingSnakeCase":{"unsafeName":"IMPORTED","safeName":"IMPORTED"},"pascalCase":{"unsafeName":"Imported","safeName":"Imported"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}},"service":null,"types":["type_imported/x:StringAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_imported","subpackage_y"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; -exports[`dependencies > file dependencies 1`] = `705214`; +exports[`dependencies > file dependencies 1`] = `705001`; diff --git a/packages/cli/ete-tests/src/tests/generate/fernignore.test.ts b/packages/cli/ete-tests/src/tests/generate/fernignore.test.ts index af5d89f27bc..b1fcb44855b 100644 --- a/packages/cli/ete-tests/src/tests/generate/fernignore.test.ts +++ b/packages/cli/ete-tests/src/tests/generate/fernignore.test.ts @@ -52,7 +52,7 @@ describe("fern generate --local", () => { await runFernCli(["generate", "--local", "--keepDocker"], { cwd: pathOfDirectory }); - }, 180_000); + }, 360_000); }); async function expectPathDoesNotExist(absoluteFilePath: AbsoluteFilePath): Promise { diff --git a/packages/cli/ete-tests/src/tests/ir/__snapshots__/ir.test.ts.snap b/packages/cli/ete-tests/src/tests/ir/__snapshots__/ir.test.ts.snap index e950beef2b8..a28fab65be5 100644 --- a/packages/cli/ete-tests/src/tests/ir/__snapshots__/ir.test.ts.snap +++ b/packages/cli/ete-tests/src/tests/ir/__snapshots__/ir.test.ts.snap @@ -2,7 +2,7 @@ exports[`ir > {"name":"auth-header-prefix"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[{"_type":"header","name":{"name":{"originalName":"ApiKey","camelCase":{"unsafeName":"apiKey","safeName":"apiKey"},"snakeCase":{"unsafeName":"api_key","safeName":"api_key"},"screamingSnakeCase":{"unsafeName":"API_KEY","safeName":"API_KEY"},"pascalCase":{"unsafeName":"ApiKey","safeName":"ApiKey"}},"wireValue":"Authorization"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"prefix":"ApiKey","headerEnvVar":null,"docs":null}],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{},"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":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{},"headers":[],"endpoints":{}},"subpackages":{},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":[],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":false,"docs":null},"sdkConfig":{"isAuthMandatory":true,"hasStreamingEndpoints":false,"hasPaginatedEndpoints":false,"hasFileDownloadEndpoints":false,"platformHeaders":{"language":"X-Fern-Language","sdkName":"X-Fern-SDK-Name","sdkVersion":"X-Fern-SDK-Version","userAgent":null}}}"`; -exports[`ir > {"name":"extended-examples"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"api","camelCase":{"unsafeName":"api","safeName":"api"},"snakeCase":{"unsafeName":"api","safeName":"api"},"screamingSnakeCase":{"unsafeName":"API","safeName":"API"},"pascalCase":{"unsafeName":"Api","safeName":"Api"}},"apiDisplayName":"API","apiDocs":null,"auth":{"requirement":"ALL","schemes":[{"_type":"bearer","token":{"originalName":"token","camelCase":{"unsafeName":"token","safeName":"token"},"snakeCase":{"unsafeName":"token","safeName":"token"},"screamingSnakeCase":{"unsafeName":"TOKEN","safeName":"TOKEN"},"pascalCase":{"unsafeName":"Token","safeName":"Token"}},"tokenEnvVar":null,"docs":null}],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_app:GetAppResponse":{"inline":false,"name":{"name":{"originalName":"GetAppResponse","camelCase":{"unsafeName":"getAppResponse","safeName":"getAppResponse"},"snakeCase":{"unsafeName":"get_app_response","safeName":"get_app_response"},"screamingSnakeCase":{"unsafeName":"GET_APP_RESPONSE","safeName":"GET_APP_RESPONSE"},"pascalCase":{"unsafeName":"GetAppResponse","safeName":"GetAppResponse"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}},"typeId":"type_app:GetAppResponse"},"shape":{"_type":"object","extends":[{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Deployment"}],"properties":[{"name":{"name":{"originalName":"property","camelCase":{"unsafeName":"property","safeName":"property"},"snakeCase":{"unsafeName":"property","safeName":"property"},"screamingSnakeCase":{"unsafeName":"PROPERTY","safeName":"PROPERTY"},"pascalCase":{"unsafeName":"Property","safeName":"Property"}},"wireValue":"property"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"valueType":{"_type":"named","name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:AppId","default":null,"inline":null},"availability":null,"docs":null}]},"referencedTypes":["type_commons:Deployment","type_commons:AppId"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example","camelCase":{"unsafeName":"example","safeName":"example"},"snakeCase":{"unsafeName":"example","safeName":"example"},"screamingSnakeCase":{"unsafeName":"EXAMPLE","safeName":"EXAMPLE"},"pascalCase":{"unsafeName":"Example","safeName":"Example"}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_commons:AppId","fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"your-app-id"}}},"jsonExample":"your-app-id"}}},"jsonExample":"your-app-id"},"originalTypeDeclaration":{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Deployment"}},{"name":{"name":{"originalName":"property","camelCase":{"unsafeName":"property","safeName":"property"},"snakeCase":{"unsafeName":"property","safeName":"property"},"screamingSnakeCase":{"unsafeName":"PROPERTY","safeName":"PROPERTY"},"pascalCase":{"unsafeName":"Property","safeName":"Property"}},"wireValue":"property"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"app-secret"}}},"jsonExample":"app-secret"},"originalTypeDeclaration":{"name":{"originalName":"GetAppResponse","camelCase":{"unsafeName":"getAppResponse","safeName":"getAppResponse"},"snakeCase":{"unsafeName":"get_app_response","safeName":"get_app_response"},"screamingSnakeCase":{"unsafeName":"GET_APP_RESPONSE","safeName":"GET_APP_RESPONSE"},"pascalCase":{"unsafeName":"GetAppResponse","safeName":"GetAppResponse"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}},"typeId":"type_app:GetAppResponse"}}]},"jsonExample":{"appId":"your-app-id","property":"app-secret"},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_commons:AppId":{"inline":false,"name":{"name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:AppId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example","camelCase":{"unsafeName":"example","safeName":"example"},"snakeCase":{"unsafeName":"example","safeName":"example"},"screamingSnakeCase":{"unsafeName":"EXAMPLE","safeName":"EXAMPLE"},"pascalCase":{"unsafeName":"Example","safeName":"Example"}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"your-app-id"}}},"jsonExample":"your-app-id"}},"jsonExample":"your-app-id","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_commons:Deployment":{"inline":false,"name":{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Deployment"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"valueType":{"_type":"named","name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:AppId","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_commons:AppId"],"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_app:GetAppResponse","type_commons:AppId","type_commons:Deployment"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_app:GetAppResponse":{"type":"object","declaration":{"name":{"originalName":"GetAppResponse","camelCase":{"unsafeName":"getAppResponse","safeName":"getAppResponse"},"snakeCase":{"unsafeName":"get_app_response","safeName":"get_app_response"},"screamingSnakeCase":{"unsafeName":"GET_APP_RESPONSE","safeName":"GET_APP_RESPONSE"},"pascalCase":{"unsafeName":"GetAppResponse","safeName":"GetAppResponse"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}}},"properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"typeReference":{"_type":"named","value":"type_commons:AppId"}},{"name":{"name":{"originalName":"property","camelCase":{"unsafeName":"property","safeName":"property"},"snakeCase":{"unsafeName":"property","safeName":"property"},"screamingSnakeCase":{"unsafeName":"PROPERTY","safeName":"PROPERTY"},"pascalCase":{"unsafeName":"Property","safeName":"Property"}},"wireValue":"property"},"typeReference":{"_type":"primitive","value":"STRING"}}]},"type_commons:AppId":{"type":"alias","declaration":{"name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_commons:Deployment":{"type":"object","declaration":{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"typeReference":{"_type":"named","value":"type_commons:AppId"}}]}},"headers":[],"endpoints":{}},"subpackages":{"subpackage_app":{"name":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}},"service":null,"types":["type_app:GetAppResponse"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:AppId","type_commons:Deployment"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_app","subpackage_commons"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":false,"docs":null},"sdkConfig":{"isAuthMandatory":true,"hasStreamingEndpoints":false,"hasPaginatedEndpoints":false,"hasFileDownloadEndpoints":false,"platformHeaders":{"language":"X-Fern-Language","sdkName":"X-Fern-SDK-Name","sdkVersion":"X-Fern-SDK-Version","userAgent":null}}}"`; +exports[`ir > {"name":"extended-examples"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"api","camelCase":{"unsafeName":"api","safeName":"api"},"snakeCase":{"unsafeName":"api","safeName":"api"},"screamingSnakeCase":{"unsafeName":"API","safeName":"API"},"pascalCase":{"unsafeName":"Api","safeName":"Api"}},"apiDisplayName":"API","apiDocs":null,"auth":{"requirement":"ALL","schemes":[{"_type":"bearer","token":{"originalName":"token","camelCase":{"unsafeName":"token","safeName":"token"},"snakeCase":{"unsafeName":"token","safeName":"token"},"screamingSnakeCase":{"unsafeName":"TOKEN","safeName":"TOKEN"},"pascalCase":{"unsafeName":"Token","safeName":"Token"}},"tokenEnvVar":null,"docs":null}],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_app:GetAppResponse":{"inline":null,"name":{"name":{"originalName":"GetAppResponse","camelCase":{"unsafeName":"getAppResponse","safeName":"getAppResponse"},"snakeCase":{"unsafeName":"get_app_response","safeName":"get_app_response"},"screamingSnakeCase":{"unsafeName":"GET_APP_RESPONSE","safeName":"GET_APP_RESPONSE"},"pascalCase":{"unsafeName":"GetAppResponse","safeName":"GetAppResponse"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}},"typeId":"type_app:GetAppResponse"},"shape":{"_type":"object","extends":[{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Deployment"}],"properties":[{"name":{"name":{"originalName":"property","camelCase":{"unsafeName":"property","safeName":"property"},"snakeCase":{"unsafeName":"property","safeName":"property"},"screamingSnakeCase":{"unsafeName":"PROPERTY","safeName":"PROPERTY"},"pascalCase":{"unsafeName":"Property","safeName":"Property"}},"wireValue":"property"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"valueType":{"_type":"named","name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:AppId","default":null,"inline":null},"availability":null,"docs":null}]},"referencedTypes":["type_commons:Deployment","type_commons:AppId"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example","camelCase":{"unsafeName":"example","safeName":"example"},"snakeCase":{"unsafeName":"example","safeName":"example"},"screamingSnakeCase":{"unsafeName":"EXAMPLE","safeName":"EXAMPLE"},"pascalCase":{"unsafeName":"Example","safeName":"Example"}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_commons:AppId","fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"your-app-id"}}},"jsonExample":"your-app-id"}}},"jsonExample":"your-app-id"},"originalTypeDeclaration":{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Deployment"}},{"name":{"name":{"originalName":"property","camelCase":{"unsafeName":"property","safeName":"property"},"snakeCase":{"unsafeName":"property","safeName":"property"},"screamingSnakeCase":{"unsafeName":"PROPERTY","safeName":"PROPERTY"},"pascalCase":{"unsafeName":"Property","safeName":"Property"}},"wireValue":"property"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"app-secret"}}},"jsonExample":"app-secret"},"originalTypeDeclaration":{"name":{"originalName":"GetAppResponse","camelCase":{"unsafeName":"getAppResponse","safeName":"getAppResponse"},"snakeCase":{"unsafeName":"get_app_response","safeName":"get_app_response"},"screamingSnakeCase":{"unsafeName":"GET_APP_RESPONSE","safeName":"GET_APP_RESPONSE"},"pascalCase":{"unsafeName":"GetAppResponse","safeName":"GetAppResponse"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}},"typeId":"type_app:GetAppResponse"}}]},"jsonExample":{"appId":"your-app-id","property":"app-secret"},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_commons:AppId":{"inline":null,"name":{"name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:AppId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example","camelCase":{"unsafeName":"example","safeName":"example"},"snakeCase":{"unsafeName":"example","safeName":"example"},"screamingSnakeCase":{"unsafeName":"EXAMPLE","safeName":"EXAMPLE"},"pascalCase":{"unsafeName":"Example","safeName":"Example"}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"your-app-id"}}},"jsonExample":"your-app-id"}},"jsonExample":"your-app-id","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_commons:Deployment":{"inline":null,"name":{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Deployment"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"valueType":{"_type":"named","name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:AppId","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_commons:AppId"],"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_app:GetAppResponse","type_commons:AppId","type_commons:Deployment"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_app:GetAppResponse":{"type":"object","declaration":{"name":{"originalName":"GetAppResponse","camelCase":{"unsafeName":"getAppResponse","safeName":"getAppResponse"},"snakeCase":{"unsafeName":"get_app_response","safeName":"get_app_response"},"screamingSnakeCase":{"unsafeName":"GET_APP_RESPONSE","safeName":"GET_APP_RESPONSE"},"pascalCase":{"unsafeName":"GetAppResponse","safeName":"GetAppResponse"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}}},"properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"typeReference":{"_type":"named","value":"type_commons:AppId"}},{"name":{"name":{"originalName":"property","camelCase":{"unsafeName":"property","safeName":"property"},"snakeCase":{"unsafeName":"property","safeName":"property"},"screamingSnakeCase":{"unsafeName":"PROPERTY","safeName":"PROPERTY"},"pascalCase":{"unsafeName":"Property","safeName":"Property"}},"wireValue":"property"},"typeReference":{"_type":"primitive","value":"STRING"}}]},"type_commons:AppId":{"type":"alias","declaration":{"name":{"originalName":"AppId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_commons:Deployment":{"type":"object","declaration":{"name":{"originalName":"Deployment","camelCase":{"unsafeName":"deployment","safeName":"deployment"},"snakeCase":{"unsafeName":"deployment","safeName":"deployment"},"screamingSnakeCase":{"unsafeName":"DEPLOYMENT","safeName":"DEPLOYMENT"},"pascalCase":{"unsafeName":"Deployment","safeName":"Deployment"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"name":{"name":{"originalName":"appId","camelCase":{"unsafeName":"appId","safeName":"appId"},"snakeCase":{"unsafeName":"app_id","safeName":"app_id"},"screamingSnakeCase":{"unsafeName":"APP_ID","safeName":"APP_ID"},"pascalCase":{"unsafeName":"AppId","safeName":"AppId"}},"wireValue":"appId"},"typeReference":{"_type":"named","value":"type_commons:AppId"}}]}},"headers":[],"endpoints":{}},"subpackages":{"subpackage_app":{"name":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}},"fernFilepath":{"allParts":[{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}],"packagePath":[],"file":{"originalName":"app","camelCase":{"unsafeName":"app","safeName":"app"},"snakeCase":{"unsafeName":"app","safeName":"app"},"screamingSnakeCase":{"unsafeName":"APP","safeName":"APP"},"pascalCase":{"unsafeName":"App","safeName":"App"}}},"service":null,"types":["type_app:GetAppResponse"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:AppId","type_commons:Deployment"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_app","subpackage_commons"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":false,"docs":null},"sdkConfig":{"isAuthMandatory":true,"hasStreamingEndpoints":false,"hasPaginatedEndpoints":false,"hasFileDownloadEndpoints":false,"platformHeaders":{"language":"X-Fern-Language","sdkName":"X-Fern-SDK-Name","sdkVersion":"X-Fern-SDK-Version","userAgent":null}}}"`; exports[`ir > {"name":"file-upload"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{},"errors":{},"services":{"service_file-upload":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}],"packagePath":[],"file":{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_file-upload.fileUpload","name":{"originalName":"fileUpload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/movies","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":{"type":"fileUpload","name":{"originalName":"FileUploadRequest","camelCase":{"unsafeName":"fileUploadRequest","safeName":"fileUploadRequest"},"snakeCase":{"unsafeName":"file_upload_request","safeName":"file_upload_request"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD_REQUEST","safeName":"FILE_UPLOAD_REQUEST"},"pascalCase":{"unsafeName":"FileUploadRequest","safeName":"FileUploadRequest"}},"properties":[{"type":"bodyProperty","contentType":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},{"type":"file","value":{"type":"file","key":{"name":{"originalName":"file","camelCase":{"unsafeName":"file","safeName":"file"},"snakeCase":{"unsafeName":"file","safeName":"file"},"screamingSnakeCase":{"unsafeName":"FILE","safeName":"FILE"},"pascalCase":{"unsafeName":"File","safeName":"File"}},"wireValue":"file"},"isOptional":false,"contentType":null}},{"type":"file","value":{"type":"file","key":{"name":{"originalName":"optionalFile","camelCase":{"unsafeName":"optionalFile","safeName":"optionalFile"},"snakeCase":{"unsafeName":"optional_file","safeName":"optional_file"},"screamingSnakeCase":{"unsafeName":"OPTIONAL_FILE","safeName":"OPTIONAL_FILE"},"pascalCase":{"unsafeName":"OptionalFile","safeName":"OptionalFile"}},"wireValue":"optionalFile"},"isOptional":true,"contentType":null}},{"type":"bodyProperty","contentType":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":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"availability":null,"docs":null}],"docs":null},"sdkRequest":{"shape":{"type":"wrapper","wrapperName":{"originalName":"FileUploadRequest","camelCase":{"unsafeName":"fileUploadRequest","safeName":"fileUploadRequest"},"snakeCase":{"unsafeName":"file_upload_request","safeName":"file_upload_request"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD_REQUEST","safeName":"FILE_UPLOAD_REQUEST"},"pascalCase":{"unsafeName":"FileUploadRequest","safeName":"FileUploadRequest"}},"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":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{},"headers":[],"endpoints":{"endpoint_file-upload.fileUpload":{"auth":null,"declaration":{"name":{"originalName":"fileUpload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}},"fernFilepath":{"allParts":[{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}],"packagePath":[],"file":{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}}},"location":{"method":"POST","path":"/movies"},"request":{"type":"inlined","declaration":{"name":{"originalName":"FileUploadRequest","camelCase":{"unsafeName":"fileUploadRequest","safeName":"fileUploadRequest"},"snakeCase":{"unsafeName":"file_upload_request","safeName":"file_upload_request"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD_REQUEST","safeName":"FILE_UPLOAD_REQUEST"},"pascalCase":{"unsafeName":"FileUploadRequest","safeName":"FileUploadRequest"}},"fernFilepath":{"allParts":[{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}],"packagePath":[],"file":{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}}},"pathParameters":[],"queryParameters":[],"headers":[],"body":{"type":"fileUpload","properties":[{"type":"bodyProperty","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"}},{"type":"file","name":{"originalName":"file","camelCase":{"unsafeName":"file","safeName":"file"},"snakeCase":{"unsafeName":"file","safeName":"file"},"screamingSnakeCase":{"unsafeName":"FILE","safeName":"FILE"},"pascalCase":{"unsafeName":"File","safeName":"File"}},"wireValue":"file"},{"type":"file","name":{"originalName":"optionalFile","camelCase":{"unsafeName":"optionalFile","safeName":"optionalFile"},"snakeCase":{"unsafeName":"optional_file","safeName":"optional_file"},"screamingSnakeCase":{"unsafeName":"OPTIONAL_FILE","safeName":"OPTIONAL_FILE"},"pascalCase":{"unsafeName":"OptionalFile","safeName":"OptionalFile"}},"wireValue":"optionalFile"},{"type":"bodyProperty","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":"INTEGER"}}]},"metadata":{"includePathParameters":false,"onlyPathParameters":false}},"response":{"type":"json"}}}},"subpackages":{"subpackage_file-upload":{"name":{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}},"fernFilepath":{"allParts":[{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}],"packagePath":[],"file":{"originalName":"file-upload","camelCase":{"unsafeName":"fileUpload","safeName":"fileUpload"},"snakeCase":{"unsafeName":"file_upload","safeName":"file_upload"},"screamingSnakeCase":{"unsafeName":"FILE_UPLOAD","safeName":"FILE_UPLOAD"},"pascalCase":{"unsafeName":"FileUpload","safeName":"FileUpload"}}},"service":"service_file-upload","types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_file-upload"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; @@ -12,20 +12,20 @@ exports[`ir > {"name":"multiple-environment-urls"} 1`] = `"{"fdrApiDefinitionId" exports[`ir > {"name":"navigation-points-to"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{},"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":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{},"headers":[],"endpoints":{}},"subpackages":{"subpackage_subpackage":{"name":{"originalName":"subpackage","camelCase":{"unsafeName":"subpackage","safeName":"subpackage"},"snakeCase":{"unsafeName":"subpackage","safeName":"subpackage"},"screamingSnakeCase":{"unsafeName":"SUBPACKAGE","safeName":"SUBPACKAGE"},"pascalCase":{"unsafeName":"Subpackage","safeName":"Subpackage"}},"fernFilepath":{"allParts":[{"originalName":"subpackage","camelCase":{"unsafeName":"subpackage","safeName":"subpackage"},"snakeCase":{"unsafeName":"subpackage","safeName":"subpackage"},"screamingSnakeCase":{"unsafeName":"SUBPACKAGE","safeName":"SUBPACKAGE"},"pascalCase":{"unsafeName":"Subpackage","safeName":"Subpackage"}}],"packagePath":[{"originalName":"subpackage","camelCase":{"unsafeName":"subpackage","safeName":"subpackage"},"snakeCase":{"unsafeName":"subpackage","safeName":"subpackage"},"screamingSnakeCase":{"unsafeName":"SUBPACKAGE","safeName":"SUBPACKAGE"},"pascalCase":{"unsafeName":"Subpackage","safeName":"Subpackage"}}],"file":null},"service":null,"types":[],"errors":[],"subpackages":["subpackage_subpackage/x"],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_subpackage/x":{"name":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}},"fernFilepath":{"allParts":[{"originalName":"subpackage","camelCase":{"unsafeName":"subpackage","safeName":"subpackage"},"snakeCase":{"unsafeName":"subpackage","safeName":"subpackage"},"screamingSnakeCase":{"unsafeName":"SUBPACKAGE","safeName":"SUBPACKAGE"},"pascalCase":{"unsafeName":"Subpackage","safeName":"Subpackage"}},{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}],"packagePath":[{"originalName":"subpackage","camelCase":{"unsafeName":"subpackage","safeName":"subpackage"},"snakeCase":{"unsafeName":"subpackage","safeName":"subpackage"},"screamingSnakeCase":{"unsafeName":"SUBPACKAGE","safeName":"SUBPACKAGE"},"pascalCase":{"unsafeName":"Subpackage","safeName":"Subpackage"}}],"file":{"originalName":"x","camelCase":{"unsafeName":"x","safeName":"x"},"snakeCase":{"unsafeName":"x","safeName":"x"},"screamingSnakeCase":{"unsafeName":"X","safeName":"X"},"pascalCase":{"unsafeName":"X","safeName":"X"}}},"service":null,"types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_subpackage"],"webhooks":null,"navigationConfig":{"pointsTo":"subpackage_subpackage"},"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}}}"`; -exports[`ir > {"name":"nested-example-reference"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"api","camelCase":{"unsafeName":"api","safeName":"api"},"snakeCase":{"unsafeName":"api","safeName":"api"},"screamingSnakeCase":{"unsafeName":"API","safeName":"API"},"pascalCase":{"unsafeName":"Api","safeName":"Api"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[{"_type":"basic","username":{"originalName":"clientId","camelCase":{"unsafeName":"clientId","safeName":"clientId"},"snakeCase":{"unsafeName":"client_id","safeName":"client_id"},"screamingSnakeCase":{"unsafeName":"CLIENT_ID","safeName":"CLIENT_ID"},"pascalCase":{"unsafeName":"ClientId","safeName":"ClientId"}},"usernameEnvVar":null,"password":{"originalName":"clientSecret","camelCase":{"unsafeName":"clientSecret","safeName":"clientSecret"},"snakeCase":{"unsafeName":"client_secret","safeName":"client_secret"},"screamingSnakeCase":{"unsafeName":"CLIENT_SECRET","safeName":"CLIENT_SECRET"},"pascalCase":{"unsafeName":"ClientSecret","safeName":"ClientSecret"}},"passwordEnvVar":null,"docs":null}],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_nested:Response":{"inline":false,"name":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response"},"shape":{"_type":"object","extends":[],"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"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"container","container":{"_type":"map","keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_nested:Product"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_nested:Product":{"inline":false,"name":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"unknown"}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_nested:StringAlias":{"inline":false,"name":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:StringAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example","camelCase":{"unsafeName":"example","safeName":"example"},"snakeCase":{"unsafeName":"example","safeName":"example"},"screamingSnakeCase":{"unsafeName":"EXAMPLE","safeName":"EXAMPLE"},"pascalCase":{"unsafeName":"Example","safeName":"Example"}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"hello"}}},"jsonExample":"hello"}},"jsonExample":"hello","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_nested":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"displayName":null,"basePath":{"head":"/nested","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_nested.calculate","name":{"originalName":"calculate","camelCase":{"unsafeName":"calculate","safeName":"calculate"},"snakeCase":{"unsafeName":"calculate","safeName":"calculate"},"screamingSnakeCase":{"unsafeName":"CALCULATE","safeName":"CALCULATE"},"pascalCase":{"unsafeName":"Calculate","safeName":"Calculate"}},"displayName":null,"auth":true,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/nested","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":{"type":"json","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[{"example":{"id":"5a6f08f1a5b7c467c617c891b9b6e1f85c3cdaa17c9bc1a56012234eeb809937","name":null,"url":"/nested","rootPathParameters":[],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":null,"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_nested:Response","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}}},"shape":{"type":"object","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"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"container","container":{"type":"map","map":[{"key":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"b"}}},"jsonExample":"b"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_nested:Product","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"unknown","unknown":{"d":{"e":"$11","f":"hello"}}},"jsonExample":{"d":{"e":"$11","f":"hello"}}},"valueType":{"_type":"unknown"}}},"jsonExample":{"d":{"e":"$11","f":"hello"}}},"originalTypeDeclaration":{"typeId":"type_nested:Product","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}}}}]}},"jsonExample":{"c":{"d":{"e":"$11","f":"hello"}}}}}],"keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}},"jsonExample":{"b":{"c":{"d":{"e":"$11","f":"hello"}}}}},"valueType":{"_type":"container","container":{"_type":"map","keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}}}},"jsonExample":{"b":{"c":{"d":{"e":"$11","f":"hello"}}}}},"originalTypeDeclaration":{"typeId":"type_nested:Response","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}}}}]}},"jsonExample":{"a":{"b":{"c":{"d":{"e":"$11","f":"hello"}}}}}}}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"e91f0ffaa82ef1376271047c051f6c2a66368ac4","url":"/nested","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":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"wireValue":"a"},"originalTypeDeclaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"container","container":{"type":"map","map":[{"key":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"a"}}},"jsonExample":"a"},"value":{"shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"originalTypeDeclaration":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"unknown","unknown":{"key":"value"}},"jsonExample":{"key":"value"}},"valueType":{"_type":"unknown"}}},"jsonExample":{"key":"value"}}}]},"typeName":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product"}},"jsonExample":{"c":{"key":"value"}}}}],"keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}},"jsonExample":{"a":{"c":{"key":"value"}}}},"valueType":{"_type":"container","container":{"_type":"map","keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}}}},"jsonExample":{"a":{"c":{"key":"value"}}}}}]},"typeName":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response"}},"jsonExample":{"a":{"a":{"c":{"key":"value"}}}}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":{"service_nested":["type_nested:Response","type_nested:Product"]},"sharedTypes":["type_nested:StringAlias"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_nested:Response":{"type":"object","declaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"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":"map","key":{"_type":"primitive","value":"STRING"},"value":{"_type":"named","value":"type_nested:Product"}}}}]},"type_nested:Product":{"type":"object","declaration":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"typeReference":{"_type":"optional","value":{"_type":"unknown"}}}]},"type_nested:StringAlias":{"type":"alias","declaration":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_nested.calculate":{"auth":{"type":"basic","username":{"originalName":"clientId","camelCase":{"unsafeName":"clientId","safeName":"clientId"},"snakeCase":{"unsafeName":"client_id","safeName":"client_id"},"screamingSnakeCase":{"unsafeName":"CLIENT_ID","safeName":"CLIENT_ID"},"pascalCase":{"unsafeName":"ClientId","safeName":"ClientId"}},"password":{"originalName":"clientSecret","camelCase":{"unsafeName":"clientSecret","safeName":"clientSecret"},"snakeCase":{"unsafeName":"client_secret","safeName":"client_secret"},"screamingSnakeCase":{"unsafeName":"CLIENT_SECRET","safeName":"CLIENT_SECRET"},"pascalCase":{"unsafeName":"ClientSecret","safeName":"ClientSecret"}}},"declaration":{"name":{"originalName":"calculate","camelCase":{"unsafeName":"calculate","safeName":"calculate"},"snakeCase":{"unsafeName":"calculate","safeName":"calculate"},"screamingSnakeCase":{"unsafeName":"CALCULATE","safeName":"CALCULATE"},"pascalCase":{"unsafeName":"Calculate","safeName":"Calculate"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"location":{"method":"POST","path":"/nested"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_nested":{"name":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"service":"service_nested","types":["type_nested:Response","type_nested:Product","type_nested:StringAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_nested"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"docs":null},"sdkConfig":{"isAuthMandatory":true,"hasStreamingEndpoints":false,"hasPaginatedEndpoints":false,"hasFileDownloadEndpoints":false,"platformHeaders":{"language":"X-Fern-Language","sdkName":"X-Fern-SDK-Name","sdkVersion":"X-Fern-SDK-Version","userAgent":null}}}"`; +exports[`ir > {"name":"nested-example-reference"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"api","camelCase":{"unsafeName":"api","safeName":"api"},"snakeCase":{"unsafeName":"api","safeName":"api"},"screamingSnakeCase":{"unsafeName":"API","safeName":"API"},"pascalCase":{"unsafeName":"Api","safeName":"Api"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[{"_type":"basic","username":{"originalName":"clientId","camelCase":{"unsafeName":"clientId","safeName":"clientId"},"snakeCase":{"unsafeName":"client_id","safeName":"client_id"},"screamingSnakeCase":{"unsafeName":"CLIENT_ID","safeName":"CLIENT_ID"},"pascalCase":{"unsafeName":"ClientId","safeName":"ClientId"}},"usernameEnvVar":null,"password":{"originalName":"clientSecret","camelCase":{"unsafeName":"clientSecret","safeName":"clientSecret"},"snakeCase":{"unsafeName":"client_secret","safeName":"client_secret"},"screamingSnakeCase":{"unsafeName":"CLIENT_SECRET","safeName":"CLIENT_SECRET"},"pascalCase":{"unsafeName":"ClientSecret","safeName":"ClientSecret"}},"passwordEnvVar":null,"docs":null}],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_nested:Response":{"inline":null,"name":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response"},"shape":{"_type":"object","extends":[],"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"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"container","container":{"_type":"map","keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_nested:Product"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_nested:Product":{"inline":null,"name":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"unknown"}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_nested:StringAlias":{"inline":null,"name":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:StringAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example","camelCase":{"unsafeName":"example","safeName":"example"},"snakeCase":{"unsafeName":"example","safeName":"example"},"screamingSnakeCase":{"unsafeName":"EXAMPLE","safeName":"EXAMPLE"},"pascalCase":{"unsafeName":"Example","safeName":"Example"}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"hello"}}},"jsonExample":"hello"}},"jsonExample":"hello","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_nested":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"displayName":null,"basePath":{"head":"/nested","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_nested.calculate","name":{"originalName":"calculate","camelCase":{"unsafeName":"calculate","safeName":"calculate"},"snakeCase":{"unsafeName":"calculate","safeName":"calculate"},"screamingSnakeCase":{"unsafeName":"CALCULATE","safeName":"CALCULATE"},"pascalCase":{"unsafeName":"Calculate","safeName":"Calculate"}},"displayName":null,"auth":true,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/nested","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":{"type":"json","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[{"example":{"id":"5a6f08f1a5b7c467c617c891b9b6e1f85c3cdaa17c9bc1a56012234eeb809937","name":null,"url":"/nested","rootPathParameters":[],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":null,"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_nested:Response","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}}},"shape":{"type":"object","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"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"container","container":{"type":"map","map":[{"key":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"b"}}},"jsonExample":"b"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_nested:Product","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"unknown","unknown":{"d":{"e":"$11","f":"hello"}}},"jsonExample":{"d":{"e":"$11","f":"hello"}}},"valueType":{"_type":"unknown"}}},"jsonExample":{"d":{"e":"$11","f":"hello"}}},"originalTypeDeclaration":{"typeId":"type_nested:Product","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}}}}]}},"jsonExample":{"c":{"d":{"e":"$11","f":"hello"}}}}}],"keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}},"jsonExample":{"b":{"c":{"d":{"e":"$11","f":"hello"}}}}},"valueType":{"_type":"container","container":{"_type":"map","keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}}}},"jsonExample":{"b":{"c":{"d":{"e":"$11","f":"hello"}}}}},"originalTypeDeclaration":{"typeId":"type_nested:Response","fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}}}}]}},"jsonExample":{"a":{"b":{"c":{"d":{"e":"$11","f":"hello"}}}}}}}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"d0df4463d273748fa0cd23082439728b012fcc6c","url":"/nested","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":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"wireValue":"a"},"originalTypeDeclaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"container","container":{"type":"map","map":[{"key":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"a"}}},"jsonExample":"a"},"value":{"shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"originalTypeDeclaration":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product"},"value":{"shape":{"type":"container","container":{"type":"optional","optional":{"shape":{"type":"unknown","unknown":{"key":"value"}},"jsonExample":{"key":"value"}},"valueType":{"_type":"unknown"}}},"jsonExample":{"key":"value"}}}]},"typeName":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product"}},"jsonExample":{"c":{"key":"value"}}}}],"keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}},"jsonExample":{"a":{"c":{"key":"value"}}}},"valueType":{"_type":"container","container":{"_type":"map","keyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"valueType":{"_type":"named","name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Product","default":null,"inline":null}}}}},"jsonExample":{"a":{"c":{"key":"value"}}}}}]},"typeName":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"typeId":"type_nested:Response"}},"jsonExample":{"a":{"a":{"c":{"key":"value"}}}}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":{"service_nested":["type_nested:Response","type_nested:Product"]},"sharedTypes":["type_nested:StringAlias"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_nested:Response":{"type":"object","declaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"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":"map","key":{"_type":"primitive","value":"STRING"},"value":{"_type":"named","value":"type_nested:Product"}}}}]},"type_nested:Product":{"type":"object","declaration":{"name":{"originalName":"Product","camelCase":{"unsafeName":"product","safeName":"product"},"snakeCase":{"unsafeName":"product","safeName":"product"},"screamingSnakeCase":{"unsafeName":"PRODUCT","safeName":"PRODUCT"},"pascalCase":{"unsafeName":"Product","safeName":"Product"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"properties":[{"name":{"name":{"originalName":"c","camelCase":{"unsafeName":"c","safeName":"c"},"snakeCase":{"unsafeName":"c","safeName":"c"},"screamingSnakeCase":{"unsafeName":"C","safeName":"C"},"pascalCase":{"unsafeName":"C","safeName":"C"}},"wireValue":"c"},"typeReference":{"_type":"optional","value":{"_type":"unknown"}}}]},"type_nested:StringAlias":{"type":"alias","declaration":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_nested.calculate":{"auth":{"type":"basic","username":{"originalName":"clientId","camelCase":{"unsafeName":"clientId","safeName":"clientId"},"snakeCase":{"unsafeName":"client_id","safeName":"client_id"},"screamingSnakeCase":{"unsafeName":"CLIENT_ID","safeName":"CLIENT_ID"},"pascalCase":{"unsafeName":"ClientId","safeName":"ClientId"}},"password":{"originalName":"clientSecret","camelCase":{"unsafeName":"clientSecret","safeName":"clientSecret"},"snakeCase":{"unsafeName":"client_secret","safeName":"client_secret"},"screamingSnakeCase":{"unsafeName":"CLIENT_SECRET","safeName":"CLIENT_SECRET"},"pascalCase":{"unsafeName":"ClientSecret","safeName":"ClientSecret"}}},"declaration":{"name":{"originalName":"calculate","camelCase":{"unsafeName":"calculate","safeName":"calculate"},"snakeCase":{"unsafeName":"calculate","safeName":"calculate"},"screamingSnakeCase":{"unsafeName":"CALCULATE","safeName":"CALCULATE"},"pascalCase":{"unsafeName":"Calculate","safeName":"Calculate"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}}},"location":{"method":"POST","path":"/nested"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_nested":{"name":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}},"fernFilepath":{"allParts":[{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}],"packagePath":[],"file":{"originalName":"nested","camelCase":{"unsafeName":"nested","safeName":"nested"},"snakeCase":{"unsafeName":"nested","safeName":"nested"},"screamingSnakeCase":{"unsafeName":"NESTED","safeName":"NESTED"},"pascalCase":{"unsafeName":"Nested","safeName":"Nested"}}},"service":"service_nested","types":["type_nested:Response","type_nested:Product","type_nested:StringAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_nested"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"docs":null},"sdkConfig":{"isAuthMandatory":true,"hasStreamingEndpoints":false,"hasPaginatedEndpoints":false,"hasFileDownloadEndpoints":false,"platformHeaders":{"language":"X-Fern-Language","sdkName":"X-Fern-SDK-Name","sdkVersion":"X-Fern-SDK-Version","userAgent":null}}}"`; -exports[`ir > {"name":"packages"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"packages","camelCase":{"unsafeName":"packages","safeName":"packages"},"snakeCase":{"unsafeName":"packages","safeName":"packages"},"screamingSnakeCase":{"unsafeName":"PACKAGES","safeName":"PACKAGES"},"pascalCase":{"unsafeName":"Packages","safeName":"Packages"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_:RootString":{"inline":false,"name":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"typeId":"type_:RootString"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_package:PackageString":{"inline":false,"name":{"name":{"originalName":"PackageString","camelCase":{"unsafeName":"packageString","safeName":"packageString"},"snakeCase":{"unsafeName":"package_string","safeName":"package_string"},"screamingSnakeCase":{"unsafeName":"PACKAGE_STRING","safeName":"PACKAGE_STRING"},"pascalCase":{"unsafeName":"PackageString","safeName":"PackageString"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null},"typeId":"type_package:PackageString"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_importer:Foo":{"inline":false,"name":{"name":{"originalName":"Foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"fernFilepath":{"allParts":[{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}],"packagePath":[],"file":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}},"typeId":"type_importer:Foo"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"wireValue":"root"},"valueType":{"_type":"named","name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"typeId":"type_:RootString","default":null,"inline":null},"availability":null,"docs":null},{"name":{"name":{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},"wireValue":"package"},"valueType":{"_type":"named","name":{"originalName":"PackageString","camelCase":{"unsafeName":"packageString","safeName":"packageString"},"snakeCase":{"unsafeName":"package_string","safeName":"package_string"},"screamingSnakeCase":{"unsafeName":"PACKAGE_STRING","safeName":"PACKAGE_STRING"},"pascalCase":{"unsafeName":"PackageString","safeName":"PackageString"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null},"typeId":"type_package:PackageString","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_:RootString","type_package:PackageString"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_package/a:A":{"inline":false,"name":{"name":{"originalName":"A","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}},"typeId":"type_package/a:A"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"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_.rootEndpoint","name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"GET","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"0151c4f21dcb59ded0264beca4e001f6c9a6203a","url":"","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]},"service_package":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null}},"displayName":null,"basePath":{"head":"/","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[]}},"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_:RootString","type_package:PackageString","type_importer:Foo","type_package/a:A"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_:RootString":{"type":"alias","declaration":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_package:PackageString":{"type":"alias","declaration":{"name":{"originalName":"PackageString","camelCase":{"unsafeName":"packageString","safeName":"packageString"},"snakeCase":{"unsafeName":"package_string","safeName":"package_string"},"screamingSnakeCase":{"unsafeName":"PACKAGE_STRING","safeName":"PACKAGE_STRING"},"pascalCase":{"unsafeName":"PackageString","safeName":"PackageString"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_importer:Foo":{"type":"object","declaration":{"name":{"originalName":"Foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"fernFilepath":{"allParts":[{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}],"packagePath":[],"file":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}}},"properties":[{"name":{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"wireValue":"root"},"typeReference":{"_type":"named","value":"type_:RootString"}},{"name":{"name":{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},"wireValue":"package"},"typeReference":{"_type":"named","value":"type_package:PackageString"}}]},"type_package/a:A":{"type":"alias","declaration":{"name":{"originalName":"A","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_.rootEndpoint":{"auth":null,"declaration":{"name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null}},"location":{"method":"GET","path":"/"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_package":{"name":{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null},"service":"service_package","types":["type_package:PackageString"],"errors":[],"subpackages":["subpackage_package/b","subpackage_package/a"],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null},"subpackage_importer":{"name":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}},"fernFilepath":{"allParts":[{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}],"packagePath":[],"file":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}},"service":null,"types":["type_importer:Foo"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":"I'm an importer!"},"subpackage_package/a":{"name":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}},"service":null,"types":["type_package/a:A"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_package/b":{"name":{"originalName":"b","camelCase":{"unsafeName":"b","safeName":"b"},"snakeCase":{"unsafeName":"b","safeName":"b"},"screamingSnakeCase":{"unsafeName":"B","safeName":"B"},"pascalCase":{"unsafeName":"B","safeName":"B"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"b","camelCase":{"unsafeName":"b","safeName":"b"},"snakeCase":{"unsafeName":"b","safeName":"b"},"screamingSnakeCase":{"unsafeName":"B","safeName":"B"},"pascalCase":{"unsafeName":"B","safeName":"B"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"b","camelCase":{"unsafeName":"b","safeName":"b"},"snakeCase":{"unsafeName":"b","safeName":"b"},"screamingSnakeCase":{"unsafeName":"B","safeName":"B"},"pascalCase":{"unsafeName":"B","safeName":"B"}}},"service":null,"types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":"service_","types":["type_:RootString"],"errors":[],"subpackages":["subpackage_package","subpackage_importer"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`ir > {"name":"packages"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"packages","camelCase":{"unsafeName":"packages","safeName":"packages"},"snakeCase":{"unsafeName":"packages","safeName":"packages"},"screamingSnakeCase":{"unsafeName":"PACKAGES","safeName":"PACKAGES"},"pascalCase":{"unsafeName":"Packages","safeName":"Packages"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_:RootString":{"inline":null,"name":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"typeId":"type_:RootString"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_package:PackageString":{"inline":null,"name":{"name":{"originalName":"PackageString","camelCase":{"unsafeName":"packageString","safeName":"packageString"},"snakeCase":{"unsafeName":"package_string","safeName":"package_string"},"screamingSnakeCase":{"unsafeName":"PACKAGE_STRING","safeName":"PACKAGE_STRING"},"pascalCase":{"unsafeName":"PackageString","safeName":"PackageString"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null},"typeId":"type_package:PackageString"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_importer:Foo":{"inline":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"}},"fernFilepath":{"allParts":[{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}],"packagePath":[],"file":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}},"typeId":"type_importer:Foo"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"wireValue":"root"},"valueType":{"_type":"named","name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"typeId":"type_:RootString","default":null,"inline":null},"availability":null,"docs":null},{"name":{"name":{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},"wireValue":"package"},"valueType":{"_type":"named","name":{"originalName":"PackageString","camelCase":{"unsafeName":"packageString","safeName":"packageString"},"snakeCase":{"unsafeName":"package_string","safeName":"package_string"},"screamingSnakeCase":{"unsafeName":"PACKAGE_STRING","safeName":"PACKAGE_STRING"},"pascalCase":{"unsafeName":"PackageString","safeName":"PackageString"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null},"typeId":"type_package:PackageString","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_:RootString","type_package:PackageString"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_package/a:A":{"inline":null,"name":{"name":{"originalName":"A","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}},"typeId":"type_package/a:A"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"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_.rootEndpoint","name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"GET","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"0151c4f21dcb59ded0264beca4e001f6c9a6203a","url":"","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]},"service_package":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null}},"displayName":null,"basePath":{"head":"/","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[]}},"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_:RootString","type_package:PackageString","type_importer:Foo","type_package/a:A"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_:RootString":{"type":"alias","declaration":{"name":{"originalName":"RootString","camelCase":{"unsafeName":"rootString","safeName":"rootString"},"snakeCase":{"unsafeName":"root_string","safeName":"root_string"},"screamingSnakeCase":{"unsafeName":"ROOT_STRING","safeName":"ROOT_STRING"},"pascalCase":{"unsafeName":"RootString","safeName":"RootString"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_package:PackageString":{"type":"alias","declaration":{"name":{"originalName":"PackageString","camelCase":{"unsafeName":"packageString","safeName":"packageString"},"snakeCase":{"unsafeName":"package_string","safeName":"package_string"},"screamingSnakeCase":{"unsafeName":"PACKAGE_STRING","safeName":"PACKAGE_STRING"},"pascalCase":{"unsafeName":"PackageString","safeName":"PackageString"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_importer:Foo":{"type":"object","declaration":{"name":{"originalName":"Foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"fernFilepath":{"allParts":[{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}],"packagePath":[],"file":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}}},"properties":[{"name":{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"wireValue":"root"},"typeReference":{"_type":"named","value":"type_:RootString"}},{"name":{"name":{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},"wireValue":"package"},"typeReference":{"_type":"named","value":"type_package:PackageString"}}]},"type_package/a:A":{"type":"alias","declaration":{"name":{"originalName":"A","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_.rootEndpoint":{"auth":null,"declaration":{"name":{"originalName":"rootEndpoint","camelCase":{"unsafeName":"rootEndpoint","safeName":"rootEndpoint"},"snakeCase":{"unsafeName":"root_endpoint","safeName":"root_endpoint"},"screamingSnakeCase":{"unsafeName":"ROOT_ENDPOINT","safeName":"ROOT_ENDPOINT"},"pascalCase":{"unsafeName":"RootEndpoint","safeName":"RootEndpoint"}},"fernFilepath":{"allParts":[],"packagePath":[],"file":null}},"location":{"method":"GET","path":"/"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_package":{"name":{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":null},"service":"service_package","types":["type_package:PackageString"],"errors":[],"subpackages":["subpackage_package/b","subpackage_package/a"],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null},"subpackage_importer":{"name":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}},"fernFilepath":{"allParts":[{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}],"packagePath":[],"file":{"originalName":"importer","camelCase":{"unsafeName":"importer","safeName":"importer"},"snakeCase":{"unsafeName":"importer","safeName":"importer"},"screamingSnakeCase":{"unsafeName":"IMPORTER","safeName":"IMPORTER"},"pascalCase":{"unsafeName":"Importer","safeName":"Importer"}}},"service":null,"types":["type_importer:Foo"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":"I'm an importer!"},"subpackage_package/a":{"name":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"a","camelCase":{"unsafeName":"a","safeName":"a"},"snakeCase":{"unsafeName":"a","safeName":"a"},"screamingSnakeCase":{"unsafeName":"A","safeName":"A"},"pascalCase":{"unsafeName":"A","safeName":"A"}}},"service":null,"types":["type_package/a:A"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_package/b":{"name":{"originalName":"b","camelCase":{"unsafeName":"b","safeName":"b"},"snakeCase":{"unsafeName":"b","safeName":"b"},"screamingSnakeCase":{"unsafeName":"B","safeName":"B"},"pascalCase":{"unsafeName":"B","safeName":"B"}},"fernFilepath":{"allParts":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}},{"originalName":"b","camelCase":{"unsafeName":"b","safeName":"b"},"snakeCase":{"unsafeName":"b","safeName":"b"},"screamingSnakeCase":{"unsafeName":"B","safeName":"B"},"pascalCase":{"unsafeName":"B","safeName":"B"}}],"packagePath":[{"originalName":"package","camelCase":{"unsafeName":"package","safeName":"package"},"snakeCase":{"unsafeName":"package","safeName":"package"},"screamingSnakeCase":{"unsafeName":"PACKAGE","safeName":"PACKAGE"},"pascalCase":{"unsafeName":"Package","safeName":"Package"}}],"file":{"originalName":"b","camelCase":{"unsafeName":"b","safeName":"b"},"snakeCase":{"unsafeName":"b","safeName":"b"},"screamingSnakeCase":{"unsafeName":"B","safeName":"B"},"pascalCase":{"unsafeName":"B","safeName":"B"}}},"service":null,"types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":"service_","types":["type_:RootString"],"errors":[],"subpackages":["subpackage_package","subpackage_importer"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; -exports[`ir > {"name":"response-property"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"response-property","camelCase":{"unsafeName":"responseProperty","safeName":"responseProperty"},"snakeCase":{"unsafeName":"response_property","safeName":"response_property"},"screamingSnakeCase":{"unsafeName":"RESPONSE_PROPERTY","safeName":"RESPONSE_PROPERTY"},"pascalCase":{"unsafeName":"ResponseProperty","safeName":"ResponseProperty"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_service:WithDocs":{"inline":false,"name":{"name":{"originalName":"WithDocs","camelCase":{"unsafeName":"withDocs","safeName":"withDocs"},"snakeCase":{"unsafeName":"with_docs","safeName":"with_docs"},"screamingSnakeCase":{"unsafeName":"WITH_DOCS","safeName":"WITH_DOCS"},"pascalCase":{"unsafeName":"WithDocs","safeName":"WithDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:WithDocs"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"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_service:Movie":{"inline":false,"name":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"},"shape":{"_type":"object","extends":[],"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"},"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_service:Response":{"inline":false,"name":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"},"shape":{"_type":"object","extends":[{"name":{"originalName":"WithDocs","camelCase":{"unsafeName":"withDocs","safeName":"withDocs"},"snakeCase":{"unsafeName":"with_docs","safeName":"with_docs"},"screamingSnakeCase":{"unsafeName":"WITH_DOCS","safeName":"WITH_DOCS"},"pascalCase":{"unsafeName":"WithDocs","safeName":"WithDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:WithDocs"}],"properties":[{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"valueType":{"_type":"named","name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null}]},"referencedTypes":["type_service:WithDocs","type_service:Movie"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_service":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"displayName":null,"basePath":{"head":"","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_service.getMovie","name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/movie","parts":[]},"fullPath":{"head":"movie","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null}},"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","value":{"type":"nestedPropertyAsResponse","responseBodyType":{"_type":"named","name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response","default":null,"inline":null},"responseProperty":{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"valueType":{"_type":"named","name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie","default":null,"inline":null},"availability":null,"docs":null},"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"51ecfe336a3cafcb2aee1fe0fb691ea2f698c246","url":"/movie","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":{"type":"reference","shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"originalTypeDeclaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"},"value":{"shape":{"type":"named","shape":{"type":"object","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"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id"}}},"jsonExample":"id"}}]},"typeName":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"}},"jsonExample":{"id":"id"}}}]},"typeName":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"}},"jsonExample":{"data":{"id":"id"}}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_service.getMovieDocs","name":{"originalName":"getMovieDocs","camelCase":{"unsafeName":"getMovieDocs","safeName":"getMovieDocs"},"snakeCase":{"unsafeName":"get_movie_docs","safeName":"get_movie_docs"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_DOCS","safeName":"GET_MOVIE_DOCS"},"pascalCase":{"unsafeName":"GetMovieDocs","safeName":"GetMovieDocs"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/movie","parts":[]},"fullPath":{"head":"movie","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null}},"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","value":{"type":"nestedPropertyAsResponse","responseBodyType":{"_type":"named","name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response","default":null,"inline":null},"responseProperty":{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"51ecfe336a3cafcb2aee1fe0fb691ea2f698c246","url":"/movie","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":{"type":"reference","shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"originalTypeDeclaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"},"value":{"shape":{"type":"named","shape":{"type":"object","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"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id"}}},"jsonExample":"id"}}]},"typeName":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"}},"jsonExample":{"id":"id"}}}]},"typeName":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"}},"jsonExample":{"data":{"id":"id"}}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":{"service_service":["type_service:WithDocs","type_service:Movie","type_service:Response"]},"sharedTypes":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_service:WithDocs":{"type":"object","declaration":{"name":{"originalName":"WithDocs","camelCase":{"unsafeName":"withDocs","safeName":"withDocs"},"snakeCase":{"unsafeName":"with_docs","safeName":"with_docs"},"screamingSnakeCase":{"unsafeName":"WITH_DOCS","safeName":"WITH_DOCS"},"pascalCase":{"unsafeName":"WithDocs","safeName":"WithDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"properties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"typeReference":{"_type":"primitive","value":"STRING"}}]},"type_service:Movie":{"type":"object","declaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"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":"primitive","value":"STRING"}}]},"type_service:Response":{"type":"object","declaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"properties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"typeReference":{"_type":"named","value":"type_service:Movie"}}]}},"headers":[],"endpoints":{"endpoint_service.getMovie":{"auth":null,"declaration":{"name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"location":{"method":"POST","path":"/movie"},"request":{"type":"body","pathParameters":[],"body":{"type":"typeReference","value":{"_type":"primitive","value":"STRING"}}},"response":{"type":"json"}},"endpoint_service.getMovieDocs":{"auth":null,"declaration":{"name":{"originalName":"getMovieDocs","camelCase":{"unsafeName":"getMovieDocs","safeName":"getMovieDocs"},"snakeCase":{"unsafeName":"get_movie_docs","safeName":"get_movie_docs"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_DOCS","safeName":"GET_MOVIE_DOCS"},"pascalCase":{"unsafeName":"GetMovieDocs","safeName":"GetMovieDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"location":{"method":"POST","path":"/movie"},"request":{"type":"body","pathParameters":[],"body":{"type":"typeReference","value":{"_type":"primitive","value":"STRING"}}},"response":{"type":"json"}}}},"subpackages":{"subpackage_service":{"name":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"service":"service_service","types":["type_service:WithDocs","type_service:Movie","type_service:Response"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_service"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`ir > {"name":"response-property"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"response-property","camelCase":{"unsafeName":"responseProperty","safeName":"responseProperty"},"snakeCase":{"unsafeName":"response_property","safeName":"response_property"},"screamingSnakeCase":{"unsafeName":"RESPONSE_PROPERTY","safeName":"RESPONSE_PROPERTY"},"pascalCase":{"unsafeName":"ResponseProperty","safeName":"ResponseProperty"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_service:WithDocs":{"inline":null,"name":{"name":{"originalName":"WithDocs","camelCase":{"unsafeName":"withDocs","safeName":"withDocs"},"snakeCase":{"unsafeName":"with_docs","safeName":"with_docs"},"screamingSnakeCase":{"unsafeName":"WITH_DOCS","safeName":"WITH_DOCS"},"pascalCase":{"unsafeName":"WithDocs","safeName":"WithDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:WithDocs"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"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_service:Movie":{"inline":null,"name":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"},"shape":{"_type":"object","extends":[],"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"},"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_service:Response":{"inline":null,"name":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"},"shape":{"_type":"object","extends":[{"name":{"originalName":"WithDocs","camelCase":{"unsafeName":"withDocs","safeName":"withDocs"},"snakeCase":{"unsafeName":"with_docs","safeName":"with_docs"},"screamingSnakeCase":{"unsafeName":"WITH_DOCS","safeName":"WITH_DOCS"},"pascalCase":{"unsafeName":"WithDocs","safeName":"WithDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:WithDocs"}],"properties":[{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"valueType":{"_type":"named","name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null}]},"referencedTypes":["type_service:WithDocs","type_service:Movie"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_service":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"displayName":null,"basePath":{"head":"","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_service.getMovie","name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/movie","parts":[]},"fullPath":{"head":"movie","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null}},"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","value":{"type":"nestedPropertyAsResponse","responseBodyType":{"_type":"named","name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response","default":null,"inline":null},"responseProperty":{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"valueType":{"_type":"named","name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie","default":null,"inline":null},"availability":null,"docs":null},"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"51ecfe336a3cafcb2aee1fe0fb691ea2f698c246","url":"/movie","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":{"type":"reference","shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"originalTypeDeclaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"},"value":{"shape":{"type":"named","shape":{"type":"object","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"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id"}}},"jsonExample":"id"}}]},"typeName":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"}},"jsonExample":{"id":"id"}}}]},"typeName":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"}},"jsonExample":{"data":{"id":"id"}}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_service.getMovieDocs","name":{"originalName":"getMovieDocs","camelCase":{"unsafeName":"getMovieDocs","safeName":"getMovieDocs"},"snakeCase":{"unsafeName":"get_movie_docs","safeName":"get_movie_docs"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_DOCS","safeName":"GET_MOVIE_DOCS"},"pascalCase":{"unsafeName":"GetMovieDocs","safeName":"GetMovieDocs"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/movie","parts":[]},"fullPath":{"head":"movie","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"contentType":null,"docs":null}},"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","value":{"type":"nestedPropertyAsResponse","responseBodyType":{"_type":"named","name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response","default":null,"inline":null},"responseProperty":{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"51ecfe336a3cafcb2aee1fe0fb691ea2f698c246","url":"/movie","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[],"request":{"type":"reference","shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"originalTypeDeclaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"},"value":{"shape":{"type":"named","shape":{"type":"object","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"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id"}}},"jsonExample":"id"}}]},"typeName":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Movie"}},"jsonExample":{"id":"id"}}}]},"typeName":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"typeId":"type_service:Response"}},"jsonExample":{"data":{"id":"id"}}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":{"service_service":["type_service:WithDocs","type_service:Movie","type_service:Response"]},"sharedTypes":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_service:WithDocs":{"type":"object","declaration":{"name":{"originalName":"WithDocs","camelCase":{"unsafeName":"withDocs","safeName":"withDocs"},"snakeCase":{"unsafeName":"with_docs","safeName":"with_docs"},"screamingSnakeCase":{"unsafeName":"WITH_DOCS","safeName":"WITH_DOCS"},"pascalCase":{"unsafeName":"WithDocs","safeName":"WithDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"properties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"typeReference":{"_type":"primitive","value":"STRING"}}]},"type_service:Movie":{"type":"object","declaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"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":"primitive","value":"STRING"}}]},"type_service:Response":{"type":"object","declaration":{"name":{"originalName":"Response","camelCase":{"unsafeName":"response","safeName":"response"},"snakeCase":{"unsafeName":"response","safeName":"response"},"screamingSnakeCase":{"unsafeName":"RESPONSE","safeName":"RESPONSE"},"pascalCase":{"unsafeName":"Response","safeName":"Response"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"properties":[{"name":{"name":{"originalName":"docs","camelCase":{"unsafeName":"docs","safeName":"docs"},"snakeCase":{"unsafeName":"docs","safeName":"docs"},"screamingSnakeCase":{"unsafeName":"DOCS","safeName":"DOCS"},"pascalCase":{"unsafeName":"Docs","safeName":"Docs"}},"wireValue":"docs"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"data","camelCase":{"unsafeName":"data","safeName":"data"},"snakeCase":{"unsafeName":"data","safeName":"data"},"screamingSnakeCase":{"unsafeName":"DATA","safeName":"DATA"},"pascalCase":{"unsafeName":"Data","safeName":"Data"}},"wireValue":"data"},"typeReference":{"_type":"named","value":"type_service:Movie"}}]}},"headers":[],"endpoints":{"endpoint_service.getMovie":{"auth":null,"declaration":{"name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"location":{"method":"POST","path":"/movie"},"request":{"type":"body","pathParameters":[],"body":{"type":"typeReference","value":{"_type":"primitive","value":"STRING"}}},"response":{"type":"json"}},"endpoint_service.getMovieDocs":{"auth":null,"declaration":{"name":{"originalName":"getMovieDocs","camelCase":{"unsafeName":"getMovieDocs","safeName":"getMovieDocs"},"snakeCase":{"unsafeName":"get_movie_docs","safeName":"get_movie_docs"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_DOCS","safeName":"GET_MOVIE_DOCS"},"pascalCase":{"unsafeName":"GetMovieDocs","safeName":"GetMovieDocs"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"location":{"method":"POST","path":"/movie"},"request":{"type":"body","pathParameters":[],"body":{"type":"typeReference","value":{"_type":"primitive","value":"STRING"}}},"response":{"type":"json"}}}},"subpackages":{"subpackage_service":{"name":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"service":"service_service","types":["type_service:WithDocs","type_service:Movie","type_service:Response"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_service"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; -exports[`ir > {"name":"simple","audiences":["internal"]} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":"foo bar baz","auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"env":null,"availability":null,"docs":null}],"idempotencyHeaders":[],"types":{"type_commons:Internal":{"inline":false,"name":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Internal"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_imdb:UnknownRequest":{"inline":false,"name":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"valueType":{"_type":"unknown"},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{"error_commons:BadRequestError":{"name":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"discriminantValue":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"wireValue":"BadRequestError"},"statusCode":400,"type":null,"examples":[],"docs":null}},"services":{"service_imdb":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imdb.internalEndpoint","name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"6ddea0588fd84ef0a9732ab58c4e1d50078da707","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"originalTypeDeclaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"value":{"shape":{"type":"unknown","unknown":{"key":"value"}},"jsonExample":{"key":"value"}}}]},"typeName":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"}},"jsonExample":{"unknown":{"key":"value"}}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":"property","discriminant":{"name":{"originalName":"error","camelCase":{"unsafeName":"error","safeName":"error"},"snakeCase":{"unsafeName":"error","safeName":"error"},"screamingSnakeCase":{"unsafeName":"ERROR","safeName":"ERROR"},"pascalCase":{"unsafeName":"Error","safeName":"Error"}},"wireValue":"error"},"contentProperty":{"name":{"originalName":"content","camelCase":{"unsafeName":"content","safeName":"content"},"snakeCase":{"unsafeName":"content","safeName":"content"},"screamingSnakeCase":{"unsafeName":"CONTENT","safeName":"CONTENT"},"pascalCase":{"unsafeName":"Content","safeName":"Content"}},"wireValue":"content"}},"basePath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":""}]},"pathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"variables":[],"serviceTypeReferenceInfo":{"sharedTypes":["type_commons:Internal"],"typesReferencedOnlyByService":{"service_imdb":["type_imdb:UnknownRequest"]}},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:Internal":{"type":"object","declaration":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_imdb:UnknownRequest":{"type":"object","declaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"typeReference":{"_type":"unknown"}}]}},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"typeReference":{"_type":"optional","value":{"_type":"primitive","value":"STRING"}}}],"endpoints":{"endpoint_imdb.internalEndpoint":{"auth":null,"declaration":{"name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:UnknownRequest"}}},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:Internal"],"errors":["error_commons:BadRequestError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imdb":{"name":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"service":"service_imdb","types":["type_imdb:UnknownRequest"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_imdb"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`ir > {"name":"simple","audiences":["internal"]} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":"foo bar baz","auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"env":null,"availability":null,"docs":null}],"idempotencyHeaders":[],"types":{"type_commons:Internal":{"inline":null,"name":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Internal"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_imdb:UnknownRequest":{"inline":null,"name":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"valueType":{"_type":"unknown"},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{"error_commons:BadRequestError":{"name":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"discriminantValue":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"wireValue":"BadRequestError"},"statusCode":400,"type":null,"examples":[],"docs":null}},"services":{"service_imdb":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imdb.internalEndpoint","name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"6ddea0588fd84ef0a9732ab58c4e1d50078da707","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"originalTypeDeclaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"value":{"shape":{"type":"unknown","unknown":{"key":"value"}},"jsonExample":{"key":"value"}}}]},"typeName":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"}},"jsonExample":{"unknown":{"key":"value"}}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":"property","discriminant":{"name":{"originalName":"error","camelCase":{"unsafeName":"error","safeName":"error"},"snakeCase":{"unsafeName":"error","safeName":"error"},"screamingSnakeCase":{"unsafeName":"ERROR","safeName":"ERROR"},"pascalCase":{"unsafeName":"Error","safeName":"Error"}},"wireValue":"error"},"contentProperty":{"name":{"originalName":"content","camelCase":{"unsafeName":"content","safeName":"content"},"snakeCase":{"unsafeName":"content","safeName":"content"},"screamingSnakeCase":{"unsafeName":"CONTENT","safeName":"CONTENT"},"pascalCase":{"unsafeName":"Content","safeName":"Content"}},"wireValue":"content"}},"basePath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":""}]},"pathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"variables":[],"serviceTypeReferenceInfo":{"sharedTypes":["type_commons:Internal"],"typesReferencedOnlyByService":{"service_imdb":["type_imdb:UnknownRequest"]}},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:Internal":{"type":"object","declaration":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_imdb:UnknownRequest":{"type":"object","declaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"typeReference":{"_type":"unknown"}}]}},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"typeReference":{"_type":"optional","value":{"_type":"primitive","value":"STRING"}}}],"endpoints":{"endpoint_imdb.internalEndpoint":{"auth":null,"declaration":{"name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:UnknownRequest"}}},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:Internal"],"errors":["error_commons:BadRequestError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imdb":{"name":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"service":"service_imdb","types":["type_imdb:UnknownRequest"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_imdb"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; -exports[`ir > {"name":"simple","audiences":["test"]} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":"foo bar baz","auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"env":null,"availability":null,"docs":null}],"idempotencyHeaders":[],"types":{"type_commons:Type":{"inline":false,"name":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Type"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_imdb:MovieId":{"inline":false,"name":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id1"}}},"jsonExample":"id1"}},"jsonExample":"id1","docs":null},{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id2"}}},"jsonExample":"id2"}},"jsonExample":"id2","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:CreateMovieRequest":{"inline":false,"name":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example1","camelCase":{"unsafeName":"example1","safeName":"example1"},"snakeCase":{"unsafeName":"example_1","safeName":"example_1"},"screamingSnakeCase":{"unsafeName":"EXAMPLE_1","safeName":"EXAMPLE_1"},"pascalCase":{"unsafeName":"Example1","safeName":"Example1"}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}}]},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{"error_commons:BadRequestError":{"name":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"discriminantValue":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"wireValue":"BadRequestError"},"statusCode":400,"type":null,"examples":[],"docs":null}},"services":{"service_imdb":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imdb.createMovie","name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[{"example":{"id":"0ec9625807680a71388bf490199238a7c22569a5bf7092901fcb77bdd393e496","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Shrek"}}},"jsonExample":"Shrek"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,10,10,10]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Shrek","ratings":[10,10,10,10]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null},{"example":{"id":"624277beb517e6d1281e37e2781b35851d2d5de808ab821d6bad4c0917b014a5","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"3435f6402495ee7805cf225e15f28f07a6f16235","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"title"}}},"jsonExample":"title"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1},{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1.1,1.1]}}]},"typeName":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},"jsonExample":{"title":"title","ratings":[1.1,1.1]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":"property","discriminant":{"name":{"originalName":"error","camelCase":{"unsafeName":"error","safeName":"error"},"snakeCase":{"unsafeName":"error","safeName":"error"},"screamingSnakeCase":{"unsafeName":"ERROR","safeName":"ERROR"},"pascalCase":{"unsafeName":"Error","safeName":"Error"}},"wireValue":"error"},"contentProperty":{"name":{"originalName":"content","camelCase":{"unsafeName":"content","safeName":"content"},"snakeCase":{"unsafeName":"content","safeName":"content"},"screamingSnakeCase":{"unsafeName":"CONTENT","safeName":"CONTENT"},"pascalCase":{"unsafeName":"Content","safeName":"Content"}},"wireValue":"content"}},"basePath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":""}]},"pathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"variables":[],"serviceTypeReferenceInfo":{"sharedTypes":["type_commons:Type"],"typesReferencedOnlyByService":{"service_imdb":["type_imdb:MovieId","type_imdb:CreateMovieRequest"]}},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:Type":{"type":"object","declaration":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_imdb:MovieId":{"type":"alias","declaration":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:CreateMovieRequest":{"type":"object","declaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"DOUBLE"}}}]}},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"typeReference":{"_type":"optional","value":{"_type":"primitive","value":"STRING"}}}],"endpoints":{"endpoint_imdb.createMovie":{"auth":null,"declaration":{"name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:CreateMovieRequest"}}},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:Type"],"errors":["error_commons:BadRequestError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imdb":{"name":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"service":"service_imdb","types":["type_imdb:MovieId","type_imdb:CreateMovieRequest"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_imdb"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`ir > {"name":"simple","audiences":["test"]} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":"foo bar baz","auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"env":null,"availability":null,"docs":null}],"idempotencyHeaders":[],"types":{"type_commons:Type":{"inline":null,"name":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Type"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_imdb:MovieId":{"inline":null,"name":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id1"}}},"jsonExample":"id1"}},"jsonExample":"id1","docs":null},{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id2"}}},"jsonExample":"id2"}},"jsonExample":"id2","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:CreateMovieRequest":{"inline":null,"name":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example1","camelCase":{"unsafeName":"example1","safeName":"example1"},"snakeCase":{"unsafeName":"example_1","safeName":"example_1"},"screamingSnakeCase":{"unsafeName":"EXAMPLE_1","safeName":"EXAMPLE_1"},"pascalCase":{"unsafeName":"Example1","safeName":"Example1"}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}}]},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{"error_commons:BadRequestError":{"name":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"discriminantValue":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"wireValue":"BadRequestError"},"statusCode":400,"type":null,"examples":[],"docs":null}},"services":{"service_imdb":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imdb.createMovie","name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[{"example":{"id":"0ec9625807680a71388bf490199238a7c22569a5bf7092901fcb77bdd393e496","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Shrek"}}},"jsonExample":"Shrek"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,10,10,10]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Shrek","ratings":[10,10,10,10]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null},{"example":{"id":"624277beb517e6d1281e37e2781b35851d2d5de808ab821d6bad4c0917b014a5","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"3435f6402495ee7805cf225e15f28f07a6f16235","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"title"}}},"jsonExample":"title"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1},{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1.1,1.1]}}]},"typeName":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},"jsonExample":{"title":"title","ratings":[1.1,1.1]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":"property","discriminant":{"name":{"originalName":"error","camelCase":{"unsafeName":"error","safeName":"error"},"snakeCase":{"unsafeName":"error","safeName":"error"},"screamingSnakeCase":{"unsafeName":"ERROR","safeName":"ERROR"},"pascalCase":{"unsafeName":"Error","safeName":"Error"}},"wireValue":"error"},"contentProperty":{"name":{"originalName":"content","camelCase":{"unsafeName":"content","safeName":"content"},"snakeCase":{"unsafeName":"content","safeName":"content"},"screamingSnakeCase":{"unsafeName":"CONTENT","safeName":"CONTENT"},"pascalCase":{"unsafeName":"Content","safeName":"Content"}},"wireValue":"content"}},"basePath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":""}]},"pathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"variables":[],"serviceTypeReferenceInfo":{"sharedTypes":["type_commons:Type"],"typesReferencedOnlyByService":{"service_imdb":["type_imdb:MovieId","type_imdb:CreateMovieRequest"]}},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:Type":{"type":"object","declaration":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_imdb:MovieId":{"type":"alias","declaration":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:CreateMovieRequest":{"type":"object","declaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"DOUBLE"}}}]}},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"typeReference":{"_type":"optional","value":{"_type":"primitive","value":"STRING"}}}],"endpoints":{"endpoint_imdb.createMovie":{"auth":null,"declaration":{"name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:CreateMovieRequest"}}},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:Type"],"errors":["error_commons:BadRequestError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imdb":{"name":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"service":"service_imdb","types":["type_imdb:MovieId","type_imdb:CreateMovieRequest"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_imdb"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; -exports[`ir > {"name":"simple"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":"foo bar baz","auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"env":null,"availability":null,"docs":null}],"idempotencyHeaders":[],"types":{"type_commons:Internal":{"inline":false,"name":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Internal"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_commons:Type":{"inline":false,"name":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Type"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_commons:UndiscriminatedUnion":{"inline":false,"name":{"name":{"originalName":"UndiscriminatedUnion","camelCase":{"unsafeName":"undiscriminatedUnion","safeName":"undiscriminatedUnion"},"snakeCase":{"unsafeName":"undiscriminated_union","safeName":"undiscriminated_union"},"screamingSnakeCase":{"unsafeName":"UNDISCRIMINATED_UNION","safeName":"UNDISCRIMINATED_UNION"},"pascalCase":{"unsafeName":"UndiscriminatedUnion","safeName":"UndiscriminatedUnion"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:UndiscriminatedUnion"},"shape":{"_type":"undiscriminatedUnion","members":[{"type":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"docs":null},{"type":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"docs":null},{"type":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"docs":null},{"type":{"_type":"container","container":{"_type":"list","list":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}}}}}},"docs":null}]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:Director":{"inline":false,"name":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"valueType":{"_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":"named","name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Age","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_director:Age"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"GeorgeExample","camelCase":{"unsafeName":"georgeExample","safeName":"georgeExample"},"snakeCase":{"unsafeName":"george_example","safeName":"george_example"},"screamingSnakeCase":{"unsafeName":"GEORGE_EXAMPLE","safeName":"GEORGE_EXAMPLE"},"pascalCase":{"unsafeName":"GeorgeExample","safeName":"GeorgeExample"}},"shape":{"type":"object","properties":[{"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":{"type":"primitive","primitive":{"type":"string","string":{"original":"George the Director"}}},"jsonExample":"George the Director"},"originalTypeDeclaration":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"}},{"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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Age","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":20}},"jsonExample":20}}},"jsonExample":20},"originalTypeDeclaration":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"}}]},"jsonExample":{"name":"George the Director","age":20},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:Age":{"inline":false,"name":{"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Age"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example1","camelCase":{"unsafeName":"example1","safeName":"example1"},"snakeCase":{"unsafeName":"example_1","safeName":"example_1"},"screamingSnakeCase":{"unsafeName":"EXAMPLE_1","safeName":"EXAMPLE_1"},"pascalCase":{"unsafeName":"Example1","safeName":"Example1"}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":20}},"jsonExample":20}},"jsonExample":20,"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:LiteralBoolean":{"inline":false,"name":{"name":{"originalName":"LiteralBoolean","camelCase":{"unsafeName":"literalBoolean","safeName":"literalBoolean"},"snakeCase":{"unsafeName":"literal_boolean","safeName":"literal_boolean"},"screamingSnakeCase":{"unsafeName":"LITERAL_BOOLEAN","safeName":"LITERAL_BOOLEAN"},"pascalCase":{"unsafeName":"LiteralBoolean","safeName":"LiteralBoolean"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:LiteralBoolean"},"shape":{"_type":"alias","aliasOf":{"_type":"container","container":{"_type":"literal","literal":{"type":"boolean","boolean":true}}},"resolvedType":{"_type":"container","container":{"_type":"literal","literal":{"type":"boolean","boolean":true}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:LiteralString":{"inline":false,"name":{"name":{"originalName":"LiteralString","camelCase":{"unsafeName":"literalString","safeName":"literalString"},"snakeCase":{"unsafeName":"literal_string","safeName":"literal_string"},"screamingSnakeCase":{"unsafeName":"LITERAL_STRING","safeName":"LITERAL_STRING"},"pascalCase":{"unsafeName":"LiteralString","safeName":"LiteralString"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:LiteralString"},"shape":{"_type":"alias","aliasOf":{"_type":"container","container":{"_type":"literal","literal":{"type":"string","string":"hello"}}},"resolvedType":{"_type":"container","container":{"_type":"literal","literal":{"type":"string","string":"hello"}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:CurrencyAmount":{"inline":false,"name":{"name":{"originalName":"CurrencyAmount","camelCase":{"unsafeName":"currencyAmount","safeName":"currencyAmount"},"snakeCase":{"unsafeName":"currency_amount","safeName":"currency_amount"},"screamingSnakeCase":{"unsafeName":"CURRENCY_AMOUNT","safeName":"CURRENCY_AMOUNT"},"pascalCase":{"unsafeName":"CurrencyAmount","safeName":"CurrencyAmount"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CurrencyAmount"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"$4.50"}}},"jsonExample":"$4.50"}},"jsonExample":"$4.50","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:MovieId":{"inline":false,"name":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id1"}}},"jsonExample":"id1"}},"jsonExample":"id1","docs":null},{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id2"}}},"jsonExample":"id2"}},"jsonExample":"id2","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:ActorId":{"inline":false,"name":{"name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:ActorId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:Movie":{"inline":false,"name":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"shape":{"_type":"object","extends":[],"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"},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"availability":null,"docs":null},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"valueType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_imdb:MovieId"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"object","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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"my-movie-id"}}},"jsonExample":"my-movie-id"}}},"jsonExample":"my-movie-id"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Goodwill Hunting"}}},"jsonExample":"Goodwill Hunting"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"value":{"shape":{"type":"primitive","primitive":{"type":"double","double":14.5}},"jsonExample":14.5},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}}]},"jsonExample":{"id":"my-movie-id","title":"Goodwill Hunting","rating":14.5},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:CreateMovieRequest":{"inline":false,"name":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example1","camelCase":{"unsafeName":"example1","safeName":"example1"},"snakeCase":{"unsafeName":"example_1","safeName":"example_1"},"screamingSnakeCase":{"unsafeName":"EXAMPLE_1","safeName":"EXAMPLE_1"},"pascalCase":{"unsafeName":"Example1","safeName":"Example1"}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}}]},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:DirectorWrapper":{"inline":false,"name":{"name":{"originalName":"DirectorWrapper","camelCase":{"unsafeName":"directorWrapper","safeName":"directorWrapper"},"snakeCase":{"unsafeName":"director_wrapper","safeName":"director_wrapper"},"screamingSnakeCase":{"unsafeName":"DIRECTOR_WRAPPER","safeName":"DIRECTOR_WRAPPER"},"pascalCase":{"unsafeName":"DirectorWrapper","safeName":"DirectorWrapper"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:DirectorWrapper"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"valueType":{"_type":"named","name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_director:Director","type_director:Age"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"shape":{"type":"object","properties":[{"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":{"type":"primitive","primitive":{"type":"string","string":{"original":"George the Director"}}},"jsonExample":"George the Director"},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},{"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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Age","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":20}},"jsonExample":20}}},"jsonExample":20},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}}]}},"jsonExample":{"name":"George the Director","age":20}},"originalTypeDeclaration":{"name":{"originalName":"DirectorWrapper","camelCase":{"unsafeName":"directorWrapper","safeName":"directorWrapper"},"snakeCase":{"unsafeName":"director_wrapper","safeName":"director_wrapper"},"screamingSnakeCase":{"unsafeName":"DIRECTOR_WRAPPER","safeName":"DIRECTOR_WRAPPER"},"pascalCase":{"unsafeName":"DirectorWrapper","safeName":"DirectorWrapper"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:DirectorWrapper"}}]},"jsonExample":{"director":{"name":"George the Director","age":20}},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:EmptyObject":{"inline":false,"name":{"name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:EmptyObject"},"shape":{"_type":"object","extends":[],"properties":[],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:Person":{"inline":false,"name":{"name":{"originalName":"Person","camelCase":{"unsafeName":"person","safeName":"person"},"snakeCase":{"unsafeName":"person","safeName":"person"},"screamingSnakeCase":{"unsafeName":"PERSON","safeName":"PERSON"},"pascalCase":{"unsafeName":"Person","safeName":"Person"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Person"},"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":"actor","camelCase":{"unsafeName":"actor","safeName":"actor"},"snakeCase":{"unsafeName":"actor","safeName":"actor"},"screamingSnakeCase":{"unsafeName":"ACTOR","safeName":"ACTOR"},"pascalCase":{"unsafeName":"Actor","safeName":"Actor"}},"wireValue":"actor"},"shape":{"_type":"singleProperty","name":{"name":{"originalName":"value","camelCase":{"unsafeName":"value","safeName":"value"},"snakeCase":{"unsafeName":"value","safeName":"value"},"screamingSnakeCase":{"unsafeName":"VALUE","safeName":"VALUE"},"pascalCase":{"unsafeName":"Value","safeName":"Value"}},"wireValue":"value"},"type":{"_type":"named","name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:ActorId","default":null,"inline":null}},"displayName":null,"availability":null,"docs":null},{"discriminantValue":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"shape":{"_type":"samePropertiesAsObject","name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"},"displayName":null,"availability":null,"docs":null},{"discriminantValue":{"name":{"originalName":"producer","camelCase":{"unsafeName":"producer","safeName":"producer"},"snakeCase":{"unsafeName":"producer","safeName":"producer"},"screamingSnakeCase":{"unsafeName":"PRODUCER","safeName":"PRODUCER"},"pascalCase":{"unsafeName":"Producer","safeName":"Producer"}},"wireValue":"producer"},"shape":{"_type":"samePropertiesAsObject","name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:EmptyObject"},"displayName":null,"availability":null,"docs":null},{"discriminantValue":{"name":{"originalName":"cinematographer","camelCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"snakeCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"screamingSnakeCase":{"unsafeName":"CINEMATOGRAPHER","safeName":"CINEMATOGRAPHER"},"pascalCase":{"unsafeName":"Cinematographer","safeName":"Cinematographer"}},"wireValue":"cinematographer"},"shape":{"_type":"samePropertiesAsObject","name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:EmptyObject"},"displayName":null,"availability":null,"docs":"i am docs"}]},"referencedTypes":["type_imdb:ActorId","type_director:Director","type_director:Age","type_imdb:EmptyObject"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"PersonExample1","camelCase":{"unsafeName":"personExample1","safeName":"personExample1"},"snakeCase":{"unsafeName":"person_example_1","safeName":"person_example_1"},"screamingSnakeCase":{"unsafeName":"PERSON_EXAMPLE_1","safeName":"PERSON_EXAMPLE_1"},"pascalCase":{"unsafeName":"PersonExample1","safeName":"PersonExample1"}},"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"},"singleUnionType":{"wireDiscriminantValue":{"name":{"originalName":"actor","camelCase":{"unsafeName":"actor","safeName":"actor"},"snakeCase":{"unsafeName":"actor","safeName":"actor"},"screamingSnakeCase":{"unsafeName":"ACTOR","safeName":"ACTOR"},"pascalCase":{"unsafeName":"Actor","safeName":"Actor"}},"wireValue":"actor"},"shape":{"type":"singleProperty","shape":{"type":"named","typeName":{"typeId":"type_imdb:ActorId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Matt Damon"}}},"jsonExample":"Matt Damon"}}},"jsonExample":"Matt Damon"}}},"jsonExample":{"type":"actor","value":"Matt Damon"},"docs":"this is a person example"},{"name":null,"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"},"singleUnionType":{"wireDiscriminantValue":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"shape":{"type":"samePropertiesAsObject","typeId":"type_director:Director","object":{"properties":[{"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":{"type":"primitive","primitive":{"type":"string","string":{"original":"George the Directory"}}},"jsonExample":"George the Directory"},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},{"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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Age","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":100}},"jsonExample":100}}},"jsonExample":100},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}}]}}}},"jsonExample":{"type":"director","name":"George the Directory","age":100},"docs":null},{"name":null,"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"},"singleUnionType":{"wireDiscriminantValue":{"name":{"originalName":"producer","camelCase":{"unsafeName":"producer","safeName":"producer"},"snakeCase":{"unsafeName":"producer","safeName":"producer"},"screamingSnakeCase":{"unsafeName":"PRODUCER","safeName":"PRODUCER"},"pascalCase":{"unsafeName":"Producer","safeName":"Producer"}},"wireValue":"producer"},"shape":{"type":"samePropertiesAsObject","typeId":"type_imdb:EmptyObject","object":{"properties":[]}}}},"jsonExample":{"type":"producer"},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:UnknownRequest":{"inline":false,"name":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"valueType":{"_type":"unknown"},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:RecursiveType":{"inline":false,"name":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType"},"shape":{"_type":"object","extends":[{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}],"properties":[{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"availability":null,"docs":null}]},"referencedTypes":["type_imdb:CreateMovieRequest","type_imdb:RecursiveType"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"The Godfather"}}},"jsonExample":"The Godfather"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":5}},"jsonExample":5},{"shape":{"type":"primitive","primitive":{"type":"double","double":9}},"jsonExample":9}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,5,9]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"named","typeName":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"The Godfather II"}}},"jsonExample":"The Godfather II"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":11}},"jsonExample":11}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,11]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[]},"originalTypeDeclaration":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}}}]}},"jsonExample":{"title":"The Godfather II","ratings":[10,11],"selfReferencing":[]}},{"shape":{"type":"named","typeName":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"The Godfather III"}}},"jsonExample":"The Godfather III"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[]},"originalTypeDeclaration":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}}}]}},"jsonExample":{"title":"The Godfather III","ratings":[],"selfReferencing":[]}}],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[{"title":"The Godfather II","ratings":[10,11],"selfReferencing":[]},{"title":"The Godfather III","ratings":[],"selfReferencing":[]}]},"originalTypeDeclaration":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType"}}]},"jsonExample":{"title":"The Godfather","ratings":[10,5,9],"selfReferencing":[{"title":"The Godfather II","ratings":[10,11],"selfReferencing":[]},{"title":"The Godfather III","ratings":[],"selfReferencing":[]}]},"docs":null},{"name":null,"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Goodfellas"}}},"jsonExample":"Goodfellas"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[]},"originalTypeDeclaration":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType"}}]},"jsonExample":{"title":"Goodfellas","ratings":[1,2,3],"selfReferencing":[]},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{"error_commons:BadRequestError":{"name":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"discriminantValue":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"wireValue":"BadRequestError"},"statusCode":400,"type":null,"examples":[],"docs":null},"error_imdb:NotFoundError":{"name":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"errorId":"error_imdb:NotFoundError"},"discriminantValue":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"wireValue":"NotFoundError"},"statusCode":404,"type":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"examples":[],"docs":null}},"services":{"service_imdb":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imdb.internalEndpoint","name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"6ddea0588fd84ef0a9732ab58c4e1d50078da707","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"originalTypeDeclaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"value":{"shape":{"type":"unknown","unknown":{"key":"value"}},"jsonExample":{"key":"value"}}}]},"typeName":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"}},"jsonExample":{"unknown":{"key":"value"}}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_imdb.createMovie","name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[{"example":{"id":"0ec9625807680a71388bf490199238a7c22569a5bf7092901fcb77bdd393e496","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Shrek"}}},"jsonExample":"Shrek"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,10,10,10]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Shrek","ratings":[10,10,10,10]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null},{"example":{"id":"624277beb517e6d1281e37e2781b35851d2d5de808ab821d6bad4c0917b014a5","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"3435f6402495ee7805cf225e15f28f07a6f16235","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"title"}}},"jsonExample":"title"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1},{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1.1,1.1]}}]},"typeName":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},"jsonExample":{"title":"title","ratings":[1.1,1.1]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_imdb.getMovie","name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"displayName":"Get Movie by Id","auth":false,"idempotent":false,"baseUrl":null,"method":"GET","basePath":null,"path":{"head":"/","parts":[{"pathParameter":"movieId","tail":""}]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies/"},{"pathParameter":"movieId","tail":""}]},"pathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null},{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"allowMultiple":true,"availability":null,"docs":null}],"headers":[],"requestBody":null,"sdkRequest":{"shape":{"type":"wrapper","wrapperName":{"originalName":"GetMovieRequest","camelCase":{"unsafeName":"getMovieRequest","safeName":"getMovieRequest"},"snakeCase":{"unsafeName":"get_movie_request","safeName":"get_movie_request"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_REQUEST","safeName":"GET_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"GetMovieRequest","safeName":"GetMovieRequest"}},"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","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"errorId":"error_imdb:NotFoundError"},"docs":null},{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[{"example":{"id":"b631e6a0d36395e53918c8b8aa048cf1bfe8180757f41402426ec3c109737ddd","name":null,"url":"/test/root/movies/id-123","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}}},"jsonExample":"id-123"}}],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"hello"}}},"jsonExample":"hello"},"shape":{"type":"exploded"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}},"shape":{"type":"object","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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}}},"jsonExample":"id-123"},"originalTypeDeclaration":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Shrek"}}},"jsonExample":"Shrek"},"originalTypeDeclaration":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"value":{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},"originalTypeDeclaration":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}}}]}},"jsonExample":{"id":"id-123","title":"Shrek","rating":10}}}},"docs":null},"codeSamples":null},{"example":{"id":"e0f04d26bcd1b030581f6d67cbd9d4be232fc0bc43bad08ffb1adb038ecbce8f","name":null,"url":"/test/root/movies/id-123","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}}},"jsonExample":"id-123"}}],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"hello"}}},"jsonExample":"hello"},"shape":{"type":"exploded"}}],"request":null,"response":{"type":"error","error":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"errorId":"error_imdb:NotFoundError"},"body":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"3285e2d8c07bd6f2c3100d3de09fb7039f7d4df8","url":"/test/rootPathParam/movies/movieId","name":null,"endpointHeaders":[],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"movieId"}}},"jsonExample":"movieId"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"movieId"}}],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"shape":{"type":"exploded"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"movieName"}}},"jsonExample":"movieName"}}],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"object","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"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id"}}},"jsonExample":"id"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"id"}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"title"}}},"jsonExample":"title"}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1}}]},"typeName":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}},"jsonExample":{"id":"id","title":"title","rating":1.1}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_imdb.delete","name":{"originalName":"delete","camelCase":{"unsafeName":"delete","safeName":"delete"},"snakeCase":{"unsafeName":"delete","safeName":"delete"},"screamingSnakeCase":{"unsafeName":"DELETE","safeName":"DELETE"},"pascalCase":{"unsafeName":"Delete","safeName":"Delete"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"DELETE","basePath":null,"path":{"head":"/","parts":[{"pathParameter":"movieId","tail":""}]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies/"},{"pathParameter":"movieId","tail":""}]},"pathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null},{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"b45fd34c7d591a65682197d8d7b5b726c7e5a1f8","url":"/test/rootPathParam/movies/movieId","name":null,"endpointHeaders":[],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"movieId"}}},"jsonExample":"movieId"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"movieId"}}],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":"property","discriminant":{"name":{"originalName":"error","camelCase":{"unsafeName":"error","safeName":"error"},"snakeCase":{"unsafeName":"error","safeName":"error"},"screamingSnakeCase":{"unsafeName":"ERROR","safeName":"ERROR"},"pascalCase":{"unsafeName":"Error","safeName":"Error"}},"wireValue":"error"},"contentProperty":{"name":{"originalName":"content","camelCase":{"unsafeName":"content","safeName":"content"},"snakeCase":{"unsafeName":"content","safeName":"content"},"screamingSnakeCase":{"unsafeName":"CONTENT","safeName":"CONTENT"},"pascalCase":{"unsafeName":"Content","safeName":"Content"}},"wireValue":"content"}},"basePath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":""}]},"pathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"variables":[],"serviceTypeReferenceInfo":{"typesReferencedOnlyByService":{"service_imdb":["type_imdb:MovieId","type_imdb:Movie","type_imdb:CreateMovieRequest","type_imdb:UnknownRequest"]},"sharedTypes":["type_commons:Internal","type_commons:Type","type_commons:UndiscriminatedUnion","type_director:Director","type_director:Age","type_director:LiteralBoolean","type_director:LiteralString","type_imdb:CurrencyAmount","type_imdb:ActorId","type_imdb:DirectorWrapper","type_imdb:EmptyObject","type_imdb:Person","type_imdb:RecursiveType"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:Internal":{"type":"object","declaration":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_commons:Type":{"type":"object","declaration":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_commons:UndiscriminatedUnion":{"type":"undiscriminatedUnion","declaration":{"name":{"originalName":"UndiscriminatedUnion","camelCase":{"unsafeName":"undiscriminatedUnion","safeName":"undiscriminatedUnion"},"snakeCase":{"unsafeName":"undiscriminated_union","safeName":"undiscriminated_union"},"screamingSnakeCase":{"unsafeName":"UNDISCRIMINATED_UNION","safeName":"UNDISCRIMINATED_UNION"},"pascalCase":{"unsafeName":"UndiscriminatedUnion","safeName":"UndiscriminatedUnion"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"types":[{"_type":"primitive","value":"STRING"},{"_type":"list","value":{"_type":"primitive","value":"STRING"}},{"_type":"primitive","value":"INTEGER"},{"_type":"list","value":{"_type":"list","value":{"_type":"primitive","value":"INTEGER"}}}]},"type_director:Director":{"type":"object","declaration":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"properties":[{"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":"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":"named","value":"type_director:Age"}}]},"type_director:Age":{"type":"alias","declaration":{"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"typeReference":{"_type":"primitive","value":"INTEGER"}},"type_director:LiteralBoolean":{"type":"alias","declaration":{"name":{"originalName":"LiteralBoolean","camelCase":{"unsafeName":"literalBoolean","safeName":"literalBoolean"},"snakeCase":{"unsafeName":"literal_boolean","safeName":"literal_boolean"},"screamingSnakeCase":{"unsafeName":"LITERAL_BOOLEAN","safeName":"LITERAL_BOOLEAN"},"pascalCase":{"unsafeName":"LiteralBoolean","safeName":"LiteralBoolean"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"typeReference":{"_type":"literal","value":{"type":"boolean","value":true}}},"type_director:LiteralString":{"type":"alias","declaration":{"name":{"originalName":"LiteralString","camelCase":{"unsafeName":"literalString","safeName":"literalString"},"snakeCase":{"unsafeName":"literal_string","safeName":"literal_string"},"screamingSnakeCase":{"unsafeName":"LITERAL_STRING","safeName":"LITERAL_STRING"},"pascalCase":{"unsafeName":"LiteralString","safeName":"LiteralString"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"typeReference":{"_type":"literal","value":{"type":"string","value":"hello"}}},"type_imdb:CurrencyAmount":{"type":"alias","declaration":{"name":{"originalName":"CurrencyAmount","camelCase":{"unsafeName":"currencyAmount","safeName":"currencyAmount"},"snakeCase":{"unsafeName":"currency_amount","safeName":"currency_amount"},"screamingSnakeCase":{"unsafeName":"CURRENCY_AMOUNT","safeName":"CURRENCY_AMOUNT"},"pascalCase":{"unsafeName":"CurrencyAmount","safeName":"CurrencyAmount"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:MovieId":{"type":"alias","declaration":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:ActorId":{"type":"alias","declaration":{"name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:Movie":{"type":"object","declaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"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":"named","value":"type_imdb:MovieId"}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"typeReference":{"_type":"primitive","value":"DOUBLE"}}]},"type_imdb:CreateMovieRequest":{"type":"object","declaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"DOUBLE"}}}]},"type_imdb:DirectorWrapper":{"type":"object","declaration":{"name":{"originalName":"DirectorWrapper","camelCase":{"unsafeName":"directorWrapper","safeName":"directorWrapper"},"snakeCase":{"unsafeName":"director_wrapper","safeName":"director_wrapper"},"screamingSnakeCase":{"unsafeName":"DIRECTOR_WRAPPER","safeName":"DIRECTOR_WRAPPER"},"pascalCase":{"unsafeName":"DirectorWrapper","safeName":"DirectorWrapper"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"typeReference":{"_type":"named","value":"type_director:Director"}}]},"type_imdb:EmptyObject":{"type":"object","declaration":{"name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[]},"type_imdb:Person":{"type":"discriminatedUnion","declaration":{"name":{"originalName":"Person","camelCase":{"unsafeName":"person","safeName":"person"},"snakeCase":{"unsafeName":"person","safeName":"person"},"screamingSnakeCase":{"unsafeName":"PERSON","safeName":"PERSON"},"pascalCase":{"unsafeName":"Person","safeName":"Person"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"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":{"actor":{"type":"singleProperty","typeReference":{"_type":"named","value":"type_imdb:ActorId"},"discriminantValue":{"name":{"originalName":"actor","camelCase":{"unsafeName":"actor","safeName":"actor"},"snakeCase":{"unsafeName":"actor","safeName":"actor"},"screamingSnakeCase":{"unsafeName":"ACTOR","safeName":"ACTOR"},"pascalCase":{"unsafeName":"Actor","safeName":"Actor"}},"wireValue":"actor"},"properties":null},"director":{"type":"samePropertiesAsObject","typeId":"type_director:Director","discriminantValue":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"properties":[]},"producer":{"type":"samePropertiesAsObject","typeId":"type_imdb:EmptyObject","discriminantValue":{"name":{"originalName":"producer","camelCase":{"unsafeName":"producer","safeName":"producer"},"snakeCase":{"unsafeName":"producer","safeName":"producer"},"screamingSnakeCase":{"unsafeName":"PRODUCER","safeName":"PRODUCER"},"pascalCase":{"unsafeName":"Producer","safeName":"Producer"}},"wireValue":"producer"},"properties":[]},"cinematographer":{"type":"samePropertiesAsObject","typeId":"type_imdb:EmptyObject","discriminantValue":{"name":{"originalName":"cinematographer","camelCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"snakeCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"screamingSnakeCase":{"unsafeName":"CINEMATOGRAPHER","safeName":"CINEMATOGRAPHER"},"pascalCase":{"unsafeName":"Cinematographer","safeName":"Cinematographer"}},"wireValue":"cinematographer"},"properties":[]}}},"type_imdb:UnknownRequest":{"type":"object","declaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"typeReference":{"_type":"unknown"}}]},"type_imdb:RecursiveType":{"type":"object","declaration":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"DOUBLE"}}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"typeReference":{"_type":"list","value":{"_type":"named","value":"type_imdb:RecursiveType"}}}]}},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"typeReference":{"_type":"optional","value":{"_type":"primitive","value":"STRING"}}}],"endpoints":{"endpoint_imdb.internalEndpoint":{"auth":null,"declaration":{"name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:UnknownRequest"}}},"response":{"type":"json"}},"endpoint_imdb.createMovie":{"auth":null,"declaration":{"name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:CreateMovieRequest"}}},"response":{"type":"json"}},"endpoint_imdb.getMovie":{"auth":null,"declaration":{"name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"GET","path":"/test/{rootPathParam}/movies/{movieId}"},"request":{"type":"inlined","declaration":{"name":{"originalName":"GetMovieRequest","camelCase":{"unsafeName":"getMovieRequest","safeName":"getMovieRequest"},"snakeCase":{"unsafeName":"get_movie_request","safeName":"get_movie_request"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_REQUEST","safeName":"GET_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"GetMovieRequest","safeName":"GetMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"wireValue":"movieId"},"typeReference":{"_type":"named","value":"type_imdb:MovieId"}}],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"STRING"}}}],"headers":[],"body":null,"metadata":{"includePathParameters":false,"onlyPathParameters":false}},"response":{"type":"json"}},"endpoint_imdb.delete":{"auth":null,"declaration":{"name":{"originalName":"delete","camelCase":{"unsafeName":"delete","safeName":"delete"},"snakeCase":{"unsafeName":"delete","safeName":"delete"},"screamingSnakeCase":{"unsafeName":"DELETE","safeName":"DELETE"},"pascalCase":{"unsafeName":"Delete","safeName":"Delete"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"DELETE","path":"/test/{rootPathParam}/movies/{movieId}"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"wireValue":"movieId"},"typeReference":{"_type":"named","value":"type_imdb:MovieId"}}],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:Internal","type_commons:Type","type_commons:UndiscriminatedUnion"],"errors":["error_commons:BadRequestError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_director":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"service":null,"types":["type_director:Director","type_director:Age","type_director:LiteralBoolean","type_director:LiteralString"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imdb":{"name":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"service":"service_imdb","types":["type_imdb:CurrencyAmount","type_imdb:MovieId","type_imdb:ActorId","type_imdb:Movie","type_imdb:CreateMovieRequest","type_imdb:DirectorWrapper","type_imdb:EmptyObject","type_imdb:Person","type_imdb:UnknownRequest","type_imdb:RecursiveType"],"errors":["error_imdb:NotFoundError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_director","subpackage_imdb"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`ir > {"name":"simple"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":"foo bar baz","auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"valueType":{"_type":"container","container":{"_type":"optional","optional":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"env":null,"availability":null,"docs":null}],"idempotencyHeaders":[],"types":{"type_commons:Internal":{"inline":null,"name":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Internal"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_commons:Type":{"inline":null,"name":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:Type"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"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_commons:UndiscriminatedUnion":{"inline":null,"name":{"name":{"originalName":"UndiscriminatedUnion","camelCase":{"unsafeName":"undiscriminatedUnion","safeName":"undiscriminatedUnion"},"snakeCase":{"unsafeName":"undiscriminated_union","safeName":"undiscriminated_union"},"screamingSnakeCase":{"unsafeName":"UNDISCRIMINATED_UNION","safeName":"UNDISCRIMINATED_UNION"},"pascalCase":{"unsafeName":"UndiscriminatedUnion","safeName":"UndiscriminatedUnion"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:UndiscriminatedUnion"},"shape":{"_type":"undiscriminatedUnion","members":[{"type":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"docs":null},{"type":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}}},"docs":null},{"type":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"docs":null},{"type":{"_type":"container","container":{"_type":"list","list":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}}}}}},"docs":null}]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:Director":{"inline":null,"name":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"},"shape":{"_type":"object","extends":[],"properties":[{"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"},"valueType":{"_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":"named","name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Age","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_director:Age"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"GeorgeExample","camelCase":{"unsafeName":"georgeExample","safeName":"georgeExample"},"snakeCase":{"unsafeName":"george_example","safeName":"george_example"},"screamingSnakeCase":{"unsafeName":"GEORGE_EXAMPLE","safeName":"GEORGE_EXAMPLE"},"pascalCase":{"unsafeName":"GeorgeExample","safeName":"GeorgeExample"}},"shape":{"type":"object","properties":[{"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":{"type":"primitive","primitive":{"type":"string","string":{"original":"George the Director"}}},"jsonExample":"George the Director"},"originalTypeDeclaration":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"}},{"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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Age","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":20}},"jsonExample":20}}},"jsonExample":20},"originalTypeDeclaration":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"}}]},"jsonExample":{"name":"George the Director","age":20},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:Age":{"inline":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"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Age"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"INTEGER","v2":{"type":"integer","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example1","camelCase":{"unsafeName":"example1","safeName":"example1"},"snakeCase":{"unsafeName":"example_1","safeName":"example_1"},"screamingSnakeCase":{"unsafeName":"EXAMPLE_1","safeName":"EXAMPLE_1"},"pascalCase":{"unsafeName":"Example1","safeName":"Example1"}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":20}},"jsonExample":20}},"jsonExample":20,"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:LiteralBoolean":{"inline":null,"name":{"name":{"originalName":"LiteralBoolean","camelCase":{"unsafeName":"literalBoolean","safeName":"literalBoolean"},"snakeCase":{"unsafeName":"literal_boolean","safeName":"literal_boolean"},"screamingSnakeCase":{"unsafeName":"LITERAL_BOOLEAN","safeName":"LITERAL_BOOLEAN"},"pascalCase":{"unsafeName":"LiteralBoolean","safeName":"LiteralBoolean"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:LiteralBoolean"},"shape":{"_type":"alias","aliasOf":{"_type":"container","container":{"_type":"literal","literal":{"type":"boolean","boolean":true}}},"resolvedType":{"_type":"container","container":{"_type":"literal","literal":{"type":"boolean","boolean":true}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_director:LiteralString":{"inline":null,"name":{"name":{"originalName":"LiteralString","camelCase":{"unsafeName":"literalString","safeName":"literalString"},"snakeCase":{"unsafeName":"literal_string","safeName":"literal_string"},"screamingSnakeCase":{"unsafeName":"LITERAL_STRING","safeName":"LITERAL_STRING"},"pascalCase":{"unsafeName":"LiteralString","safeName":"LiteralString"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:LiteralString"},"shape":{"_type":"alias","aliasOf":{"_type":"container","container":{"_type":"literal","literal":{"type":"string","string":"hello"}}},"resolvedType":{"_type":"container","container":{"_type":"literal","literal":{"type":"string","string":"hello"}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:CurrencyAmount":{"inline":null,"name":{"name":{"originalName":"CurrencyAmount","camelCase":{"unsafeName":"currencyAmount","safeName":"currencyAmount"},"snakeCase":{"unsafeName":"currency_amount","safeName":"currency_amount"},"screamingSnakeCase":{"unsafeName":"CURRENCY_AMOUNT","safeName":"CURRENCY_AMOUNT"},"pascalCase":{"unsafeName":"CurrencyAmount","safeName":"CurrencyAmount"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CurrencyAmount"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"$4.50"}}},"jsonExample":"$4.50"}},"jsonExample":"$4.50","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:MovieId":{"inline":null,"name":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id1"}}},"jsonExample":"id1"}},"jsonExample":"id1","docs":null},{"name":null,"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id2"}}},"jsonExample":"id2"}},"jsonExample":"id2","docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:ActorId":{"inline":null,"name":{"name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:ActorId"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:Movie":{"inline":null,"name":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"shape":{"_type":"object","extends":[],"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"},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"availability":null,"docs":null},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"valueType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_imdb:MovieId"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"object","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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"my-movie-id"}}},"jsonExample":"my-movie-id"}}},"jsonExample":"my-movie-id"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Goodwill Hunting"}}},"jsonExample":"Goodwill Hunting"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"value":{"shape":{"type":"primitive","primitive":{"type":"double","double":14.5}},"jsonExample":14.5},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}}]},"jsonExample":{"id":"my-movie-id","title":"Goodwill Hunting","rating":14.5},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:CreateMovieRequest":{"inline":null,"name":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"Example1","camelCase":{"unsafeName":"example1","safeName":"example1"},"snakeCase":{"unsafeName":"example_1","safeName":"example_1"},"screamingSnakeCase":{"unsafeName":"EXAMPLE_1","safeName":"EXAMPLE_1"},"pascalCase":{"unsafeName":"Example1","safeName":"Example1"}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}}]},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:DirectorWrapper":{"inline":null,"name":{"name":{"originalName":"DirectorWrapper","camelCase":{"unsafeName":"directorWrapper","safeName":"directorWrapper"},"snakeCase":{"unsafeName":"director_wrapper","safeName":"director_wrapper"},"screamingSnakeCase":{"unsafeName":"DIRECTOR_WRAPPER","safeName":"DIRECTOR_WRAPPER"},"pascalCase":{"unsafeName":"DirectorWrapper","safeName":"DirectorWrapper"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:DirectorWrapper"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"valueType":{"_type":"named","name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director","default":null,"inline":null},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":["type_director:Director","type_director:Age"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"shape":{"type":"object","properties":[{"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":{"type":"primitive","primitive":{"type":"string","string":{"original":"George the Director"}}},"jsonExample":"George the Director"},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},{"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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Age","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":20}},"jsonExample":20}}},"jsonExample":20},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}}]}},"jsonExample":{"name":"George the Director","age":20}},"originalTypeDeclaration":{"name":{"originalName":"DirectorWrapper","camelCase":{"unsafeName":"directorWrapper","safeName":"directorWrapper"},"snakeCase":{"unsafeName":"director_wrapper","safeName":"director_wrapper"},"screamingSnakeCase":{"unsafeName":"DIRECTOR_WRAPPER","safeName":"DIRECTOR_WRAPPER"},"pascalCase":{"unsafeName":"DirectorWrapper","safeName":"DirectorWrapper"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:DirectorWrapper"}}]},"jsonExample":{"director":{"name":"George the Director","age":20}},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:EmptyObject":{"inline":null,"name":{"name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:EmptyObject"},"shape":{"_type":"object","extends":[],"properties":[],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:Person":{"inline":null,"name":{"name":{"originalName":"Person","camelCase":{"unsafeName":"person","safeName":"person"},"snakeCase":{"unsafeName":"person","safeName":"person"},"screamingSnakeCase":{"unsafeName":"PERSON","safeName":"PERSON"},"pascalCase":{"unsafeName":"Person","safeName":"Person"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Person"},"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":"actor","camelCase":{"unsafeName":"actor","safeName":"actor"},"snakeCase":{"unsafeName":"actor","safeName":"actor"},"screamingSnakeCase":{"unsafeName":"ACTOR","safeName":"ACTOR"},"pascalCase":{"unsafeName":"Actor","safeName":"Actor"}},"wireValue":"actor"},"shape":{"_type":"singleProperty","name":{"name":{"originalName":"value","camelCase":{"unsafeName":"value","safeName":"value"},"snakeCase":{"unsafeName":"value","safeName":"value"},"screamingSnakeCase":{"unsafeName":"VALUE","safeName":"VALUE"},"pascalCase":{"unsafeName":"Value","safeName":"Value"}},"wireValue":"value"},"type":{"_type":"named","name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:ActorId","default":null,"inline":null}},"displayName":null,"availability":null,"docs":null},{"discriminantValue":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"shape":{"_type":"samePropertiesAsObject","name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"typeId":"type_director:Director"},"displayName":null,"availability":null,"docs":null},{"discriminantValue":{"name":{"originalName":"producer","camelCase":{"unsafeName":"producer","safeName":"producer"},"snakeCase":{"unsafeName":"producer","safeName":"producer"},"screamingSnakeCase":{"unsafeName":"PRODUCER","safeName":"PRODUCER"},"pascalCase":{"unsafeName":"Producer","safeName":"Producer"}},"wireValue":"producer"},"shape":{"_type":"samePropertiesAsObject","name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:EmptyObject"},"displayName":null,"availability":null,"docs":null},{"discriminantValue":{"name":{"originalName":"cinematographer","camelCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"snakeCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"screamingSnakeCase":{"unsafeName":"CINEMATOGRAPHER","safeName":"CINEMATOGRAPHER"},"pascalCase":{"unsafeName":"Cinematographer","safeName":"Cinematographer"}},"wireValue":"cinematographer"},"shape":{"_type":"samePropertiesAsObject","name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:EmptyObject"},"displayName":null,"availability":null,"docs":"i am docs"}]},"referencedTypes":["type_imdb:ActorId","type_director:Director","type_director:Age","type_imdb:EmptyObject"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":{"originalName":"PersonExample1","camelCase":{"unsafeName":"personExample1","safeName":"personExample1"},"snakeCase":{"unsafeName":"person_example_1","safeName":"person_example_1"},"screamingSnakeCase":{"unsafeName":"PERSON_EXAMPLE_1","safeName":"PERSON_EXAMPLE_1"},"pascalCase":{"unsafeName":"PersonExample1","safeName":"PersonExample1"}},"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"},"singleUnionType":{"wireDiscriminantValue":{"name":{"originalName":"actor","camelCase":{"unsafeName":"actor","safeName":"actor"},"snakeCase":{"unsafeName":"actor","safeName":"actor"},"screamingSnakeCase":{"unsafeName":"ACTOR","safeName":"ACTOR"},"pascalCase":{"unsafeName":"Actor","safeName":"Actor"}},"wireValue":"actor"},"shape":{"type":"singleProperty","shape":{"type":"named","typeName":{"typeId":"type_imdb:ActorId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Matt Damon"}}},"jsonExample":"Matt Damon"}}},"jsonExample":"Matt Damon"}}},"jsonExample":{"type":"actor","value":"Matt Damon"},"docs":"this is a person example"},{"name":null,"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"},"singleUnionType":{"wireDiscriminantValue":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"shape":{"type":"samePropertiesAsObject","typeId":"type_director:Director","object":{"properties":[{"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":{"type":"primitive","primitive":{"type":"string","string":{"original":"George the Directory"}}},"jsonExample":"George the Directory"},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},{"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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_director:Age","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"integer","integer":100}},"jsonExample":100}}},"jsonExample":100},"originalTypeDeclaration":{"typeId":"type_director:Director","fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}}]}}}},"jsonExample":{"type":"director","name":"George the Directory","age":100},"docs":null},{"name":null,"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"},"singleUnionType":{"wireDiscriminantValue":{"name":{"originalName":"producer","camelCase":{"unsafeName":"producer","safeName":"producer"},"snakeCase":{"unsafeName":"producer","safeName":"producer"},"screamingSnakeCase":{"unsafeName":"PRODUCER","safeName":"PRODUCER"},"pascalCase":{"unsafeName":"Producer","safeName":"Producer"}},"wireValue":"producer"},"shape":{"type":"samePropertiesAsObject","typeId":"type_imdb:EmptyObject","object":{"properties":[]}}}},"jsonExample":{"type":"producer"},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:UnknownRequest":{"inline":null,"name":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"shape":{"_type":"object","extends":[],"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"valueType":{"_type":"unknown"},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[]},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null},"type_imdb:RecursiveType":{"inline":null,"name":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType"},"shape":{"_type":"object","extends":[{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}],"properties":[{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"valueType":{"_type":"container","container":{"_type":"list","list":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"availability":null,"docs":null}]},"referencedTypes":["type_imdb:CreateMovieRequest","type_imdb:RecursiveType"],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[{"name":null,"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"The Godfather"}}},"jsonExample":"The Godfather"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":5}},"jsonExample":5},{"shape":{"type":"primitive","primitive":{"type":"double","double":9}},"jsonExample":9}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,5,9]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"named","typeName":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"The Godfather II"}}},"jsonExample":"The Godfather II"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":11}},"jsonExample":11}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,11]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[]},"originalTypeDeclaration":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}}}]}},"jsonExample":{"title":"The Godfather II","ratings":[10,11],"selfReferencing":[]}},{"shape":{"type":"named","typeName":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"The Godfather III"}}},"jsonExample":"The Godfather III"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[]},"originalTypeDeclaration":{"typeId":"type_imdb:RecursiveType","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}}}}]}},"jsonExample":{"title":"The Godfather III","ratings":[],"selfReferencing":[]}}],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[{"title":"The Godfather II","ratings":[10,11],"selfReferencing":[]},{"title":"The Godfather III","ratings":[],"selfReferencing":[]}]},"originalTypeDeclaration":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType"}}]},"jsonExample":{"title":"The Godfather","ratings":[10,5,9],"selfReferencing":[{"title":"The Godfather II","ratings":[10,11],"selfReferencing":[]},{"title":"The Godfather III","ratings":[],"selfReferencing":[]}]},"docs":null},{"name":null,"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Goodfellas"}}},"jsonExample":"Goodfellas"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"value":{"shape":{"type":"container","container":{"type":"list","list":[],"itemType":{"_type":"named","name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType","default":null,"inline":null}}},"jsonExample":[]},"originalTypeDeclaration":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:RecursiveType"}}]},"jsonExample":{"title":"Goodfellas","ratings":[1,2,3],"selfReferencing":[]},"docs":null}],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{"error_commons:BadRequestError":{"name":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"discriminantValue":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"wireValue":"BadRequestError"},"statusCode":400,"type":null,"examples":[],"docs":null},"error_imdb:NotFoundError":{"name":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"errorId":"error_imdb:NotFoundError"},"discriminantValue":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"wireValue":"NotFoundError"},"statusCode":404,"type":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"examples":[],"docs":null}},"services":{"service_imdb":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_imdb.internalEndpoint","name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"6ddea0588fd84ef0a9732ab58c4e1d50078da707","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"originalTypeDeclaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"},"value":{"shape":{"type":"unknown","unknown":{"key":"value"}},"jsonExample":{"key":"value"}}}]},"typeName":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:UnknownRequest"}},"jsonExample":{"unknown":{"key":"value"}}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_imdb.createMovie","name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"","parts":[]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies"}]},"pathParameters":[],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":{"type":"reference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null},"sdkRequest":{"shape":{"type":"justRequestBody","value":{"type":"typeReference","requestBodyType":{"_type":"named","name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest","default":null,"inline":null},"contentType":null,"docs":null}},"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","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[{"example":{"id":"0ec9625807680a71388bf490199238a7c22569a5bf7092901fcb77bdd393e496","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Shrek"}}},"jsonExample":"Shrek"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[10,10,10,10]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Shrek","ratings":[10,10,10,10]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null},{"example":{"id":"624277beb517e6d1281e37e2781b35851d2d5de808ab821d6bad4c0917b014a5","name":null,"url":"/test/root/movies","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[],"request":{"type":"reference","shape":{"type":"named","typeName":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}},"shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Winnie the Pooh"}}},"jsonExample":"Winnie the Pooh"},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1}},"jsonExample":1},{"shape":{"type":"primitive","primitive":{"type":"double","double":2}},"jsonExample":2},{"shape":{"type":"primitive","primitive":{"type":"double","double":3}},"jsonExample":3}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1,2,3]},"originalTypeDeclaration":{"typeId":"type_imdb:CreateMovieRequest","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}}}}]}},"jsonExample":{"title":"Winnie the Pooh","ratings":[1,2,3]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"shrek-123"}}},"jsonExample":"shrek-123"}}},"jsonExample":"shrek-123"}}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"3435f6402495ee7805cf225e15f28f07a6f16235","url":"/test/rootPathParam/movies","name":null,"endpointHeaders":[],"endpointPathParameters":[],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":{"type":"reference","shape":{"type":"named","shape":{"type":"object","properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"title"}}},"jsonExample":"title"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"originalTypeDeclaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"},"value":{"shape":{"type":"container","container":{"type":"list","list":[{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1},{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1}],"itemType":{"_type":"primitive","primitive":{"v1":"DOUBLE","v2":{"type":"double","default":null,"validation":null}}}}},"jsonExample":[1.1,1.1]}}]},"typeName":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:CreateMovieRequest"}},"jsonExample":{"title":"title","ratings":[1.1,1.1]}},"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"string"}}},"jsonExample":"string"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"string"}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_imdb.getMovie","name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"displayName":"Get Movie by Id","auth":false,"idempotent":false,"baseUrl":null,"method":"GET","basePath":null,"path":{"head":"/","parts":[{"pathParameter":"movieId","tail":""}]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies/"},{"pathParameter":"movieId","tail":""}]},"pathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null},{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"allowMultiple":true,"availability":null,"docs":null}],"headers":[],"requestBody":null,"sdkRequest":{"shape":{"type":"wrapper","wrapperName":{"originalName":"GetMovieRequest","camelCase":{"unsafeName":"getMovieRequest","safeName":"getMovieRequest"},"snakeCase":{"unsafeName":"get_movie_request","safeName":"get_movie_request"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_REQUEST","safeName":"GET_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"GetMovieRequest","safeName":"GetMovieRequest"}},"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","value":{"type":"response","responseBodyType":{"_type":"named","name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie","default":null,"inline":null},"docs":null}},"status-code":null},"errors":[{"error":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"errorId":"error_imdb:NotFoundError"},"docs":null},{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[{"example":{"id":"b631e6a0d36395e53918c8b8aa048cf1bfe8180757f41402426ec3c109737ddd","name":null,"url":"/test/root/movies/id-123","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}}},"jsonExample":"id-123"}}],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"hello"}}},"jsonExample":"hello"},"shape":{"type":"exploded"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}},"shape":{"type":"object","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"},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}}},"jsonExample":"id-123"},"originalTypeDeclaration":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"Shrek"}}},"jsonExample":"Shrek"},"originalTypeDeclaration":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"value":{"shape":{"type":"primitive","primitive":{"type":"double","double":10}},"jsonExample":10},"originalTypeDeclaration":{"typeId":"type_imdb:Movie","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}}}}]}},"jsonExample":{"id":"id-123","title":"Shrek","rating":10}}}},"docs":null},"codeSamples":null},{"example":{"id":"e0f04d26bcd1b030581f6d67cbd9d4be232fc0bc43bad08ffb1adb038ecbce8f","name":null,"url":"/test/root/movies/id-123","rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}}],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","typeName":{"typeId":"type_imdb:MovieId","fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}}},"shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}}},"jsonExample":"id-123"}}],"servicePathParameters":[],"endpointHeaders":[],"serviceHeaders":[],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"hello"}}},"jsonExample":"hello"},"shape":{"type":"exploded"}}],"request":null,"response":{"type":"error","error":{"name":{"originalName":"NotFoundError","camelCase":{"unsafeName":"notFoundError","safeName":"notFoundError"},"snakeCase":{"unsafeName":"not_found_error","safeName":"not_found_error"},"screamingSnakeCase":{"unsafeName":"NOT_FOUND_ERROR","safeName":"NOT_FOUND_ERROR"},"pascalCase":{"unsafeName":"NotFoundError","safeName":"NotFoundError"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"errorId":"error_imdb:NotFoundError"},"body":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id-123"}}},"jsonExample":"id-123"}},"docs":null},"codeSamples":null}],"autogeneratedExamples":[{"example":{"id":"3285e2d8c07bd6f2c3100d3de09fb7039f7d4df8","url":"/test/rootPathParam/movies/movieId","name":null,"endpointHeaders":[],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"movieId"}}},"jsonExample":"movieId"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"movieId"}}],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"shape":{"type":"exploded"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"movieName"}}},"jsonExample":"movieName"}}],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":{"shape":{"type":"named","shape":{"type":"object","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"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"id"}}},"jsonExample":"id"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"id"}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"title"}}},"jsonExample":"title"}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"originalTypeDeclaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"},"value":{"shape":{"type":"primitive","primitive":{"type":"double","double":1.1}},"jsonExample":1.1}}]},"typeName":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:Movie"}},"jsonExample":{"id":"id","title":"title","rating":1.1}}}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_imdb.delete","name":{"originalName":"delete","camelCase":{"unsafeName":"delete","safeName":"delete"},"snakeCase":{"unsafeName":"delete","safeName":"delete"},"screamingSnakeCase":{"unsafeName":"DELETE","safeName":"DELETE"},"pascalCase":{"unsafeName":"Delete","safeName":"Delete"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"DELETE","basePath":null,"path":{"head":"/","parts":[{"pathParameter":"movieId","tail":""}]},"fullPath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":"/movies/"},{"pathParameter":"movieId","tail":""}]},"pathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"allPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null},{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"valueType":{"_type":"named","name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId","default":null,"inline":null},"location":"ENDPOINT","variable":null,"docs":null}],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[{"error":{"name":{"originalName":"BadRequestError","camelCase":{"unsafeName":"badRequestError","safeName":"badRequestError"},"snakeCase":{"unsafeName":"bad_request_error","safeName":"bad_request_error"},"screamingSnakeCase":{"unsafeName":"BAD_REQUEST_ERROR","safeName":"BAD_REQUEST_ERROR"},"pascalCase":{"unsafeName":"BadRequestError","safeName":"BadRequestError"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"errorId":"error_commons:BadRequestError"},"docs":null}],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"b45fd34c7d591a65682197d8d7b5b726c7e5a1f8","url":"/test/rootPathParam/movies/movieId","name":null,"endpointHeaders":[],"endpointPathParameters":[{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"movieId"}}},"jsonExample":"movieId"}},"typeName":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"typeId":"type_imdb:MovieId"}},"jsonExample":"movieId"}}],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"rootPathParam"}}},"jsonExample":"rootPathParam"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":"property","discriminant":{"name":{"originalName":"error","camelCase":{"unsafeName":"error","safeName":"error"},"snakeCase":{"unsafeName":"error","safeName":"error"},"screamingSnakeCase":{"unsafeName":"ERROR","safeName":"ERROR"},"pascalCase":{"unsafeName":"Error","safeName":"Error"}},"wireValue":"error"},"contentProperty":{"name":{"originalName":"content","camelCase":{"unsafeName":"content","safeName":"content"},"snakeCase":{"unsafeName":"content","safeName":"content"},"screamingSnakeCase":{"unsafeName":"CONTENT","safeName":"CONTENT"},"pascalCase":{"unsafeName":"Content","safeName":"Content"}},"wireValue":"content"}},"basePath":{"head":"/test/","parts":[{"pathParameter":"rootPathParam","tail":""}]},"pathParameters":[{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"location":"ROOT","variable":null,"docs":null}],"variables":[],"serviceTypeReferenceInfo":{"typesReferencedOnlyByService":{"service_imdb":["type_imdb:MovieId","type_imdb:Movie","type_imdb:CreateMovieRequest","type_imdb:UnknownRequest"]},"sharedTypes":["type_commons:Internal","type_commons:Type","type_commons:UndiscriminatedUnion","type_director:Director","type_director:Age","type_director:LiteralBoolean","type_director:LiteralString","type_imdb:CurrencyAmount","type_imdb:ActorId","type_imdb:DirectorWrapper","type_imdb:EmptyObject","type_imdb:Person","type_imdb:RecursiveType"]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:Internal":{"type":"object","declaration":{"name":{"originalName":"Internal","camelCase":{"unsafeName":"internal","safeName":"internal"},"snakeCase":{"unsafeName":"internal","safeName":"internal"},"screamingSnakeCase":{"unsafeName":"INTERNAL","safeName":"INTERNAL"},"pascalCase":{"unsafeName":"Internal","safeName":"Internal"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_commons:Type":{"type":"object","declaration":{"name":{"originalName":"Type","camelCase":{"unsafeName":"type","safeName":"type"},"snakeCase":{"unsafeName":"type","safeName":"type"},"screamingSnakeCase":{"unsafeName":"TYPE","safeName":"TYPE"},"pascalCase":{"unsafeName":"Type","safeName":"Type"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"properties":[{"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":"primitive","value":"STRING"}}]},"type_commons:UndiscriminatedUnion":{"type":"undiscriminatedUnion","declaration":{"name":{"originalName":"UndiscriminatedUnion","camelCase":{"unsafeName":"undiscriminatedUnion","safeName":"undiscriminatedUnion"},"snakeCase":{"unsafeName":"undiscriminated_union","safeName":"undiscriminated_union"},"screamingSnakeCase":{"unsafeName":"UNDISCRIMINATED_UNION","safeName":"UNDISCRIMINATED_UNION"},"pascalCase":{"unsafeName":"UndiscriminatedUnion","safeName":"UndiscriminatedUnion"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"types":[{"_type":"primitive","value":"STRING"},{"_type":"list","value":{"_type":"primitive","value":"STRING"}},{"_type":"primitive","value":"INTEGER"},{"_type":"list","value":{"_type":"list","value":{"_type":"primitive","value":"INTEGER"}}}]},"type_director:Director":{"type":"object","declaration":{"name":{"originalName":"Director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"properties":[{"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":"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":"named","value":"type_director:Age"}}]},"type_director:Age":{"type":"alias","declaration":{"name":{"originalName":"Age","camelCase":{"unsafeName":"age","safeName":"age"},"snakeCase":{"unsafeName":"age","safeName":"age"},"screamingSnakeCase":{"unsafeName":"AGE","safeName":"AGE"},"pascalCase":{"unsafeName":"Age","safeName":"Age"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"typeReference":{"_type":"primitive","value":"INTEGER"}},"type_director:LiteralBoolean":{"type":"alias","declaration":{"name":{"originalName":"LiteralBoolean","camelCase":{"unsafeName":"literalBoolean","safeName":"literalBoolean"},"snakeCase":{"unsafeName":"literal_boolean","safeName":"literal_boolean"},"screamingSnakeCase":{"unsafeName":"LITERAL_BOOLEAN","safeName":"LITERAL_BOOLEAN"},"pascalCase":{"unsafeName":"LiteralBoolean","safeName":"LiteralBoolean"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"typeReference":{"_type":"literal","value":{"type":"boolean","value":true}}},"type_director:LiteralString":{"type":"alias","declaration":{"name":{"originalName":"LiteralString","camelCase":{"unsafeName":"literalString","safeName":"literalString"},"snakeCase":{"unsafeName":"literal_string","safeName":"literal_string"},"screamingSnakeCase":{"unsafeName":"LITERAL_STRING","safeName":"LITERAL_STRING"},"pascalCase":{"unsafeName":"LiteralString","safeName":"LiteralString"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}}},"typeReference":{"_type":"literal","value":{"type":"string","value":"hello"}}},"type_imdb:CurrencyAmount":{"type":"alias","declaration":{"name":{"originalName":"CurrencyAmount","camelCase":{"unsafeName":"currencyAmount","safeName":"currencyAmount"},"snakeCase":{"unsafeName":"currency_amount","safeName":"currency_amount"},"screamingSnakeCase":{"unsafeName":"CURRENCY_AMOUNT","safeName":"CURRENCY_AMOUNT"},"pascalCase":{"unsafeName":"CurrencyAmount","safeName":"CurrencyAmount"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:MovieId":{"type":"alias","declaration":{"name":{"originalName":"MovieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:ActorId":{"type":"alias","declaration":{"name":{"originalName":"ActorId","camelCase":{"unsafeName":"actorId","safeName":"actorId"},"snakeCase":{"unsafeName":"actor_id","safeName":"actor_id"},"screamingSnakeCase":{"unsafeName":"ACTOR_ID","safeName":"ACTOR_ID"},"pascalCase":{"unsafeName":"ActorId","safeName":"ActorId"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"typeReference":{"_type":"primitive","value":"STRING"}},"type_imdb:Movie":{"type":"object","declaration":{"name":{"originalName":"Movie","camelCase":{"unsafeName":"movie","safeName":"movie"},"snakeCase":{"unsafeName":"movie","safeName":"movie"},"screamingSnakeCase":{"unsafeName":"MOVIE","safeName":"MOVIE"},"pascalCase":{"unsafeName":"Movie","safeName":"Movie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"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":"named","value":"type_imdb:MovieId"}},{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"rating","camelCase":{"unsafeName":"rating","safeName":"rating"},"snakeCase":{"unsafeName":"rating","safeName":"rating"},"screamingSnakeCase":{"unsafeName":"RATING","safeName":"RATING"},"pascalCase":{"unsafeName":"Rating","safeName":"Rating"}},"wireValue":"rating"},"typeReference":{"_type":"primitive","value":"DOUBLE"}}]},"type_imdb:CreateMovieRequest":{"type":"object","declaration":{"name":{"originalName":"CreateMovieRequest","camelCase":{"unsafeName":"createMovieRequest","safeName":"createMovieRequest"},"snakeCase":{"unsafeName":"create_movie_request","safeName":"create_movie_request"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE_REQUEST","safeName":"CREATE_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"CreateMovieRequest","safeName":"CreateMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"DOUBLE"}}}]},"type_imdb:DirectorWrapper":{"type":"object","declaration":{"name":{"originalName":"DirectorWrapper","camelCase":{"unsafeName":"directorWrapper","safeName":"directorWrapper"},"snakeCase":{"unsafeName":"director_wrapper","safeName":"director_wrapper"},"screamingSnakeCase":{"unsafeName":"DIRECTOR_WRAPPER","safeName":"DIRECTOR_WRAPPER"},"pascalCase":{"unsafeName":"DirectorWrapper","safeName":"DirectorWrapper"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"typeReference":{"_type":"named","value":"type_director:Director"}}]},"type_imdb:EmptyObject":{"type":"object","declaration":{"name":{"originalName":"EmptyObject","camelCase":{"unsafeName":"emptyObject","safeName":"emptyObject"},"snakeCase":{"unsafeName":"empty_object","safeName":"empty_object"},"screamingSnakeCase":{"unsafeName":"EMPTY_OBJECT","safeName":"EMPTY_OBJECT"},"pascalCase":{"unsafeName":"EmptyObject","safeName":"EmptyObject"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[]},"type_imdb:Person":{"type":"discriminatedUnion","declaration":{"name":{"originalName":"Person","camelCase":{"unsafeName":"person","safeName":"person"},"snakeCase":{"unsafeName":"person","safeName":"person"},"screamingSnakeCase":{"unsafeName":"PERSON","safeName":"PERSON"},"pascalCase":{"unsafeName":"Person","safeName":"Person"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"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":{"actor":{"type":"singleProperty","typeReference":{"_type":"named","value":"type_imdb:ActorId"},"discriminantValue":{"name":{"originalName":"actor","camelCase":{"unsafeName":"actor","safeName":"actor"},"snakeCase":{"unsafeName":"actor","safeName":"actor"},"screamingSnakeCase":{"unsafeName":"ACTOR","safeName":"ACTOR"},"pascalCase":{"unsafeName":"Actor","safeName":"Actor"}},"wireValue":"actor"},"properties":null},"director":{"type":"samePropertiesAsObject","typeId":"type_director:Director","discriminantValue":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"wireValue":"director"},"properties":[]},"producer":{"type":"samePropertiesAsObject","typeId":"type_imdb:EmptyObject","discriminantValue":{"name":{"originalName":"producer","camelCase":{"unsafeName":"producer","safeName":"producer"},"snakeCase":{"unsafeName":"producer","safeName":"producer"},"screamingSnakeCase":{"unsafeName":"PRODUCER","safeName":"PRODUCER"},"pascalCase":{"unsafeName":"Producer","safeName":"Producer"}},"wireValue":"producer"},"properties":[]},"cinematographer":{"type":"samePropertiesAsObject","typeId":"type_imdb:EmptyObject","discriminantValue":{"name":{"originalName":"cinematographer","camelCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"snakeCase":{"unsafeName":"cinematographer","safeName":"cinematographer"},"screamingSnakeCase":{"unsafeName":"CINEMATOGRAPHER","safeName":"CINEMATOGRAPHER"},"pascalCase":{"unsafeName":"Cinematographer","safeName":"Cinematographer"}},"wireValue":"cinematographer"},"properties":[]}}},"type_imdb:UnknownRequest":{"type":"object","declaration":{"name":{"originalName":"UnknownRequest","camelCase":{"unsafeName":"unknownRequest","safeName":"unknownRequest"},"snakeCase":{"unsafeName":"unknown_request","safeName":"unknown_request"},"screamingSnakeCase":{"unsafeName":"UNKNOWN_REQUEST","safeName":"UNKNOWN_REQUEST"},"pascalCase":{"unsafeName":"UnknownRequest","safeName":"UnknownRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"unknown","camelCase":{"unsafeName":"unknown","safeName":"unknown"},"snakeCase":{"unsafeName":"unknown","safeName":"unknown"},"screamingSnakeCase":{"unsafeName":"UNKNOWN","safeName":"UNKNOWN"},"pascalCase":{"unsafeName":"Unknown","safeName":"Unknown"}},"wireValue":"unknown"},"typeReference":{"_type":"unknown"}}]},"type_imdb:RecursiveType":{"type":"object","declaration":{"name":{"originalName":"RecursiveType","camelCase":{"unsafeName":"recursiveType","safeName":"recursiveType"},"snakeCase":{"unsafeName":"recursive_type","safeName":"recursive_type"},"screamingSnakeCase":{"unsafeName":"RECURSIVE_TYPE","safeName":"RECURSIVE_TYPE"},"pascalCase":{"unsafeName":"RecursiveType","safeName":"RecursiveType"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"properties":[{"name":{"name":{"originalName":"title","camelCase":{"unsafeName":"title","safeName":"title"},"snakeCase":{"unsafeName":"title","safeName":"title"},"screamingSnakeCase":{"unsafeName":"TITLE","safeName":"TITLE"},"pascalCase":{"unsafeName":"Title","safeName":"Title"}},"wireValue":"title"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"ratings","camelCase":{"unsafeName":"ratings","safeName":"ratings"},"snakeCase":{"unsafeName":"ratings","safeName":"ratings"},"screamingSnakeCase":{"unsafeName":"RATINGS","safeName":"RATINGS"},"pascalCase":{"unsafeName":"Ratings","safeName":"Ratings"}},"wireValue":"ratings"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"DOUBLE"}}},{"name":{"name":{"originalName":"selfReferencing","camelCase":{"unsafeName":"selfReferencing","safeName":"selfReferencing"},"snakeCase":{"unsafeName":"self_referencing","safeName":"self_referencing"},"screamingSnakeCase":{"unsafeName":"SELF_REFERENCING","safeName":"SELF_REFERENCING"},"pascalCase":{"unsafeName":"SelfReferencing","safeName":"SelfReferencing"}},"wireValue":"selfReferencing"},"typeReference":{"_type":"list","value":{"_type":"named","value":"type_imdb:RecursiveType"}}}]}},"headers":[{"name":{"name":{"originalName":"apiVersion","camelCase":{"unsafeName":"apiVersion","safeName":"apiVersion"},"snakeCase":{"unsafeName":"api_version","safeName":"api_version"},"screamingSnakeCase":{"unsafeName":"API_VERSION","safeName":"API_VERSION"},"pascalCase":{"unsafeName":"ApiVersion","safeName":"ApiVersion"}},"wireValue":"X-API-VERSION"},"typeReference":{"_type":"optional","value":{"_type":"primitive","value":"STRING"}}}],"endpoints":{"endpoint_imdb.internalEndpoint":{"auth":null,"declaration":{"name":{"originalName":"internalEndpoint","camelCase":{"unsafeName":"internalEndpoint","safeName":"internalEndpoint"},"snakeCase":{"unsafeName":"internal_endpoint","safeName":"internal_endpoint"},"screamingSnakeCase":{"unsafeName":"INTERNAL_ENDPOINT","safeName":"INTERNAL_ENDPOINT"},"pascalCase":{"unsafeName":"InternalEndpoint","safeName":"InternalEndpoint"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:UnknownRequest"}}},"response":{"type":"json"}},"endpoint_imdb.createMovie":{"auth":null,"declaration":{"name":{"originalName":"createMovie","camelCase":{"unsafeName":"createMovie","safeName":"createMovie"},"snakeCase":{"unsafeName":"create_movie","safeName":"create_movie"},"screamingSnakeCase":{"unsafeName":"CREATE_MOVIE","safeName":"CREATE_MOVIE"},"pascalCase":{"unsafeName":"CreateMovie","safeName":"CreateMovie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"POST","path":"/test/{rootPathParam}/movies"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}}],"body":{"type":"typeReference","value":{"_type":"named","value":"type_imdb:CreateMovieRequest"}}},"response":{"type":"json"}},"endpoint_imdb.getMovie":{"auth":null,"declaration":{"name":{"originalName":"getMovie","camelCase":{"unsafeName":"getMovie","safeName":"getMovie"},"snakeCase":{"unsafeName":"get_movie","safeName":"get_movie"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE","safeName":"GET_MOVIE"},"pascalCase":{"unsafeName":"GetMovie","safeName":"GetMovie"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"GET","path":"/test/{rootPathParam}/movies/{movieId}"},"request":{"type":"inlined","declaration":{"name":{"originalName":"GetMovieRequest","camelCase":{"unsafeName":"getMovieRequest","safeName":"getMovieRequest"},"snakeCase":{"unsafeName":"get_movie_request","safeName":"get_movie_request"},"screamingSnakeCase":{"unsafeName":"GET_MOVIE_REQUEST","safeName":"GET_MOVIE_REQUEST"},"pascalCase":{"unsafeName":"GetMovieRequest","safeName":"GetMovieRequest"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"wireValue":"movieId"},"typeReference":{"_type":"named","value":"type_imdb:MovieId"}}],"queryParameters":[{"name":{"name":{"originalName":"movieName","camelCase":{"unsafeName":"movieName","safeName":"movieName"},"snakeCase":{"unsafeName":"movie_name","safeName":"movie_name"},"screamingSnakeCase":{"unsafeName":"MOVIE_NAME","safeName":"MOVIE_NAME"},"pascalCase":{"unsafeName":"MovieName","safeName":"MovieName"}},"wireValue":"movieName"},"typeReference":{"_type":"list","value":{"_type":"primitive","value":"STRING"}}}],"headers":[],"body":null,"metadata":{"includePathParameters":false,"onlyPathParameters":false}},"response":{"type":"json"}},"endpoint_imdb.delete":{"auth":null,"declaration":{"name":{"originalName":"delete","camelCase":{"unsafeName":"delete","safeName":"delete"},"snakeCase":{"unsafeName":"delete","safeName":"delete"},"screamingSnakeCase":{"unsafeName":"DELETE","safeName":"DELETE"},"pascalCase":{"unsafeName":"Delete","safeName":"Delete"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}}},"location":{"method":"DELETE","path":"/test/{rootPathParam}/movies/{movieId}"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"rootPathParam","camelCase":{"unsafeName":"rootPathParam","safeName":"rootPathParam"},"snakeCase":{"unsafeName":"root_path_param","safeName":"root_path_param"},"screamingSnakeCase":{"unsafeName":"ROOT_PATH_PARAM","safeName":"ROOT_PATH_PARAM"},"pascalCase":{"unsafeName":"RootPathParam","safeName":"RootPathParam"}},"wireValue":"rootPathParam"},"typeReference":{"_type":"primitive","value":"STRING"}},{"name":{"name":{"originalName":"movieId","camelCase":{"unsafeName":"movieId","safeName":"movieId"},"snakeCase":{"unsafeName":"movie_id","safeName":"movie_id"},"screamingSnakeCase":{"unsafeName":"MOVIE_ID","safeName":"MOVIE_ID"},"pascalCase":{"unsafeName":"MovieId","safeName":"MovieId"}},"wireValue":"movieId"},"typeReference":{"_type":"named","value":"type_imdb:MovieId"}}],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:Internal","type_commons:Type","type_commons:UndiscriminatedUnion"],"errors":["error_commons:BadRequestError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_director":{"name":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}},"fernFilepath":{"allParts":[{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}],"packagePath":[],"file":{"originalName":"director","camelCase":{"unsafeName":"director","safeName":"director"},"snakeCase":{"unsafeName":"director","safeName":"director"},"screamingSnakeCase":{"unsafeName":"DIRECTOR","safeName":"DIRECTOR"},"pascalCase":{"unsafeName":"Director","safeName":"Director"}}},"service":null,"types":["type_director:Director","type_director:Age","type_director:LiteralBoolean","type_director:LiteralString"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_imdb":{"name":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}},"fernFilepath":{"allParts":[{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}],"packagePath":[],"file":{"originalName":"imdb","camelCase":{"unsafeName":"imdb","safeName":"imdb"},"snakeCase":{"unsafeName":"imdb","safeName":"imdb"},"screamingSnakeCase":{"unsafeName":"IMDB","safeName":"IMDB"},"pascalCase":{"unsafeName":"Imdb","safeName":"Imdb"}}},"service":"service_imdb","types":["type_imdb:CurrencyAmount","type_imdb:MovieId","type_imdb:ActorId","type_imdb:Movie","type_imdb:CreateMovieRequest","type_imdb:DirectorWrapper","type_imdb:EmptyObject","type_imdb:Person","type_imdb:UnknownRequest","type_imdb:RecursiveType"],"errors":["error_imdb:NotFoundError"],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_director","subpackage_imdb"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; exports[`ir > {"name":"streaming"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{},"errors":{},"services":{"service_streaming":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}],"packagePath":[],"file":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_streaming.streaming","name":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/streaming","parts":[]},"fullPath":{"head":"/movies/streaming","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":{"type":"streaming","value":{"type":"json","payload":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"terminator":null,"docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[],"pagination":null,"transport":null,"availability":null,"docs":null},{"id":"endpoint_streaming.maybeStreaming","name":{"originalName":"maybeStreaming","camelCase":{"unsafeName":"maybeStreaming","safeName":"maybeStreaming"},"snakeCase":{"unsafeName":"maybe_streaming","safeName":"maybe_streaming"},"screamingSnakeCase":{"unsafeName":"MAYBE_STREAMING","safeName":"MAYBE_STREAMING"},"pascalCase":{"unsafeName":"MaybeStreaming","safeName":"MaybeStreaming"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/maybe-streaming","parts":[]},"fullPath":{"head":"/movies/maybe-streaming","parts":[]},"pathParameters":[],"allPathParameters":[],"queryParameters":[],"headers":[],"requestBody":{"type":"inlinedRequestBody","name":{"originalName":"maybeStreamingRequest","camelCase":{"unsafeName":"maybeStreamingRequest","safeName":"maybeStreamingRequest"},"snakeCase":{"unsafeName":"maybe_streaming_request","safeName":"maybe_streaming_request"},"screamingSnakeCase":{"unsafeName":"MAYBE_STREAMING_REQUEST","safeName":"MAYBE_STREAMING_REQUEST"},"pascalCase":{"unsafeName":"MaybeStreamingRequest","safeName":"MaybeStreamingRequest"}},"extends":[],"contentType":null,"properties":[{"name":{"name":{"originalName":"stream","camelCase":{"unsafeName":"stream","safeName":"stream"},"snakeCase":{"unsafeName":"stream","safeName":"stream"},"screamingSnakeCase":{"unsafeName":"STREAM","safeName":"STREAM"},"pascalCase":{"unsafeName":"Stream","safeName":"Stream"}},"wireValue":"stream"},"valueType":{"_type":"primitive","primitive":{"v1":"BOOLEAN","v2":null}},"availability":null,"docs":null}],"extra-properties":false,"extendedProperties":[],"docs":null},"sdkRequest":{"shape":{"type":"wrapper","wrapperName":{"originalName":"maybeStreamingRequest","camelCase":{"unsafeName":"maybeStreamingRequest","safeName":"maybeStreamingRequest"},"snakeCase":{"unsafeName":"maybe_streaming_request","safeName":"maybe_streaming_request"},"screamingSnakeCase":{"unsafeName":"MAYBE_STREAMING_REQUEST","safeName":"MAYBE_STREAMING_REQUEST"},"pascalCase":{"unsafeName":"MaybeStreamingRequest","safeName":"MaybeStreamingRequest"}},"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":"streaming","value":{"type":"json","payload":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"terminator":"[DONE]","docs":null}},"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{},"headers":[],"endpoints":{"endpoint_streaming.streaming":{"auth":null,"declaration":{"name":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}},"fernFilepath":{"allParts":[{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}],"packagePath":[],"file":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}}},"location":{"method":"POST","path":"/movies/streaming"},"request":{"type":"body","pathParameters":[],"body":null},"response":{"type":"json"}},"endpoint_streaming.maybeStreaming":{"auth":null,"declaration":{"name":{"originalName":"maybeStreaming","camelCase":{"unsafeName":"maybeStreaming","safeName":"maybeStreaming"},"snakeCase":{"unsafeName":"maybe_streaming","safeName":"maybe_streaming"},"screamingSnakeCase":{"unsafeName":"MAYBE_STREAMING","safeName":"MAYBE_STREAMING"},"pascalCase":{"unsafeName":"MaybeStreaming","safeName":"MaybeStreaming"}},"fernFilepath":{"allParts":[{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}],"packagePath":[],"file":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}}},"location":{"method":"POST","path":"/movies/maybe-streaming"},"request":{"type":"inlined","declaration":{"name":{"originalName":"maybeStreamingRequest","camelCase":{"unsafeName":"maybeStreamingRequest","safeName":"maybeStreamingRequest"},"snakeCase":{"unsafeName":"maybe_streaming_request","safeName":"maybe_streaming_request"},"screamingSnakeCase":{"unsafeName":"MAYBE_STREAMING_REQUEST","safeName":"MAYBE_STREAMING_REQUEST"},"pascalCase":{"unsafeName":"MaybeStreamingRequest","safeName":"MaybeStreamingRequest"}},"fernFilepath":{"allParts":[{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}],"packagePath":[],"file":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}}},"pathParameters":[],"queryParameters":[],"headers":[],"body":{"type":"properties","value":[{"name":{"name":{"originalName":"stream","camelCase":{"unsafeName":"stream","safeName":"stream"},"snakeCase":{"unsafeName":"stream","safeName":"stream"},"screamingSnakeCase":{"unsafeName":"STREAM","safeName":"STREAM"},"pascalCase":{"unsafeName":"Stream","safeName":"Stream"}},"wireValue":"stream"},"typeReference":{"_type":"primitive","value":"BOOLEAN"}}]},"metadata":{"includePathParameters":false,"onlyPathParameters":false}},"response":{"type":"json"}}}},"subpackages":{"subpackage_streaming":{"name":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}},"fernFilepath":{"allParts":[{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}],"packagePath":[],"file":{"originalName":"streaming","camelCase":{"unsafeName":"streaming","safeName":"streaming"},"snakeCase":{"unsafeName":"streaming","safeName":"streaming"},"screamingSnakeCase":{"unsafeName":"STREAMING","safeName":"STREAMING"},"pascalCase":{"unsafeName":"Streaming","safeName":"Streaming"}}},"service":"service_streaming","types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_streaming"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"docs":null},"sdkConfig":{"isAuthMandatory":false,"hasStreamingEndpoints":true,"hasPaginatedEndpoints":false,"hasFileDownloadEndpoints":false,"platformHeaders":{"language":"X-Fern-Language","sdkName":"X-Fern-SDK-Name","sdkVersion":"X-Fern-SDK-Version","userAgent":null}}}"`; -exports[`ir > {"name":"variables"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_commons:StringAlias":{"inline":false,"name":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_service":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_service.test","name":{"originalName":"test","camelCase":{"unsafeName":"test","safeName":"test"},"snakeCase":{"unsafeName":"test","safeName":"test"},"screamingSnakeCase":{"unsafeName":"TEST","safeName":"TEST"},"pascalCase":{"unsafeName":"Test","safeName":"Test"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/","parts":[{"pathParameter":"foo","tail":""}]},"fullPath":{"head":"/","parts":[{"pathParameter":"root","tail":"/movies/"},{"pathParameter":"foo","tail":""}]},"pathParameters":[{"name":{"originalName":"foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ENDPOINT","variable":"my-variable","docs":null}],"allPathParameters":[{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ROOT","variable":"my-variable","docs":null},{"name":{"originalName":"foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ENDPOINT","variable":"my-variable","docs":null}],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"568b0fbafed694545ab88d89d14b21c8c748220a","url":"/root/movies/foo","name":null,"endpointHeaders":[],"endpointPathParameters":[{"name":{"originalName":"foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"foo"}}},"jsonExample":"foo"}},"typeName":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias"}},"jsonExample":"foo"}}],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}},"typeName":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias"}},"jsonExample":"root"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":{"head":"/","parts":[{"pathParameter":"root","tail":""}]},"pathParameters":[{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ROOT","variable":"my-variable","docs":null}],"variables":[{"id":"my-variable","name":{"originalName":"my-variable","camelCase":{"unsafeName":"myVariable","safeName":"myVariable"},"snakeCase":{"unsafeName":"my_variable","safeName":"my_variable"},"screamingSnakeCase":{"unsafeName":"MY_VARIABLE","safeName":"MY_VARIABLE"},"pascalCase":{"unsafeName":"MyVariable","safeName":"MyVariable"}},"type":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"docs":"I am a variable"}],"serviceTypeReferenceInfo":{"typesReferencedOnlyByService":{"service_service":["type_commons:StringAlias"]},"sharedTypes":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:StringAlias":{"type":"alias","declaration":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_service.test":{"auth":null,"declaration":{"name":{"originalName":"test","camelCase":{"unsafeName":"test","safeName":"test"},"snakeCase":{"unsafeName":"test","safeName":"test"},"screamingSnakeCase":{"unsafeName":"TEST","safeName":"TEST"},"pascalCase":{"unsafeName":"Test","safeName":"Test"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"location":{"method":"POST","path":"/{root}/movies/{foo}"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"wireValue":"root"},"typeReference":{"_type":"named","value":"type_commons:StringAlias"}},{"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":"named","value":"type_commons:StringAlias"}}],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:StringAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_service":{"name":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"service":"service_service","types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_service"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; +exports[`ir > {"name":"variables"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{"type_commons:StringAlias":{"inline":null,"name":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias"},"shape":{"_type":"alias","aliasOf":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"resolvedType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}}},"referencedTypes":[],"encoding":{"json":{},"proto":null},"source":null,"userProvidedExamples":[],"autogeneratedExamples":[],"availability":null,"docs":null}},"errors":{},"services":{"service_service":{"availability":null,"name":{"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"displayName":null,"basePath":{"head":"/movies","parts":[]},"headers":[],"pathParameters":[],"encoding":{"json":{},"proto":null},"transport":{"type":"http"},"endpoints":[{"id":"endpoint_service.test","name":{"originalName":"test","camelCase":{"unsafeName":"test","safeName":"test"},"snakeCase":{"unsafeName":"test","safeName":"test"},"screamingSnakeCase":{"unsafeName":"TEST","safeName":"TEST"},"pascalCase":{"unsafeName":"Test","safeName":"Test"}},"displayName":null,"auth":false,"idempotent":false,"baseUrl":null,"method":"POST","basePath":null,"path":{"head":"/","parts":[{"pathParameter":"foo","tail":""}]},"fullPath":{"head":"/","parts":[{"pathParameter":"root","tail":"/movies/"},{"pathParameter":"foo","tail":""}]},"pathParameters":[{"name":{"originalName":"foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ENDPOINT","variable":"my-variable","docs":null}],"allPathParameters":[{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ROOT","variable":"my-variable","docs":null},{"name":{"originalName":"foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ENDPOINT","variable":"my-variable","docs":null}],"queryParameters":[],"headers":[],"requestBody":null,"sdkRequest":null,"response":{"body":null,"status-code":null},"errors":[],"userSpecifiedExamples":[],"autogeneratedExamples":[{"example":{"id":"568b0fbafed694545ab88d89d14b21c8c748220a","url":"/root/movies/foo","name":null,"endpointHeaders":[],"endpointPathParameters":[{"name":{"originalName":"foo","camelCase":{"unsafeName":"foo","safeName":"foo"},"snakeCase":{"unsafeName":"foo","safeName":"foo"},"screamingSnakeCase":{"unsafeName":"FOO","safeName":"FOO"},"pascalCase":{"unsafeName":"Foo","safeName":"Foo"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"foo"}}},"jsonExample":"foo"}},"typeName":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias"}},"jsonExample":"foo"}}],"queryParameters":[],"servicePathParameters":[],"serviceHeaders":[],"rootPathParameters":[{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"value":{"shape":{"type":"named","shape":{"type":"alias","value":{"shape":{"type":"primitive","primitive":{"type":"string","string":{"original":"root"}}},"jsonExample":"root"}},"typeName":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias"}},"jsonExample":"root"}}],"request":null,"response":{"type":"ok","value":{"type":"body","value":null}},"docs":null}}],"pagination":null,"transport":null,"availability":null,"docs":null}]}},"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":{"head":"/","parts":[{"pathParameter":"root","tail":""}]},"pathParameters":[{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"valueType":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"location":"ROOT","variable":"my-variable","docs":null}],"variables":[{"id":"my-variable","name":{"originalName":"my-variable","camelCase":{"unsafeName":"myVariable","safeName":"myVariable"},"snakeCase":{"unsafeName":"my_variable","safeName":"my_variable"},"screamingSnakeCase":{"unsafeName":"MY_VARIABLE","safeName":"MY_VARIABLE"},"pascalCase":{"unsafeName":"MyVariable","safeName":"MyVariable"}},"type":{"_type":"named","name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"typeId":"type_commons:StringAlias","default":null,"inline":null},"docs":"I am a variable"}],"serviceTypeReferenceInfo":{"typesReferencedOnlyByService":{"service_service":["type_commons:StringAlias"]},"sharedTypes":[]},"webhookGroups":{},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{"type_commons:StringAlias":{"type":"alias","declaration":{"name":{"originalName":"StringAlias","camelCase":{"unsafeName":"stringAlias","safeName":"stringAlias"},"snakeCase":{"unsafeName":"string_alias","safeName":"string_alias"},"screamingSnakeCase":{"unsafeName":"STRING_ALIAS","safeName":"STRING_ALIAS"},"pascalCase":{"unsafeName":"StringAlias","safeName":"StringAlias"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}}},"typeReference":{"_type":"primitive","value":"STRING"}}},"headers":[],"endpoints":{"endpoint_service.test":{"auth":null,"declaration":{"name":{"originalName":"test","camelCase":{"unsafeName":"test","safeName":"test"},"snakeCase":{"unsafeName":"test","safeName":"test"},"screamingSnakeCase":{"unsafeName":"TEST","safeName":"TEST"},"pascalCase":{"unsafeName":"Test","safeName":"Test"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}}},"location":{"method":"POST","path":"/{root}/movies/{foo}"},"request":{"type":"body","pathParameters":[{"name":{"name":{"originalName":"root","camelCase":{"unsafeName":"root","safeName":"root"},"snakeCase":{"unsafeName":"root","safeName":"root"},"screamingSnakeCase":{"unsafeName":"ROOT","safeName":"ROOT"},"pascalCase":{"unsafeName":"Root","safeName":"Root"}},"wireValue":"root"},"typeReference":{"_type":"named","value":"type_commons:StringAlias"}},{"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":"named","value":"type_commons:StringAlias"}}],"body":null},"response":{"type":"json"}}}},"subpackages":{"subpackage_commons":{"name":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}},"fernFilepath":{"allParts":[{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}],"packagePath":[],"file":{"originalName":"commons","camelCase":{"unsafeName":"commons","safeName":"commons"},"snakeCase":{"unsafeName":"commons","safeName":"commons"},"screamingSnakeCase":{"unsafeName":"COMMONS","safeName":"COMMONS"},"pascalCase":{"unsafeName":"Commons","safeName":"Commons"}}},"service":null,"types":["type_commons:StringAlias"],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":false,"docs":null},"subpackage_service":{"name":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}},"fernFilepath":{"allParts":[{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}],"packagePath":[],"file":{"originalName":"service","camelCase":{"unsafeName":"service","safeName":"service"},"snakeCase":{"unsafeName":"service","safeName":"service"},"screamingSnakeCase":{"unsafeName":"SERVICE","safeName":"SERVICE"},"pascalCase":{"unsafeName":"Service","safeName":"Service"}}},"service":"service_service","types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":null,"websocket":null,"hasEndpointsInTree":true,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_commons","subpackage_service"],"webhooks":null,"navigationConfig":null,"hasEndpointsInTree":true,"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}}}"`; exports[`ir > {"name":"webhooks"} 1`] = `"{"fdrApiDefinitionId":null,"apiVersion":null,"apiName":{"originalName":"my-api","camelCase":{"unsafeName":"myApi","safeName":"myApi"},"snakeCase":{"unsafeName":"my_api","safeName":"my_api"},"screamingSnakeCase":{"unsafeName":"MY_API","safeName":"MY_API"},"pascalCase":{"unsafeName":"MyApi","safeName":"MyApi"}},"apiDisplayName":null,"apiDocs":null,"auth":{"requirement":"ALL","schemes":[],"docs":null},"headers":[],"idempotencyHeaders":[],"types":{},"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":[]},"webhookGroups":{"webhooks_webhooks":[{"id":"webhooks_webhooks.sendNotification","displayName":null,"method":"POST","name":{"originalName":"sendNotification","camelCase":{"unsafeName":"sendNotification","safeName":"sendNotification"},"snakeCase":{"unsafeName":"send_notification","safeName":"send_notification"},"screamingSnakeCase":{"unsafeName":"SEND_NOTIFICATION","safeName":"SEND_NOTIFICATION"},"pascalCase":{"unsafeName":"SendNotification","safeName":"SendNotification"}},"headers":[],"payload":{"type":"inlinedPayload","name":{"originalName":"NotificationPayload","camelCase":{"unsafeName":"notificationPayload","safeName":"notificationPayload"},"snakeCase":{"unsafeName":"notification_payload","safeName":"notification_payload"},"screamingSnakeCase":{"unsafeName":"NOTIFICATION_PAYLOAD","safeName":"NOTIFICATION_PAYLOAD"},"pascalCase":{"unsafeName":"NotificationPayload","safeName":"NotificationPayload"}},"extends":[],"properties":[{"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"},"valueType":{"_type":"primitive","primitive":{"v1":"STRING","v2":{"type":"string","default":null,"validation":null}}},"availability":null,"docs":null},{"name":{"name":{"originalName":"urgent","camelCase":{"unsafeName":"urgent","safeName":"urgent"},"snakeCase":{"unsafeName":"urgent","safeName":"urgent"},"screamingSnakeCase":{"unsafeName":"URGENT","safeName":"URGENT"},"pascalCase":{"unsafeName":"Urgent","safeName":"Urgent"}},"wireValue":"urgent"},"valueType":{"_type":"primitive","primitive":{"v1":"BOOLEAN","v2":null}},"availability":null,"docs":"Some docs about urgency"}]},"examples":null,"availability":null,"docs":"This is a webhook to receive notifications."}]},"websocketChannels":{},"readmeConfig":null,"sourceConfig":null,"publishConfig":null,"dynamic":{"version":"1.0.0","types":{},"headers":[],"endpoints":{}},"subpackages":{"subpackage_webhooks":{"name":{"originalName":"webhooks","camelCase":{"unsafeName":"webhooks","safeName":"webhooks"},"snakeCase":{"unsafeName":"webhooks","safeName":"webhooks"},"screamingSnakeCase":{"unsafeName":"WEBHOOKS","safeName":"WEBHOOKS"},"pascalCase":{"unsafeName":"Webhooks","safeName":"Webhooks"}},"fernFilepath":{"allParts":[{"originalName":"webhooks","camelCase":{"unsafeName":"webhooks","safeName":"webhooks"},"snakeCase":{"unsafeName":"webhooks","safeName":"webhooks"},"screamingSnakeCase":{"unsafeName":"WEBHOOKS","safeName":"WEBHOOKS"},"pascalCase":{"unsafeName":"Webhooks","safeName":"Webhooks"}}],"packagePath":[],"file":{"originalName":"webhooks","camelCase":{"unsafeName":"webhooks","safeName":"webhooks"},"snakeCase":{"unsafeName":"webhooks","safeName":"webhooks"},"screamingSnakeCase":{"unsafeName":"WEBHOOKS","safeName":"WEBHOOKS"},"pascalCase":{"unsafeName":"Webhooks","safeName":"Webhooks"}}},"service":null,"types":[],"errors":[],"subpackages":[],"navigationConfig":null,"webhooks":"webhooks_webhooks","websocket":null,"hasEndpointsInTree":false,"docs":null}},"rootPackage":{"fernFilepath":{"allParts":[],"packagePath":[],"file":null},"websocket":null,"service":null,"types":[],"errors":[],"subpackages":["subpackage_webhooks"],"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}}}"`; diff --git a/packages/cli/ete-tests/src/tests/write-definition/__snapshots__/writeDefinition.test.ts.snap b/packages/cli/ete-tests/src/tests/write-definition/__snapshots__/writeDefinition.test.ts.snap index f8917944b6f..ed3178559c8 100644 --- a/packages/cli/ete-tests/src/tests/write-definition/__snapshots__/writeDefinition.test.ts.snap +++ b/packages/cli/ete-tests/src/tests/write-definition/__snapshots__/writeDefinition.test.ts.snap @@ -607,6 +607,7 @@ channel: docs: >- A bank account to take payment from. Must be able to make payments in the currency specified in the payment. + inline: true properties: account_type: docs: >- @@ -651,6 +652,7 @@ channel: openapi: openapi/trains/openapi.yml Card: docs: A card (debit or credit) to take payment from. + inline: true properties: address_city: type: optional @@ -921,6 +923,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml @@ -1283,6 +1286,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml @@ -1356,6 +1360,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml @@ -1396,6 +1401,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml diff --git a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/__package__.yml b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/__package__.yml index 8b7bfc0ee5e..12ae3bf8277 100644 --- a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/__package__.yml +++ b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/__package__.yml @@ -90,6 +90,7 @@ types: docs: >- A bank account to take payment from. Must be able to make payments in the currency specified in the payment. + inline: true properties: account_type: docs: >- @@ -134,6 +135,7 @@ types: openapi: openapi/trains/openapi.yml Card: docs: A card (debit or credit) to take payment from. + inline: true properties: address_city: type: optional diff --git a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/bookings.yml b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/bookings.yml index 08a47e98270..6587c306490 100644 --- a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/bookings.yml +++ b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/bookings.yml @@ -25,6 +25,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml diff --git a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/stations.yml b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/stations.yml index 1d95c3c826d..0e2da848af1 100644 --- a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/stations.yml +++ b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/stations.yml @@ -11,6 +11,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml diff --git a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trains.yml b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trains.yml index 09da79328ca..4bc659dc090 100644 --- a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trains.yml +++ b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trains.yml @@ -12,6 +12,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml diff --git a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trips.yml b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trips.yml index 8fa053dea56..47be0e1f0fb 100644 --- a/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trips.yml +++ b/packages/cli/ete-tests/src/tests/write-definition/fixtures/namespaced/fern/.definition/trains/trips.yml @@ -11,6 +11,7 @@ types: extends: - trainsRoot.LinksSelf - trainsRoot.LinksPagination + inline: true properties: {} source: openapi: openapi/trains/openapi.yml 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__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 new file mode 100644 index 00000000000..5204fe27698 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json @@ -0,0 +1,47 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false, + "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" + } + }, + "required": [ + "foo", + "bar", + "myEnum" + ], + "additionalProperties": false + } + } +} \ No newline at end of file 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..8b87c341009 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json @@ -0,0 +1,80 @@ +{ + "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": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" + } + }, + "required": [ + "foo", + "bar", + "myEnum" + ], + "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..6cd71fc31ed --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json @@ -0,0 +1,69 @@ +{ + "anyOf": [ + { + "$ref": "#/definitions/InlineType1" + }, + { + "$ref": "#/definitions/InlineType2" + } + ], + "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" + } + }, + "required": [ + "foo", + "bar", + "myEnum" + ], + "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__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..45e73a2f960 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json @@ -0,0 +1,31 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" + } + }, + "required": [ + "foo", + "bar", + "myEnum" + ], + "additionalProperties": false, + "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 new file mode 100644 index 00000000000..2e21be35674 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json @@ -0,0 +1,63 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/InlineType1" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false, + "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" + } + }, + "required": [ + "foo", + "bar", + "myEnum" + ], + "additionalProperties": false + }, + "InlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "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/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/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/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/validator/package.json b/packages/cli/fern-definition/validator/package.json index 5f582b17ecb..59fb6e26c3d 100644 --- a/packages/cli/fern-definition/validator/package.json +++ b/packages/cli/fern-definition/validator/package.json @@ -28,7 +28,7 @@ "depcheck": "depcheck" }, "dependencies": { - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", diff --git a/packages/cli/fern-definition/validator/src/Rule.ts b/packages/cli/fern-definition/validator/src/Rule.ts index 088718d49cb..e402af7e7f6 100644 --- a/packages/cli/fern-definition/validator/src/Rule.ts +++ b/packages/cli/fern-definition/validator/src/Rule.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { RelativeFilePath } from "@fern-api/fs-utils"; import { Logger } from "@fern-api/logger"; import { FernWorkspace } from "@fern-api/api-workspace-commons"; diff --git a/packages/cli/fern-definition/validator/src/ast/GeneratorsYmlAstVisitor.ts b/packages/cli/fern-definition/validator/src/ast/GeneratorsYmlAstVisitor.ts index 9c1a65db35d..904975cc2ca 100644 --- a/packages/cli/fern-definition/validator/src/ast/GeneratorsYmlAstVisitor.ts +++ b/packages/cli/fern-definition/validator/src/ast/GeneratorsYmlAstVisitor.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { NodePath } from "@fern-api/fern-definition-schema"; export type GeneratorsYmlFileAstVisitor> = { diff --git a/packages/cli/fern-definition/validator/src/ast/visitGeneratorsYamlAst.ts b/packages/cli/fern-definition/validator/src/ast/visitGeneratorsYamlAst.ts index 31270e94554..77ea895b194 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitGeneratorsYamlAst.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitGeneratorsYamlAst.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { GeneratorsYmlFileAstVisitor } from "./GeneratorsYmlAstVisitor"; import { noop, visitObject } from "@fern-api/core-utils"; import { visitGeneratorGroups } from "./visitors/visitGeneratorGroups"; diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/visitGeneratorGroups.ts b/packages/cli/fern-definition/validator/src/ast/visitors/visitGeneratorGroups.ts index 9c4e4f6ac56..57ecec69ace 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/visitGeneratorGroups.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/visitGeneratorGroups.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { NodePath } from "@fern-api/fern-definition-schema"; import { GeneratorsYmlFileAstVisitor } from "../GeneratorsYmlAstVisitor"; 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..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 }); } }, @@ -122,7 +123,8 @@ export async function visitTypeDeclaration({ audiences: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); }, discriminatedUnion: async (union) => { @@ -166,7 +168,8 @@ export async function visitTypeDeclaration({ audiences: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); }, undiscriminatedUnion: async (union) => { @@ -191,7 +194,8 @@ export async function visitTypeDeclaration({ audiences: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); }, enum: async (_enum) => { @@ -219,7 +223,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/createGeneratorsYmlAstVisitorForRules.ts b/packages/cli/fern-definition/validator/src/createGeneratorsYmlAstVisitorForRules.ts index 22c510415d8..1f65851060a 100644 --- a/packages/cli/fern-definition/validator/src/createGeneratorsYmlAstVisitorForRules.ts +++ b/packages/cli/fern-definition/validator/src/createGeneratorsYmlAstVisitorForRules.ts @@ -3,7 +3,7 @@ import { NodePath } from "@fern-api/fern-definition-schema"; import { GeneratorsYmlFileAstNodeTypes, GeneratorsYmlFileAstNodeVisitor } from "./ast"; import { RuleVisitors } from "./Rule"; import { ValidationViolation } from "./ValidationViolation"; -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { GeneratorsYmlFileAstVisitor } from "./ast/GeneratorsYmlAstVisitor"; export function createGeneratorsYmlAstVisitorForRules({ diff --git a/packages/cli/fern-definition/validator/src/rules/compatible-ir-versions/compatible-ir-versions.ts b/packages/cli/fern-definition/validator/src/rules/compatible-ir-versions/compatible-ir-versions.ts index 242a30b67ea..6bfb19f8cec 100644 --- a/packages/cli/fern-definition/validator/src/rules/compatible-ir-versions/compatible-ir-versions.ts +++ b/packages/cli/fern-definition/validator/src/rules/compatible-ir-versions/compatible-ir-versions.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml } from "@fern-api/configuration-loader"; import { createFdrGeneratorsSdkService } from "@fern-api/core"; import { isVersionAhead } from "@fern-api/semver-utils"; diff --git a/packages/cli/fern-definition/validator/src/rules/valid-navigation/valid-navigation.ts b/packages/cli/fern-definition/validator/src/rules/valid-navigation/valid-navigation.ts index ebf024235c4..aa971478029 100644 --- a/packages/cli/fern-definition/validator/src/rules/valid-navigation/valid-navigation.ts +++ b/packages/cli/fern-definition/validator/src/rules/valid-navigation/valid-navigation.ts @@ -1,4 +1,4 @@ -import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration"; +import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration-loader"; import { keys } from "@fern-api/core-utils"; import { dirname, join, relative, RelativeFilePath } from "@fern-api/fs-utils"; import { getAllDefinitionFiles, getAllNamedDefinitionFiles } from "@fern-api/api-workspace-commons"; diff --git a/packages/cli/fern-definition/validator/src/rules/valid-oauth/valid-oauth.ts b/packages/cli/fern-definition/validator/src/rules/valid-oauth/valid-oauth.ts index 44523e2ac5b..23ffe802296 100644 --- a/packages/cli/fern-definition/validator/src/rules/valid-oauth/valid-oauth.ts +++ b/packages/cli/fern-definition/validator/src/rules/valid-oauth/valid-oauth.ts @@ -1,4 +1,4 @@ -import { DocsLinks } from "@fern-api/configuration"; +import { DocsLinks } from "@fern-api/configuration-loader"; import { constructRootApiFileContext, EndpointResolverImpl, TypeResolverImpl } from "@fern-api/ir-generator"; import terminalLink from "terminal-link"; import { Rule, RuleViolation } from "../../Rule"; diff --git a/packages/cli/fern-definition/validator/src/rules/valid-service-urls/valid-service-url.ts b/packages/cli/fern-definition/validator/src/rules/valid-service-urls/valid-service-url.ts index cae2e08174f..e35124131d4 100644 --- a/packages/cli/fern-definition/validator/src/rules/valid-service-urls/valid-service-url.ts +++ b/packages/cli/fern-definition/validator/src/rules/valid-service-urls/valid-service-url.ts @@ -1,4 +1,4 @@ -import { ROOT_API_FILENAME } from "@fern-api/configuration"; +import { ROOT_API_FILENAME } from "@fern-api/configuration-loader"; import chalk from "chalk"; import { Rule, RuleViolation } from "../../Rule"; import { getAllEnvironmentUrlIds } from "../../utils/getAllEnvironmentUriIds"; diff --git a/packages/cli/fern-definition/validator/src/testing-utils/getViolationsForRule.ts b/packages/cli/fern-definition/validator/src/testing-utils/getViolationsForRule.ts index 8c7701518ea..4a76772f2c6 100644 --- a/packages/cli/fern-definition/validator/src/testing-utils/getViolationsForRule.ts +++ b/packages/cli/fern-definition/validator/src/testing-utils/getViolationsForRule.ts @@ -1,4 +1,4 @@ -import { generatorsYml } from "@fern-api/configuration"; +import { generatorsYml, loadGeneratorsConfiguration } from "@fern-api/configuration-loader"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; import { LazyFernWorkspace } from "@fern-api/lazy-fern-workspace"; import { CONSOLE_LOGGER } from "@fern-api/logger"; @@ -25,7 +25,7 @@ export async function getViolationsForRule({ const lazyWorkspace = new LazyFernWorkspace({ absoluteFilePath: absolutePathToWorkspace, - generatorsConfiguration: await generatorsYml.loadGeneratorsConfiguration({ + generatorsConfiguration: await loadGeneratorsConfiguration({ absolutePathToWorkspace, context }), diff --git a/packages/cli/fern-definition/validator/src/validateFernWorkspace.ts b/packages/cli/fern-definition/validator/src/validateFernWorkspace.ts index 0326cf500d7..14f822dda5f 100644 --- a/packages/cli/fern-definition/validator/src/validateFernWorkspace.ts +++ b/packages/cli/fern-definition/validator/src/validateFernWorkspace.ts @@ -1,4 +1,4 @@ -import { generatorsYml, ROOT_API_FILENAME, GENERATORS_CONFIGURATION_FILENAME } from "@fern-api/configuration"; +import { generatorsYml, ROOT_API_FILENAME, GENERATORS_CONFIGURATION_FILENAME } from "@fern-api/configuration-loader"; import { RelativeFilePath } from "@fern-api/fs-utils"; import { Logger } from "@fern-api/logger"; import { FernWorkspace, visitAllDefinitionFiles, visitAllPackageMarkers } from "@fern-api/api-workspace-commons"; diff --git a/packages/cli/fern-definition/validator/tsconfig.json b/packages/cli/fern-definition/validator/tsconfig.json index 8567bcfb74b..271b55b717c 100644 --- a/packages/cli/fern-definition/validator/tsconfig.json +++ b/packages/cli/fern-definition/validator/tsconfig.json @@ -1,17 +1,43 @@ { "extends": "../../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../../commons/core-utils" }, - { "path": "../../../commons/fs-utils" }, - { "path": "../../../ir-sdk" }, - { "path": "../../configuration" }, - { "path": "../../generation/ir-generator" }, - { "path": "../../logger" }, - { "path": "../../task-context" }, - { "path": "../../workspace-commons" }, - { "path": "../../lazy-fern-workspace" }, - { "path": "../schema" } + { + "path": "../../../commons/core-utils" + }, + { + "path": "../../../commons/fs-utils" + }, + { + "path": "../../../ir-sdk" + }, + { + "path": "../../configuration-loader" + }, + { + "path": "../../generation/ir-generator" + }, + { + "path": "../../logger" + }, + { + "path": "../../task-context" + }, + { + "path": "../../workspace-commons" + }, + { + "path": "../../lazy-fern-workspace" + }, + { + "path": "../schema" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/generation/ir-generator-tests/.depcheckrc.json b/packages/cli/generation/ir-generator-tests/.depcheckrc.json new file mode 100644 index 00000000000..a3a4f43188c --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/.depcheckrc.json @@ -0,0 +1,10 @@ +{ + "ignores": [ + "@types/jest", + "globals", + "@types/node" + ], + "ignore-patterns": [ + "lib" + ] +} \ No newline at end of file diff --git a/packages/cli/generation/ir-generator-tests/.prettierrc.cjs b/packages/cli/generation/ir-generator-tests/.prettierrc.cjs new file mode 100644 index 00000000000..9b6214d5129 --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/.prettierrc.cjs @@ -0,0 +1 @@ +module.exports = require("../../../../.prettierrc.json"); diff --git a/packages/cli/generation/ir-generator-tests/package.json b/packages/cli/generation/ir-generator-tests/package.json new file mode 100644 index 00000000000..f92e72ef3ad --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/package.json @@ -0,0 +1,48 @@ +{ + "name": "@fern-api/ir-generator-tests", + "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/fern-api/fern.git", + "directory": "packages/cli/generation/ir-generator-tests" + }, + "private": true, + "files": [ + "lib" + ], + "type": "module", + "source": "src/index.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "sideEffects": false, + "scripts": { + "clean": "rm -rf ./lib && tsc --build --clean", + "compile": "tsc --build", + "test": "vitest --passWithNoTests --run", + "test:update": "vitest --passWithNoTests --run -u", + "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../../.eslintignore", + "lint:eslint:fix": "yarn lint:eslint --fix", + "format": "prettier --write --ignore-unknown --ignore-path ../../../../shared/.prettierignore \"**\"", + "format:check": "prettier --check --ignore-unknown --ignore-path ../../../../shared/.prettierignore \"**\"", + "organize-imports": "organize-imports-cli tsconfig.json", + "depcheck": "depcheck" + }, + "dependencies": { + "@fern-api/configuration-loader": "workspace:*", + "@fern-api/fs-utils": "workspace:*", + "@fern-api/ir-generator": "workspace:*", + "@fern-api/ir-sdk": "workspace:*", + "@fern-api/project-loader": "workspace:*", + "@fern-api/task-context": "workspace:*", + "@fern-api/workspace-loader": "workspace:*", + "prettier": "^2.7.1" + }, + "devDependencies": { + "@types/node": "18.7.18", + "depcheck": "^1.4.6", + "eslint": "^8.56.0", + "organize-imports-cli": "^0.10.0", + "typescript": "4.6.4", + "vitest": "^2.0.5" + } +} \ No newline at end of file diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/DynamicSnippetsConverter.test.ts b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/DynamicSnippetsConverter.test.ts similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/DynamicSnippetsConverter.test.ts rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/DynamicSnippetsConverter.test.ts diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/generateAndSnapshotDynamicIR.ts b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/generateAndSnapshotDynamicIR.ts similarity index 88% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/generateAndSnapshotDynamicIR.ts rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/generateAndSnapshotDynamicIR.ts index 4e4c37b4834..4a98c4c891b 100644 --- a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/generateAndSnapshotDynamicIR.ts +++ b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/generateAndSnapshotDynamicIR.ts @@ -1,11 +1,10 @@ -import { Audiences } from "@fern-api/configuration"; +import { Audiences } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, join, RelativeFilePath, stringifyLargeObject } from "@fern-api/fs-utils"; import { serialization as IrSerialization } from "@fern-api/ir-sdk"; import { createMockTaskContext } from "@fern-api/task-context"; import { AbstractAPIWorkspace } from "@fern-api/workspace-loader"; import { writeFile } from "fs/promises"; -import { generateIntermediateRepresentation } from "../../generateIntermediateRepresentation"; -import { convertIrToDynamicSnippetsIr } from "../convertIrToDynamicSnippetsIr"; +import { convertIrToDynamicSnippetsIr, generateIntermediateRepresentation } from "@fern-api/ir-generator"; export async function generateAndSnapshotDynamicIR({ workspace, diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/alias-extends.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/alias-extends.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/alias-extends.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/alias-extends.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/alias.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/alias.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/alias.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/alias.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/any-auth.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/any-auth.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/any-auth.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/any-auth.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/api-wide-base-path.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/api-wide-base-path.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/api-wide-base-path.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/api-wide-base-path.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/audiences.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/audiences.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/audiences.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/audiences.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/auth-environment-variables.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/auth-environment-variables.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/auth-environment-variables.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/auth-environment-variables.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/basic-auth-environment-variables.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/basic-auth-environment-variables.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/basic-auth-environment-variables.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/basic-auth-environment-variables.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/basic-auth.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/basic-auth.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/basic-auth.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/basic-auth.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/bearer-token-environment-variable.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/bearer-token-environment-variable.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/bearer-token-environment-variable.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/bearer-token-environment-variable.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/bytes.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/bytes.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/bytes.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/bytes.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/circular-references-advanced.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/circular-references-advanced.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/circular-references-advanced.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/circular-references-advanced.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/circular-references.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/circular-references.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/circular-references.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/circular-references.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/cross-package-type-names.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/cross-package-type-names.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/cross-package-type-names.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/cross-package-type-names.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto-exhaustive.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto-exhaustive.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto-exhaustive.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto-exhaustive.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/csharp-grpc-proto.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/csharp-namespace-conflict.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/csharp-namespace-conflict.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/csharp-namespace-conflict.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/csharp-namespace-conflict.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/custom-auth.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/custom-auth.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/custom-auth.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/custom-auth.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/enum.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/enum.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/enum.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/enum.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/error-property.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/error-property.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/error-property.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/error-property.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/examples.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/examples.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/examples.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/examples.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/exhaustive.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/exhaustive.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/exhaustive.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/exhaustive.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/extends.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/extends.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/extends.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/extends.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/extra-properties.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/extra-properties.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/extra-properties.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/extra-properties.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/file-download.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/file-download.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/file-download.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/file-download.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/file-upload.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/file-upload.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/file-upload.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/file-upload.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/folders.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/folders.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/folders.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/folders.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/go-content-type.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/go-content-type.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/go-content-type.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/go-content-type.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/grpc-proto-exhaustive.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/grpc-proto-exhaustive.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/grpc-proto-exhaustive.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/grpc-proto-exhaustive.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/grpc-proto.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/grpc-proto.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/grpc-proto.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/grpc-proto.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/idempotency-headers.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/idempotency-headers.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/idempotency-headers.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/idempotency-headers.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/imdb.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/imdb.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/imdb.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/imdb.json diff --git a/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/inline-types.json new file mode 100644 index 00000000000..23dd9812125 --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/inline-types.json @@ -0,0 +1,754 @@ +{ + "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" + } + } + } +} \ No newline at end of file diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/license.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/license.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/license.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/license.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/literal.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/literal.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/literal.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/literal.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/mixed-case.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/mixed-case.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/mixed-case.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/mixed-case.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/mixed-file-directory.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/mixed-file-directory.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/mixed-file-directory.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/mixed-file-directory.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/multi-line-docs.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/multi-line-docs.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/multi-line-docs.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/multi-line-docs.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/multi-url-environment-no-default.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/multi-url-environment-no-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/multi-url-environment-no-default.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/multi-url-environment-no-default.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/multi-url-environment.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/multi-url-environment.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/multi-url-environment.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/multi-url-environment.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/no-environment.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/no-environment.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/no-environment.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/no-environment.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-default.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-default.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-default.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-environment-variables.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-environment-variables.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-environment-variables.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-environment-variables.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-nested-root.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-nested-root.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-nested-root.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials-nested-root.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/oauth-client-credentials.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/object.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/object.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/object.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/object.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/objects-with-imports.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/objects-with-imports.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/objects-with-imports.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/objects-with-imports.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/optional.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/optional.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/optional.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/optional.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/package-yml.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/package-yml.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/package-yml.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/package-yml.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/pagination.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/pagination.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/pagination.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/pagination.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/path-parameters.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/path-parameters.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/path-parameters.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/path-parameters.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/plain-text.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/plain-text.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/plain-text.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/plain-text.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/query-parameters.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/query-parameters.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/query-parameters.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/query-parameters.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/reserved-keywords.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/reserved-keywords.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/reserved-keywords.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/reserved-keywords.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/response-property.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/response-property.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/response-property.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/response-property.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/server-sent-event-examples.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/server-sent-event-examples.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/server-sent-event-examples.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/server-sent-event-examples.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/server-sent-events.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/server-sent-events.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/server-sent-events.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/server-sent-events.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/simple-fhir.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/simple-fhir.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/simple-fhir.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/simple-fhir.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/single-url-environment-default.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/single-url-environment-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/single-url-environment-default.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/single-url-environment-default.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/single-url-environment-no-default.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/single-url-environment-no-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/single-url-environment-no-default.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/single-url-environment-no-default.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/streaming-parameter.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/streaming-parameter.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/streaming-parameter.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/streaming-parameter.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/streaming.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/streaming.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/streaming.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/streaming.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/trace.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/trace.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/trace.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/trace.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/ts-express-casing.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/ts-express-casing.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/ts-express-casing.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/ts-express-casing.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/undiscriminated-unions.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/undiscriminated-unions.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/undiscriminated-unions.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/undiscriminated-unions.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/unions.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/unions.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/unions.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/unions.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/unknown.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/unknown.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/unknown.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/unknown.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/validation.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/validation.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/validation.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/validation.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/variables.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/variables.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/variables.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/variables.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/version-no-default.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/version-no-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/version-no-default.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/version-no-default.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/version.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/version.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/version.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/version.json diff --git a/packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/websocket.json b/packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/websocket.json similarity index 100% rename from packages/cli/generation/ir-generator/src/dynamic-snippets/__test__/test-definitions/websocket.json rename to packages/cli/generation/ir-generator-tests/src/dynamic-snippets/__test__/test-definitions/websocket.json diff --git a/packages/cli/generation/ir-generator/src/__test__/__mocks__/prettier.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/__mocks__/prettier.ts similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/__mocks__/prettier.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/__mocks__/prettier.ts diff --git a/packages/cli/generation/ir-generator/src/__test__/casingsGenerator.test.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/casingsGenerator.test.ts similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/casingsGenerator.test.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/casingsGenerator.test.ts index e110c9886df..27187ec13d6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/casingsGenerator.test.ts +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/casingsGenerator.test.ts @@ -1,5 +1,5 @@ import { Name } from "@fern-api/ir-sdk"; -import { constructCasingsGenerator } from "../casings/CasingsGenerator"; +import { constructCasingsGenerator } from "@fern-api/ir-generator"; describe("casingsGenerator", () => { const casingsGenerator = constructCasingsGenerator({ diff --git a/packages/cli/generation/ir-generator/src/__test__/constructHttpPath.test.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/constructHttpPath.test.ts similarity index 94% rename from packages/cli/generation/ir-generator/src/__test__/constructHttpPath.test.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/constructHttpPath.test.ts index 3f8e6ff8124..a7f512c9ff2 100644 --- a/packages/cli/generation/ir-generator/src/__test__/constructHttpPath.test.ts +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/constructHttpPath.test.ts @@ -1,5 +1,5 @@ import { HttpPath } from "@fern-api/ir-sdk"; -import { constructHttpPath } from "../converters/services/constructHttpPath"; +import { constructHttpPath } from "@fern-api/ir-generator"; describe("constructHttpPath", () => { it("/hello/{world}", () => { diff --git a/packages/cli/generation/ir-generator/src/__test__/convertResponseErrors.test.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/convertResponseErrors.test.ts similarity index 88% rename from packages/cli/generation/ir-generator/src/__test__/convertResponseErrors.test.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/convertResponseErrors.test.ts index 3687ac76a48..ceffd8a7dd4 100644 --- a/packages/cli/generation/ir-generator/src/__test__/convertResponseErrors.test.ts +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/convertResponseErrors.test.ts @@ -1,9 +1,11 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { ResponseErrors } from "@fern-api/ir-sdk"; -import { constructCasingsGenerator } from "../casings/CasingsGenerator"; -import { convertResponseErrors } from "../converters/services/convertResponseErrors"; -import { constructFernFileContext } from "../FernFileContext"; -import { convertToFernFilepath } from "../utils/convertToFernFilepath"; +import { + constructCasingsGenerator, + constructFernFileContext, + convertResponseErrors, + convertToFernFilepath +} from "@fern-api/ir-generator"; describe("convertResponseErrors", () => { it("reference to an error in another file", () => { diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/imdb.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/imdb.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/imdb.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/imdb.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/webhooks.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/webhooks.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/webhooks.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/definition/webhooks.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/fern.config.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/fern.config.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/fern.config.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/fern.config.json diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/generators.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern-hack-override-environment-audience/generators.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern-hack-override-environment-audience/generators.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/definition/imdb.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/definition/imdb.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/definition/imdb.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/definition/imdb.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/definition/webhooks.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/definition/webhooks.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/definition/webhooks.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/definition/webhooks.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/fern.config.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/fern.config.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/fern.config.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/fern.config.json diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/generators.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/audiences/fern/generators.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/audiences/fern/generators.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/availability/fern/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/availability/fern/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/availability/fern/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/availability/fern/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/availability/fern/definition/service.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/availability/fern/definition/service.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/availability/fern/definition/service.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/availability/fern/definition/service.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/availability/fern/generators.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/availability/fern/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/availability/fern/generators.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/availability/fern/generators.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/docs/fern/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/docs/fern/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/docs/fern/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/docs/fern/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/docs/fern/definition/service.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/docs/fern/definition/service.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/docs/fern/definition/service.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/docs/fern/definition/service.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/docs/fern/generators.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/docs/fern/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/docs/fern/generators.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/docs/fern/generators.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/definition/imdb.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/definition/imdb.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/definition/imdb.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/definition/imdb.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/fern.config.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/fern.config.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/fern.config.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/fern.config.json diff --git a/packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/generators.yml b/packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/fixtures/generics/fern/generators.yml rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/fixtures/generics/fern/generators.yml diff --git a/packages/cli/generation/ir-generator/src/__test__/generateAndSnapshotIR.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/generateAndSnapshotIR.ts similarity index 94% rename from packages/cli/generation/ir-generator/src/__test__/generateAndSnapshotIR.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/generateAndSnapshotIR.ts index 86b3bc791b6..ca6169365cb 100644 --- a/packages/cli/generation/ir-generator/src/__test__/generateAndSnapshotIR.ts +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/generateAndSnapshotIR.ts @@ -1,10 +1,10 @@ -import { Audiences } from "@fern-api/configuration"; +import { Audiences } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, join, RelativeFilePath, stringifyLargeObject } from "@fern-api/fs-utils"; import { serialization as IrSerialization } from "@fern-api/ir-sdk"; import { createMockTaskContext } from "@fern-api/task-context"; import { AbstractAPIWorkspace, loadAPIWorkspace } from "@fern-api/workspace-loader"; import { writeFile } from "fs/promises"; -import { generateIntermediateRepresentation } from "../generateIntermediateRepresentation"; +import { generateIntermediateRepresentation } from "@fern-api/ir-generator"; export async function generateAndSnapshotIRFromPath({ absolutePathToWorkspace, diff --git a/packages/cli/generation/ir-generator/src/__test__/generateIntermediateRepresentation.test.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/generateIntermediateRepresentation.test.ts similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/generateIntermediateRepresentation.test.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/generateIntermediateRepresentation.test.ts diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/audiences.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/audiences.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/audiences.json index f7a3dc2e6ff..aa8902cacc6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -294,7 +294,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/availability.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/availability.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/availability.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/availability.json index 54c70dccc51..48a8a7f42ca 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/availability.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/availability.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Object": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Object", diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/docs.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/docs.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/docs.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/docs.json index 30a802bcf26..dbea4f3c9f9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/docs.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/docs.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Object": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Object", diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/environmentAudiences.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/environmentAudiences.json index 9535c34cf54..3bdcdeb4f31 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -492,7 +492,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -652,7 +652,7 @@ "docs": null }, "type_imdb:Cast": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Cast", @@ -916,7 +916,7 @@ "docs": null }, "type_imdb:Name": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Name", @@ -1019,7 +1019,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/environmentAudiencesAllHack.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/environmentAudiencesAllHack.json index eed7da0551e..c7bb890e9af 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -390,7 +390,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -550,7 +550,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/environmentAudiencesSelectHack.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/environmentAudiencesSelectHack.json index 86d173fd024..988efb7b67a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -294,7 +294,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/generics.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/generics.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/irs/generics.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/irs/generics.json index 5e45d1d7d6c..f49bf0477dd 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/generics.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -492,7 +492,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -652,7 +652,7 @@ "docs": null }, "type_imdb:Cast": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Cast", @@ -916,7 +916,7 @@ "docs": null }, "type_imdb:Name": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Name", @@ -1019,7 +1019,7 @@ "docs": null }, "type_imdb:GenericApplication": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GenericApplication", @@ -1299,7 +1299,7 @@ "docs": "This is a generic application type" }, "type_imdb:Sample": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Sample", @@ -1578,7 +1578,7 @@ "docs": null }, "type_imdb:VanillaAlias": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VanillaAlias", diff --git a/packages/cli/generation/ir-generator/src/__test__/mocks/MockTypeResolver.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/mocks/MockTypeResolver.ts similarity index 90% rename from packages/cli/generation/ir-generator/src/__test__/mocks/MockTypeResolver.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/mocks/MockTypeResolver.ts index 3f9df89ebb3..03e0bd92b96 100644 --- a/packages/cli/generation/ir-generator/src/__test__/mocks/MockTypeResolver.ts +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/mocks/MockTypeResolver.ts @@ -1,4 +1,4 @@ -import { TypeResolver } from "../../resolvers/TypeResolver"; +import { TypeResolver } from "@fern-api/ir-generator"; export const MockTypeResolver: TypeResolver = { getDeclarationOfNamedType: () => { diff --git a/packages/cli/generation/ir-generator/src/__test__/openapi-irs/code-samples-open-api.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/code-samples-open-api.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/openapi-irs/code-samples-open-api.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/code-samples-open-api.json diff --git a/packages/cli/generation/ir-generator/src/__test__/openapi-irs/enum-casing.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/enum-casing.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/openapi-irs/enum-casing.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/enum-casing.json diff --git a/packages/cli/generation/ir-generator/src/__test__/openapi-irs/inline-schema-reference.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/inline-schema-reference.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/openapi-irs/inline-schema-reference.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/inline-schema-reference.json diff --git a/packages/cli/generation/ir-generator/src/__test__/openapi-irs/names.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/names.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/openapi-irs/names.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/openapi-irs/names.json diff --git a/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts b/packages/cli/generation/ir-generator-tests/src/ir/__test__/parseInlineType.test.ts similarity index 88% rename from packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/parseInlineType.test.ts index 34f73734878..9c9ace1d3f9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/parseInlineType.test.ts @@ -1,9 +1,11 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { ContainerType, serialization as IrSerialization, TypeReference } from "@fern-api/ir-sdk"; -import { constructCasingsGenerator } from "../casings/CasingsGenerator"; -import { constructFernFileContext } from "../FernFileContext"; -import { convertToFernFilepath } from "../utils/convertToFernFilepath"; -import { parseInlineType } from "../utils/parseInlineType"; +import { + constructCasingsGenerator, + constructFernFileContext, + convertToFernFilepath, + parseInlineType +} from "@fern-api/ir-generator"; describe("parse inline types", () => { it("nested containers", async () => { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/code-samples-open-api.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/code-samples-open-api.json index 642c493e777..eafc56353f8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -250,7 +250,7 @@ "docs": null }, "type_:TelemetryData": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryData", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/enum-casing.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/enum-casing.json index 939d432ca32..0e38b9e5510 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/enum-casing.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ExampleResponseStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExampleResponseStatus", @@ -129,7 +129,7 @@ "docs": null }, "type_:ExampleResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExampleResponse", @@ -344,7 +344,7 @@ "docs": null }, "type_:GrantTypeEnum": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GrantTypeEnum", @@ -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/fhir.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/fhir.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/fhir.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/fhir.json diff --git a/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/inline-schema-reference.json new file mode 100644 index 00000000000..95328ccb2e3 --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/inline-schema-reference.json @@ -0,0 +1,5972 @@ +{ + "fdrApiDefinitionId": null, + "apiVersion": null, + "apiName": { + "originalName": "api", + "camelCase": { + "unsafeName": "api", + "safeName": "api" + }, + "snakeCase": { + "unsafeName": "api", + "safeName": "api" + }, + "screamingSnakeCase": { + "unsafeName": "API", + "safeName": "API" + }, + "pascalCase": { + "unsafeName": "API", + "safeName": "API" + } + }, + "apiDisplayName": "Sample API", + "apiDocs": null, + "auth": { + "requirement": "ALL", + "schemes": [], + "docs": null + }, + "headers": [], + "idempotencyHeaders": [], + "types": { + "type_:GetExampleResponse": { + "inline": null, + "name": { + "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" + }, + "shape": { + "_type": "undiscriminatedUnion", + "members": [ + { + "type": { + "_type": "named", + "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", + "default": null, + "inline": null + }, + "docs": null + }, + { + "type": { + "_type": "named", + "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", + "default": null, + "inline": null + }, + "docs": null + } + ] + }, + "referencedTypes": [ + "type_:Schema1", + "type_:Schema2", + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "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": null + } + } + }, + "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": null + } + } + }, + "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": null, + "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": null + } + } + }, + "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": null, + "name": { + "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" + }, + "shape": { + "_type": "object", + "extends": [], + "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" + }, + "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": "name", + "camelCase": { + "unsafeName": "name", + "safeName": "name" + }, + "snakeCase": { + "unsafeName": "name", + "safeName": "name" + }, + "screamingSnakeCase": { + "unsafeName": "NAME", + "safeName": "NAME" + }, + "pascalCase": { + "unsafeName": "Name", + "safeName": "Name" + } + }, + "wireValue": "name" + }, + "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_:Schema2TestEnum": { + "inline": null, + "name": { + "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" + }, + "shape": { + "_type": "enum", + "default": null, + "values": [ + { + "name": { + "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" + }, + "availability": null, + "docs": null + }, + { + "name": { + "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" + }, + "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 + } + ] + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:Schema2TestDiscriminatedUnionZero": { + "inline": true, + "name": { + "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 + }, + "typeId": "type_:Schema2TestDiscriminatedUnionZero" + }, + "shape": { + "_type": "object", + "extends": [], + "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" + }, + "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_: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": "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" + }, + "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_:Schema2TestDiscriminatedUnion": { + "inline": true, + "name": { + "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" + }, + "shape": { + "_type": "undiscriminatedUnion", + "members": [ + { + "type": { + "_type": "named", + "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 + }, + "typeId": "type_:Schema2TestDiscriminatedUnionZero", + "default": null, + "inline": null + }, + "docs": null + }, + { + "type": { + "_type": "named", + "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", + "default": null, + "inline": null + }, + "docs": null + } + ] + }, + "referencedTypes": [ + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:Schema2TestUnionA": { + "inline": true, + "name": { + "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" + }, + "shape": { + "_type": "object", + "extends": [], + "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" + }, + "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_: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": "B", + "safeName": "B" + }, + "pascalCase": { + "unsafeName": "B", + "safeName": "B" + } + }, + "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": [] + }, + "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 + } + ] + }, + "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", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "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", + "default": null, + "inline": null + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB" + ], + "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": "48bedd7469ebc1cb729db9f8daca25bc109b40d3e2b832b743691e4c1934295a", + "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_: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" + } + } + }, + "shape": { + "type": "object", + "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" + }, + "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": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "name" + } + } + }, + "jsonExample": "name" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "name" + }, + "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" + } + } + } + } + ] + } + }, + "jsonExample": { + "id": 1, + "name": "name" + } + } + } + }, + "jsonExample": { + "id": 1, + "name": "name" + } + } + } + }, + "docs": null + }, + "codeSamples": null + } + ], + "autogeneratedExamples": [ + { + "example": { + "id": "0be9bc672e16c380928a1262d7f5d88409f98ace", + "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": "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": "name", + "safeName": "name" + }, + "snakeCase": { + "unsafeName": "name", + "safeName": "name" + }, + "screamingSnakeCase": { + "unsafeName": "NAME", + "safeName": "NAME" + }, + "pascalCase": { + "unsafeName": "Name", + "safeName": "Name" + } + }, + "wireValue": "name" + }, + "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": "string", + "string": { + "original": "name" + } + } + }, + "jsonExample": "name" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "name" + } + } + ] + }, + "typeName": { + "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" + } + }, + "jsonExample": { + "id": 1, + "name": "name" + } + } + }, + "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": { + "id": 1, + "name": "name" + } + } + } + }, + "docs": null + } + } + ], + "pagination": null, + "transport": null, + "availability": null, + "docs": null + }, + { + "id": "endpoint_.postRoot", + "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" + } + }, + "displayName": null, + "auth": false, + "idempotent": false, + "baseUrl": null, + "method": "POST", + "basePath": null, + "path": { + "head": "/root", + "parts": [] + }, + "fullPath": { + "head": "root", + "parts": [] + }, + "pathParameters": [], + "allPathParameters": [], + "queryParameters": [], + "headers": [], + "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": 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", + "value": { + "type": "response", + "responseBodyType": { + "_type": "named", + "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", + "default": null, + "inline": null + }, + "docs": "Successful response" + } + }, + "status-code": null + }, + "errors": [], + "userSpecifiedExamples": [ + { + "example": { + "id": "7eda6d031b33bfd08627608eb55f4a966170a0ce281f137740f324a67facb8e2", + "name": null, + "url": "/root", + "rootPathParameters": [], + "endpointPathParameters": [], + "servicePathParameters": [], + "endpointHeaders": [], + "serviceHeaders": [], + "queryParameters": [], + "request": { + "type": "inlinedRequestBody", + "properties": [], + "jsonExample": {} + }, + "response": { + "type": "ok", + "value": { + "type": "body", + "value": { + "shape": { + "type": "named", + "typeName": { + "typeId": "type_:PostRootResponse", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + }, + "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_:PostRootResponse", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + } + }, + { + "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": "named", + "typeName": { + "typeId": "type_:PostRootResponseBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + }, + "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_:PostRootResponseBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + } + }, + { + "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_:PostRootResponseBarInnerBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + }, + "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_:PostRootResponseBarInnerBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + } + }, + { + "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_:PostRootResponseBarInnerBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + } + } + ] + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + }, + "valueType": { + "_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": null + } + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + }, + "originalTypeDeclaration": { + "typeId": "type_:PostRootResponseBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + } + } + ] + } + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + }, + "valueType": { + "_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": null + } + } + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + }, + "originalTypeDeclaration": { + "typeId": "type_:PostRootResponse", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "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" + } + } + } + } + ] + } + }, + "jsonExample": { + "foo": "foo", + "bar": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + } + } + } + }, + "docs": null + }, + "codeSamples": null + } + ], + "autogeneratedExamples": [ + { + "example": { + "id": "55381b1afc6f17c8c6a557a880679ee9e9dcc73d", + "url": "/root", + "name": null, + "endpointHeaders": [], + "endpointPathParameters": [], + "queryParameters": [], + "servicePathParameters": [], + "serviceHeaders": [], + "rootPathParameters": [], + "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": null + } + } + } + } + } + ], + "jsonExample": {} + }, + "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": "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" + }, + "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": "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" + }, + "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": "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" + }, + "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": "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" + }, + "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": "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" + }, + "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": "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" + }, + "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": "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" + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + }, + "valueType": { + "_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": null + } + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + } + } + ] + }, + "typeName": { + "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" + } + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + }, + "valueType": { + "_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": null + } + } + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + } + } + ] + }, + "typeName": { + "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" + } + }, + "jsonExample": { + "foo": "foo", + "bar": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + } + } + } + }, + "docs": null + } + } + ], + "pagination": null, + "transport": null, + "availability": null, + "docs": null + } + ] + } + }, + "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": { + "service_": [ + "type_:GetExampleResponse", + "type_:PostRootRequestBarInnerBar", + "type_:PostRootRequestBar", + "type_:PostRootResponseBarInnerBar", + "type_:PostRootResponseBar", + "type_:PostRootResponse", + "type_:Schema1", + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB", + "type_:Schema2TestUnion", + "type_:Schema2" + ] + }, + "sharedTypes": [] + }, + "webhookGroups": {}, + "websocketChannels": {}, + "readmeConfig": null, + "sourceConfig": null, + "publishConfig": null, + "dynamic": { + "version": "1.0.0", + "types": { + "type_:GetExampleResponse": { + "type": "undiscriminatedUnion", + "declaration": { + "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 + } + }, + "types": [ + { + "_type": "named", + "value": "type_:Schema1" + }, + { + "_type": "named", + "value": "type_:Schema2" + } + ] + }, + "type_:PostRootRequestBarInnerBar": { + "type": "object", + "declaration": { + "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 + } + }, + "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": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:PostRootRequestBar": { + "type": "object", + "declaration": { + "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 + } + }, + "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_:PostRootRequestBarInnerBar" + } + } + } + ] + }, + "type_:PostRootResponseBarInnerBar": { + "type": "object", + "declaration": { + "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 + } + }, + "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": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:PostRootResponseBar": { + "type": "object", + "declaration": { + "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 + } + }, + "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" + } + } + } + }, + "subpackages": {}, + "rootPackage": { + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "websocket": null, + "service": "service_", + "types": [ + "type_:GetExampleResponse", + "type_:PostRootRequestBarInnerBar", + "type_:PostRootRequestBar", + "type_:PostRootResponseBarInnerBar", + "type_:PostRootResponseBar", + "type_:PostRootResponse", + "type_:Schema1", + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB", + "type_:Schema2TestUnion", + "type_:Schema2" + ], + "errors": [], + "subpackages": [], + "webhooks": null, + "navigationConfig": null, + "hasEndpointsInTree": true, + "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/__test__/test-definitions-openapi/names.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/names.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/names.json index 8d035134f06..d1908fd9347 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions-openapi/names.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_telemetry:TelemetryGetTelemetryDataResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryGetTelemetryDataResponse", @@ -365,7 +365,7 @@ "docs": null }, "type_infra/telemetry:TelemetryData": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryData", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/alias-extends.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/alias-extends.json index 6a72470de91..ac9a636d466 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -448,7 +448,7 @@ "docs": null }, "type_:Child": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Child", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/alias.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/alias.json index 6825a31adbd..63204f69cd9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -472,7 +472,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-tests/src/ir/__test__/test-definitions/any-auth.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/any-auth.json index 14e2d074123..f0be426650c 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/any-auth.json @@ -283,7 +283,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", @@ -486,7 +486,7 @@ "docs": "An OAuth token response." }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/api-wide-base-path.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/api-wide-base-path.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/api-wide-base-path.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/api-wide-base-path.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/audiences.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/audiences.json index f50326b5bcb..4f4fa266ad9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -401,7 +401,7 @@ "docs": null }, "type_folder-b/common:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -667,7 +667,7 @@ "docs": null }, "type_folder-c/common:FolderCFoo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FolderCFoo", @@ -825,7 +825,7 @@ "docs": null }, "type_folder-d/service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -987,7 +987,7 @@ "docs": null }, "type_foo:ImportingType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingType", @@ -1169,7 +1169,7 @@ "docs": null }, "type_foo:OptionalString": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalString", @@ -1284,7 +1284,7 @@ "docs": null }, "type_foo:FilteredType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FilteredType", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/auth-environment-variables.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/auth-environment-variables.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/auth-environment-variables.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/auth-environment-variables.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/availability.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/availability.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/availability.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/availability.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/basic-auth-environment-variables.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/basic-auth-environment-variables.json index 66f389523b4..3fc28894a15 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/basic-auth.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/basic-auth.json index 4ef6230dab3..c77776bbc36 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/basic-auth.json @@ -76,7 +76,7 @@ "idempotencyHeaders": [], "types": { "type_errors:UnauthorizedRequestErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnauthorizedRequestErrorBody", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/bearer-token-environment-variable.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/bearer-token-environment-variable.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/bearer-token-environment-variable.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/bearer-token-environment-variable.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/bytes.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/bytes.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/bytes.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/bytes.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/circular-references-advanced.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/circular-references-advanced.json index 4033c78dbb3..e5d6f46e8d4 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/circular-references-advanced.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ImportingA": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingA", @@ -182,7 +182,7 @@ "docs": null }, "type_:RootType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RootType", @@ -267,7 +267,7 @@ "docs": null }, "type_a:A": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "A", @@ -420,7 +420,7 @@ "docs": null }, "type_ast:ContainerValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ContainerValue", @@ -784,7 +784,7 @@ "docs": null }, "type_ast:PrimitiveValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PrimitiveValue", @@ -920,7 +920,7 @@ "docs": null }, "type_ast:ObjectValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectValue", @@ -1005,7 +1005,7 @@ "docs": null }, "type_ast:FieldName": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FieldName", @@ -1108,7 +1108,7 @@ "docs": null }, "type_ast:FieldValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FieldValue", @@ -1553,7 +1553,7 @@ "docs": null }, "type_ast:ObjectFieldValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectFieldValue", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/circular-references.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/circular-references.json index f6f4edb360f..2f0fbfa7e55 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/circular-references.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ImportingA": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingA", @@ -182,7 +182,7 @@ "docs": null }, "type_:RootType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RootType", @@ -267,7 +267,7 @@ "docs": null }, "type_a:A": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "A", @@ -420,7 +420,7 @@ "docs": null }, "type_ast:FieldValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FieldValue", @@ -865,7 +865,7 @@ "docs": null }, "type_ast:ContainerValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ContainerValue", @@ -1229,7 +1229,7 @@ "docs": null }, "type_ast:PrimitiveValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PrimitiveValue", @@ -1365,7 +1365,7 @@ "docs": null }, "type_ast:ObjectValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectValue", @@ -1450,7 +1450,7 @@ "docs": null }, "type_ast:JsonLike": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "JsonLike", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/code-samples.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/code-samples.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/code-samples.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/code-samples.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/cross-package-type-names.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/cross-package-type-names.json index bf8ebc905e8..c8a90889563 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -401,7 +401,7 @@ "docs": null }, "type_folder-b/common:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -667,7 +667,7 @@ "docs": null }, "type_folder-c/common:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -825,7 +825,7 @@ "docs": null }, "type_folder-d/service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -1092,7 +1092,7 @@ "docs": null }, "type_foo:ImportingType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingType", @@ -1274,7 +1274,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-tests/src/ir/__test__/test-definitions/csharp-grpc-proto-exhaustive.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-grpc-proto-exhaustive.json index 10c071de540..3646c4d4316 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-grpc-proto-exhaustive.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Column": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Column", @@ -316,7 +316,7 @@ "docs": null }, "type_:DeleteResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DeleteResponse", @@ -396,7 +396,7 @@ "docs": null }, "type_:DescribeResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DescribeResponse", @@ -675,7 +675,7 @@ "docs": null }, "type_:FetchResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FetchResponse", @@ -946,7 +946,7 @@ "docs": null }, "type_:IndexedData": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "IndexedData", @@ -1105,7 +1105,7 @@ "docs": null }, "type_:ListElement": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListElement", @@ -1229,7 +1229,7 @@ "docs": null }, "type_:ListResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListResponse", @@ -1549,7 +1549,7 @@ "docs": null }, "type_:NamespaceSummary": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NamespaceSummary", @@ -1669,7 +1669,7 @@ "docs": null }, "type_:Pagination": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Pagination", @@ -1793,7 +1793,7 @@ "docs": null }, "type_:QueryColumn": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "QueryColumn", @@ -2123,7 +2123,7 @@ "docs": null }, "type_:QueryResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "QueryResponse", @@ -2452,7 +2452,7 @@ "docs": null }, "type_:QueryResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "QueryResult", @@ -2649,7 +2649,7 @@ "docs": null }, "type_:ScoredColumn": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ScoredColumn", @@ -2979,7 +2979,7 @@ "docs": null }, "type_:UpdateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UpdateResponse", @@ -3059,7 +3059,7 @@ "docs": null }, "type_:UploadResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UploadResponse", @@ -3179,7 +3179,7 @@ "docs": null }, "type_:Usage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Usage", @@ -3299,7 +3299,7 @@ "docs": null }, "type_:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -3427,7 +3427,7 @@ "docs": null }, "type_:MetadataValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MetadataValue", @@ -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/csharp-grpc-proto.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-grpc-proto.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-grpc-proto.json index bca94419a0b..4ec60b980a0 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-grpc-proto.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:CreateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateResponse", @@ -178,7 +178,7 @@ "docs": null }, "type_:UserModel": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserModel", @@ -488,7 +488,7 @@ "docs": null }, "type_:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -616,7 +616,7 @@ "docs": null }, "type_:MetadataValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MetadataValue", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-namespace-conflict.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/csharp-namespace-conflict.json index 1d88767c190..145b6b4b047 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -156,7 +156,7 @@ "docs": null }, "type_a/aa:B": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "B", @@ -281,7 +281,7 @@ "docs": null }, "type_a/aa:SubTestType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubTestType", @@ -678,7 +678,7 @@ "docs": null }, "type_b:TestType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestType", @@ -1037,7 +1037,7 @@ "docs": null }, "type_tasktest:Task": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Task", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/custom-auth.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/custom-auth.json index d2968375152..9b03b6f5b3b 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/custom-auth.json @@ -71,7 +71,7 @@ "idempotencyHeaders": [], "types": { "type_errors:UnauthorizedRequestErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnauthorizedRequestErrorBody", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/enum.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/enum.json index 4916da181fd..50fb9b41efb 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/enum.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Operand": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Operand", @@ -252,7 +252,7 @@ "docs": "Tests enum name and value can be\ndifferent." }, "type_:Color": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Color", @@ -399,7 +399,7 @@ "docs": null }, "type_:ColorOrOperand": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ColorOrOperand", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/error-property.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/error-property.json index 4356fdecc08..d1d94cd4563 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/error-property.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_errors:PropertyBasedErrorTestBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PropertyBasedErrorTestBody", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/examples.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/examples.json index 725401050e7..ba151a76422 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/examples.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -170,7 +170,7 @@ "docs": null }, "type_:Identifier": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Identifier", @@ -352,7 +352,7 @@ "docs": null }, "type_:BasicType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicType", @@ -450,7 +450,7 @@ "docs": null }, "type_:ComplexType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ComplexType", @@ -574,7 +574,7 @@ "docs": null }, "type_commons/types:Tag": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Tag", @@ -755,7 +755,7 @@ "docs": null }, "type_commons/types:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -1612,7 +1612,7 @@ "docs": null }, "type_commons/types:EventInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "EventInfo", @@ -2668,7 +2668,7 @@ "docs": null }, "type_commons/types:Data": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Data", @@ -3025,7 +3025,7 @@ "docs": null }, "type_file/service:Filename": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Filename", @@ -3206,7 +3206,7 @@ "docs": null }, "type_types:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -3348,7 +3348,7 @@ "docs": null }, "type_types:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -5430,7 +5430,7 @@ "docs": null }, "type_types:CastMember": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CastMember", @@ -6353,7 +6353,7 @@ "docs": null }, "type_types:Actor": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Actor", @@ -6513,7 +6513,7 @@ "docs": null }, "type_types:Actress": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Actress", @@ -6907,7 +6907,7 @@ "docs": null }, "type_types:StuntDouble": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StuntDouble", @@ -7067,7 +7067,7 @@ "docs": null }, "type_types:ExtendedMovie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExtendedMovie", @@ -9143,7 +9143,7 @@ "docs": null }, "type_types:Moment": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Moment", @@ -9641,7 +9641,7 @@ "docs": null }, "type_types:File": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "File", @@ -10268,7 +10268,7 @@ "docs": null }, "type_types:Directory": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Directory", @@ -12295,7 +12295,7 @@ "docs": null }, "type_types:Node": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Node", @@ -14651,7 +14651,7 @@ "docs": null }, "type_types:Tree": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Tree", @@ -15507,7 +15507,7 @@ "docs": null }, "type_types:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -15935,7 +15935,7 @@ "docs": null }, "type_types:Exception": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Exception", @@ -16556,7 +16556,7 @@ "docs": null }, "type_types:ExceptionInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExceptionInfo", @@ -17089,7 +17089,7 @@ "docs": null }, "type_types:MigrationStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MigrationStatus", @@ -17348,7 +17348,7 @@ "docs": null }, "type_types:Migration": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Migration", @@ -17867,7 +17867,7 @@ "docs": null }, "type_types:Request": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Request", @@ -18109,7 +18109,7 @@ "docs": null }, "type_types:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -19199,7 +19199,7 @@ "docs": null }, "type_types:ResponseType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ResponseType", @@ -19345,7 +19345,7 @@ "docs": null }, "type_types:Test": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Test", @@ -19743,7 +19743,7 @@ "docs": null }, "type_types:Entity": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Entity", @@ -20243,7 +20243,7 @@ "docs": null }, "type_types:BigEntity": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BigEntity", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/exhaustive.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/exhaustive.json index 67aae6ca367..5ae64617836 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/exhaustive.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_general-errors:BadObjectRequestInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BadObjectRequestInfo", @@ -179,7 +179,7 @@ "docs": null }, "type_types/enum:WeatherReport": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WeatherReport", @@ -406,7 +406,7 @@ "docs": null }, "type_types/object:ObjectWithOptionalField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectWithOptionalField", @@ -1091,7 +1091,7 @@ "docs": null }, "type_types/object:ObjectWithRequiredField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectWithRequiredField", @@ -1253,7 +1253,7 @@ "docs": null }, "type_types/object:ObjectWithMapOfMap": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectWithMapOfMap", @@ -1449,7 +1449,7 @@ "docs": null }, "type_types/object:NestedObjectWithOptionalField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedObjectWithOptionalField", @@ -1758,7 +1758,7 @@ "docs": null }, "type_types/object:NestedObjectWithRequiredField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedObjectWithRequiredField", @@ -2055,7 +2055,7 @@ "docs": null }, "type_types/object:DoubleOptional": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoubleOptional", @@ -2321,7 +2321,7 @@ "docs": null }, "type_types/object:OptionalAlias": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalAlias", @@ -2475,7 +2475,7 @@ "docs": null }, "type_types/union:Animal": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Animal", @@ -2888,7 +2888,7 @@ "docs": null }, "type_types/union:Dog": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Dog", @@ -3083,7 +3083,7 @@ "docs": null }, "type_types/union:Cat": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Cat", @@ -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/extends.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/extends.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/extends.json index 9ed08aa8208..25768aa2aaf 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/extends.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ExampleType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExampleType", @@ -342,7 +342,7 @@ "docs": null }, "type_:NestedType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedType", @@ -755,7 +755,7 @@ "docs": null }, "type_:Docs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Docs", @@ -934,7 +934,7 @@ "docs": null }, "type_:JSON": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "JSON", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/extra-properties.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/extra-properties.json index 33b7a218680..c1f525e44ff 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/extra-properties.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Failure": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Failure", @@ -115,7 +115,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-download.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/file-download.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/file-download.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/file-download.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/file-upload.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/file-upload.json index 0b92cb3d5d7..1d40ee2c3a3 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -257,7 +257,7 @@ "docs": null }, "type_service:ObjectType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectType", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/folders.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/folders.json index 4e2a50b407f..a603d12c68a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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-tests/src/ir/__test__/test-definitions/go-content-type.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/go-content-type.json index 1a3a23f1e69..d11d4ace6f9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/go-content-type.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/grpc-proto-exhaustive.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/grpc-proto-exhaustive.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/grpc-proto-exhaustive.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/grpc-proto-exhaustive.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/grpc-proto.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/grpc-proto.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/grpc-proto.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/grpc-proto.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/idempotency-headers.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/idempotency-headers.json index 4af0ff377c8..79b08c02edf 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/idempotency-headers.json @@ -133,7 +133,7 @@ ], "types": { "type_payment:Currency": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Currency", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/imdb.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/imdb.json index 4e8797731df..dc1c1a4ec2e 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -415,7 +415,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", diff --git a/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/inline-types.json new file mode 100644 index 00000000000..47a24189178 --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/inline-types.json @@ -0,0 +1,3316 @@ +{ + "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": null, + "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": null + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:InlineEnum" + ], + "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": null + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:NestedInlineType1", + "type_:InlineEnum" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:InlineType2": { + "inline": true, + "name": { + "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" + }, + "shape": { + "_type": "object", + "extends": [], + "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" + }, + "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_: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 + }, + { + "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": [] + }, + "referencedTypes": [ + "type_:InlineEnum" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:InlinedDiscriminatedUnion1": { + "inline": true, + "name": { + "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 + }, + "typeId": "type_:InlinedDiscriminatedUnion1" + }, + "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": "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 + } + ] + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:InlineEnum", + "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 + } + ] + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:InlineEnum", + "type_:InlineType2" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "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 + } + ] + }, + "referencedTypes": [], + "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": "/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": "POST", + "basePath": null, + "path": { + "head": "/root", + "parts": [] + }, + "fullPath": { + "head": "/root/root", + "parts": [] + }, + "pathParameters": [], + "allPathParameters": [], + "queryParameters": [], + "headers": [], + "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": null + }, + "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", + "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": "9cd41e603ec7775a338b95cab82902d42d7df333", + "url": "/root/root", + "name": null, + "endpointHeaders": [], + "endpointPathParameters": [], + "queryParameters": [], + "servicePathParameters": [], + "serviceHeaders": [], + "rootPathParameters": [], + "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" + } + }, + { + "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" + } + } + ] + }, + "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", + "myEnum": "SUNNY" + } + } + } + ] + }, + "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", + "myEnum": "SUNNY" + } + } + } + }, + { + "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", + "myEnum": "SUNNY" + } + }, + "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" + } + }, + { + "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" + } + } + ] + }, + "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", + "myEnum": "SUNNY" + } + } + } + ] + }, + "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", + "myEnum": "SUNNY" + } + } + } + } + ] + }, + "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", + "myEnum": "SUNNY" + } + } + } + } + } + }, + "docs": null + } + } + ], + "pagination": null, + "transport": null, + "availability": null, + "docs": null + } + ] + } + }, + "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": { + "service_": [ + "type_:RootType1", + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:InlineEnum" + ] + }, + "sharedTypes": [ + "type_:InlineType2", + "type_:InlinedDiscriminatedUnion1", + "type_:InlinedUndiscriminatedUnion1" + ] + }, + "webhookGroups": {}, + "websocketChannels": {}, + "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": { + "allParts": [], + "packagePath": [], + "file": null + }, + "websocket": null, + "service": "service_", + "types": [ + "type_:RootType1", + "type_:InlineType1", + "type_:InlineType2", + "type_:NestedInlineType1", + "type_:InlinedDiscriminatedUnion1", + "type_:InlinedUndiscriminatedUnion1", + "type_:InlineEnum" + ], + "errors": [], + "subpackages": [], + "webhooks": null, + "navigationConfig": null, + "hasEndpointsInTree": true, + "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/__test__/test-definitions/license.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/license.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/license.json index ba60ed96c7e..5cfa147791e 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/license.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/literal.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/literal.json index 0ccff03596a..34331411010 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/literal.json @@ -106,7 +106,7 @@ "idempotencyHeaders": [], "types": { "type_:SendResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SendResponse", @@ -264,7 +264,7 @@ "docs": null }, "type_inlined:SomeAliasedLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SomeAliasedLiteral", @@ -365,7 +365,7 @@ "docs": null }, "type_inlined:ATopLevelLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ATopLevelLiteral", @@ -547,7 +547,7 @@ "docs": null }, "type_inlined:ANestedLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ANestedLiteral", @@ -669,7 +669,7 @@ "docs": null }, "type_reference:SendRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SendRequest", @@ -1156,7 +1156,7 @@ "docs": null }, "type_reference:ContainerObject": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ContainerObject", @@ -1344,7 +1344,7 @@ "docs": null }, "type_reference:NestedObjectWithLiterals": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedObjectWithLiterals", @@ -1539,7 +1539,7 @@ "docs": null }, "type_reference:SomeLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SomeLiteral", @@ -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/mixed-case.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/mixed-case.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/mixed-case.json index 6002e3d0c61..210a471fd08 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/mixed-case.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Organization": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Organization", @@ -286,7 +286,7 @@ "docs": null }, "type_service:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -961,7 +961,7 @@ "docs": null }, "type_service:NestedUser": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedUser", @@ -1914,7 +1914,7 @@ "docs": null }, "type_service:ResourceStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ResourceStatus", @@ -2050,7 +2050,7 @@ "docs": null }, "type_service:Resource": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Resource", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/mixed-file-directory.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/mixed-file-directory.json index c109710d66b..f80ce8284e8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -378,7 +378,7 @@ "docs": null }, "type_organization:CreateOrganizationRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateOrganizationRequest", @@ -501,7 +501,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -719,7 +719,7 @@ "docs": null }, "type_user/events:Event": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Event", @@ -939,7 +939,7 @@ "docs": null }, "type_user/events/metadata:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-line-docs.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-line-docs.json index 7e8be7b4a2f..5445f7bffcb 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-line-docs.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Operand": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Operand", @@ -252,7 +252,7 @@ "docs": "Tests enum name and value can be\ndifferent." }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-url-environment-no-default.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-url-environment-no-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-url-environment-no-default.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-url-environment-no-default.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-url-environment.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-url-environment.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-url-environment.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/multi-url-environment.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/no-environment.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/no-environment.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/no-environment.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/no-environment.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials-default.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials-default.json index 77f75831d67..53954c287a8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials-environment-variables.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials-environment-variables.json index d2d9969616b..aa57bcf4593 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials-nested-root.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials-nested-root.json index ea4ac62aef5..73b74051f5b 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials.json index 11f7d8a8485..84530181c37 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/oauth-client-credentials.json @@ -220,7 +220,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/object.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/object.json index 6f248429f41..aa514a75091 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/object.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -3071,7 +3071,7 @@ "docs": "Exercises all of the built-in types." }, "type_:Name": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Name", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/objects-with-imports.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/objects-with-imports.json index aec7b34959d..430b1e25fe1 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/objects-with-imports.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Node": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Node", @@ -2049,7 +2049,7 @@ "docs": null }, "type_:Tree": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Tree", @@ -4173,7 +4173,7 @@ "docs": null }, "type_commons/metadata:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -4826,7 +4826,7 @@ "docs": null }, "type_file:File": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "File", @@ -5921,7 +5921,7 @@ "docs": null }, "type_file:FileInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfo", @@ -6154,7 +6154,7 @@ "docs": null }, "type_file/directory:Directory": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Directory", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/optional.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/optional.json index cbd1b7dfd23..39a212b8e95 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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/__test__/test-definitions/package-yml.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/package-yml.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/package-yml.json index 0d96034641f..1cbca51b2a9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/package-yml.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:EchoRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "EchoRequest", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/pagination.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/pagination.json index 51b059d6b03..ddb96be1ede 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/pagination.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_:UsernameCursor": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UsernameCursor", @@ -162,7 +162,7 @@ "docs": null }, "type_:UsernamePage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UsernamePage", @@ -296,7 +296,7 @@ "docs": null }, "type_users:Order": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Order", @@ -432,7 +432,7 @@ "docs": null }, "type_users:WithPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithPage", @@ -561,7 +561,7 @@ "docs": null }, "type_users:WithCursor": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithCursor", @@ -690,7 +690,7 @@ "docs": null }, "type_users:UserListContainer": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserListContainer", @@ -878,7 +878,7 @@ "docs": null }, "type_users:UserPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserPage", @@ -1100,7 +1100,7 @@ "docs": null }, "type_users:UserOptionalListContainer": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserOptionalListContainer", @@ -1294,7 +1294,7 @@ "docs": null }, "type_users:UserOptionalListPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserOptionalListPage", @@ -1516,7 +1516,7 @@ "docs": null }, "type_users:UsernameContainer": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UsernameContainer", @@ -1645,7 +1645,7 @@ "docs": null }, "type_users:ListUsersExtendedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListUsersExtendedResponse", @@ -1972,7 +1972,7 @@ "docs": null }, "type_users:ListUsersExtendedOptionalListResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListUsersExtendedOptionalListResponse", @@ -2299,7 +2299,7 @@ "docs": null }, "type_users:ListUsersPaginationResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListUsersPaginationResponse", @@ -2665,7 +2665,7 @@ "docs": null }, "type_users:Page": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Page", @@ -2964,7 +2964,7 @@ "docs": null }, "type_users:NextPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NextPage", @@ -3124,7 +3124,7 @@ "docs": null }, "type_users:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/path-parameters.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/path-parameters.json index 148d64a849b..7f087449097 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/path-parameters.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_user:Organization": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Organization", @@ -197,7 +197,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/plain-text.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/plain-text.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/plain-text.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/plain-text.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/query-parameters.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/query-parameters.json index 10035e75167..ff7080abf05 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/query-parameters.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -197,7 +197,7 @@ "docs": null }, "type_user:NestedUser": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedUser", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/reserved-keywords.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/reserved-keywords.json index 00c41a8ad84..0788cf6e198 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/reserved-keywords.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_package:Package": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Package", @@ -154,7 +154,7 @@ "docs": null }, "type_package:Record": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Record", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/response-property.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/response-property.json index 4503b91d81a..b7b255841ca 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/response-property.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:StringResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StringResponse", @@ -116,7 +116,7 @@ "docs": null }, "type_:OptionalStringResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalStringResponse", @@ -233,7 +233,7 @@ "docs": null }, "type_:WithMetadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithMetadata", @@ -335,7 +335,7 @@ "docs": null }, "type_service:WithDocs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithDocs", @@ -458,7 +458,7 @@ "docs": null }, "type_service:OptionalWithDocs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalWithDocs", @@ -689,7 +689,7 @@ "docs": null }, "type_service:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -849,7 +849,7 @@ "docs": null }, "type_service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/server-sent-event-examples.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/server-sent-event-examples.json index 8d7650b9db4..9182f1c6197 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/server-sent-events.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/server-sent-events.json index a90f876fd54..237a0172c62 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/server-sent-events.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_completions:StreamedCompletion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamedCompletion", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/simple-fhir.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/simple-fhir.json index 2fd2d4dbd6a..3fcf4863a0a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/simple-fhir.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Memo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Memo", @@ -186,7 +186,7 @@ "docs": null }, "type_:BaseResource": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BaseResource", @@ -397,7 +397,7 @@ "docs": null }, "type_:ResourceList": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ResourceList", @@ -582,7 +582,7 @@ "docs": null }, "type_:Account": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Account", @@ -1019,7 +1019,7 @@ "docs": null }, "type_:Patient": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Patient", @@ -1394,7 +1394,7 @@ "docs": null }, "type_:Practitioner": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Practitioner", @@ -1707,7 +1707,7 @@ "docs": null }, "type_:Script": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Script", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/single-url-environment-default.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/single-url-environment-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/single-url-environment-default.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/single-url-environment-default.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/single-url-environment-no-default.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/single-url-environment-no-default.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/single-url-environment-no-default.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/single-url-environment-no-default.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/streaming-parameter.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/streaming-parameter.json index 10633d5389d..a3c56f51696 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/streaming-parameter.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_dummy:RegularResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RegularResponse", @@ -197,7 +197,7 @@ "docs": null }, "type_dummy:StreamResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamResponse", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/streaming.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/streaming.json index 7cf13e41bc6..deb1485ce6d 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/streaming.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_dummy:StreamResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamResponse", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/trace.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/trace.json index b3bf477fe1d..f98afe34752 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/trace.json @@ -101,7 +101,7 @@ "idempotencyHeaders": [], "types": { "type_admin:Test": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Test", @@ -326,7 +326,7 @@ "docs": null }, "type_commons:UserId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserId", @@ -429,7 +429,7 @@ "docs": null }, "type_commons:ProblemId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemId", @@ -532,7 +532,7 @@ "docs": null }, "type_commons:NodeId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NodeId", @@ -635,7 +635,7 @@ "docs": null }, "type_commons:VariableType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VariableType", @@ -1172,7 +1172,7 @@ "docs": null }, "type_commons:ListType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListType", @@ -1395,7 +1395,7 @@ "docs": null }, "type_commons:MapType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MapType", @@ -1673,7 +1673,7 @@ "docs": null }, "type_commons:VariableValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VariableValue", @@ -2630,7 +2630,7 @@ "docs": null }, "type_commons:DebugVariableValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DebugVariableValue", @@ -3714,7 +3714,7 @@ "docs": null }, "type_commons:GenericValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GenericValue", @@ -3880,7 +3880,7 @@ "docs": null }, "type_commons:MapValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MapValue", @@ -4077,7 +4077,7 @@ "docs": null }, "type_commons:KeyValuePair": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "KeyValuePair", @@ -4362,7 +4362,7 @@ "docs": null }, "type_commons:BinaryTreeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BinaryTreeValue", @@ -4719,7 +4719,7 @@ "docs": null }, "type_commons:BinaryTreeNodeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BinaryTreeNodeValue", @@ -5138,7 +5138,7 @@ "docs": null }, "type_commons:BinaryTreeNodeAndTreeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BinaryTreeNodeAndTreeValue", @@ -5416,7 +5416,7 @@ "docs": null }, "type_commons:SinglyLinkedListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SinglyLinkedListValue", @@ -5773,7 +5773,7 @@ "docs": null }, "type_commons:SinglyLinkedListNodeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SinglyLinkedListNodeValue", @@ -6092,7 +6092,7 @@ "docs": null }, "type_commons:SinglyLinkedListNodeAndListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SinglyLinkedListNodeAndListValue", @@ -6370,7 +6370,7 @@ "docs": null }, "type_commons:DoublyLinkedListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoublyLinkedListValue", @@ -6727,7 +6727,7 @@ "docs": null }, "type_commons:DoublyLinkedListNodeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoublyLinkedListNodeValue", @@ -7146,7 +7146,7 @@ "docs": null }, "type_commons:DoublyLinkedListNodeAndListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoublyLinkedListNodeAndListValue", @@ -7424,7 +7424,7 @@ "docs": null }, "type_commons:DebugMapValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DebugMapValue", @@ -7625,7 +7625,7 @@ "docs": null }, "type_commons:DebugKeyValuePairs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DebugKeyValuePairs", @@ -7914,7 +7914,7 @@ "docs": null }, "type_commons:TestCase": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCase", @@ -8148,7 +8148,7 @@ "docs": null }, "type_commons:TestCaseWithExpectedResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseWithExpectedResult", @@ -8434,7 +8434,7 @@ "docs": null }, "type_commons:FileInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfo", @@ -8594,7 +8594,7 @@ "docs": null }, "type_commons:Language": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Language", @@ -8756,7 +8756,7 @@ "docs": null }, "type_lang-server:LangServerRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LangServerRequest", @@ -8871,7 +8871,7 @@ "docs": null }, "type_lang-server:LangServerResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LangServerResponse", @@ -8986,7 +8986,7 @@ "docs": null }, "type_migration:MigrationStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MigrationStatus", @@ -9148,7 +9148,7 @@ "docs": null }, "type_migration:Migration": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Migration", @@ -9367,7 +9367,7 @@ "docs": null }, "type_playlist:PlaylistId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PlaylistId", @@ -9470,7 +9470,7 @@ "docs": null }, "type_playlist:Playlist": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Playlist", @@ -9953,7 +9953,7 @@ "docs": null }, "type_playlist:PlaylistCreateRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PlaylistCreateRequest", @@ -10178,7 +10178,7 @@ "docs": null }, "type_playlist:UpdatePlaylistRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UpdatePlaylistRequest", @@ -10403,7 +10403,7 @@ "docs": null }, "type_playlist:PlaylistIdNotFoundErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PlaylistIdNotFoundErrorBody", @@ -10632,7 +10632,7 @@ "docs": null }, "type_playlist:ReservedKeywordEnum": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ReservedKeywordEnum", @@ -10768,7 +10768,7 @@ "docs": null }, "type_problem:ProblemInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemInfo", @@ -11671,7 +11671,7 @@ "docs": null }, "type_problem:ProblemDescription": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemDescription", @@ -11869,7 +11869,7 @@ "docs": null }, "type_problem:ProblemDescriptionBoard": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemDescriptionBoard", @@ -12233,7 +12233,7 @@ "docs": null }, "type_problem:ProblemFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemFiles", @@ -12515,7 +12515,7 @@ "docs": null }, "type_problem:VariableTypeAndName": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VariableTypeAndName", @@ -12736,7 +12736,7 @@ "docs": null }, "type_problem:CreateProblemRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemRequest", @@ -13474,7 +13474,7 @@ "docs": null }, "type_problem:CreateProblemResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemResponse", @@ -13825,7 +13825,7 @@ "docs": null }, "type_problem:UpdateProblemResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UpdateProblemResponse", @@ -13948,7 +13948,7 @@ "docs": null }, "type_problem:CreateProblemError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemError", @@ -14150,7 +14150,7 @@ "docs": null }, "type_problem:GenericCreateProblemError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GenericCreateProblemError", @@ -14347,7 +14347,7 @@ "docs": null }, "type_problem:GetDefaultStarterFilesResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetDefaultStarterFilesResponse", @@ -14605,7 +14605,7 @@ "docs": null }, "type_submission:SubmissionId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionId", @@ -14700,7 +14700,7 @@ "docs": null }, "type_submission:ShareId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ShareId", @@ -14803,7 +14803,7 @@ "docs": null }, "type_submission:SubmissionRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionRequest", @@ -15321,7 +15321,7 @@ "docs": null }, "type_submission:InitializeProblemRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InitializeProblemRequest", @@ -15546,7 +15546,7 @@ "docs": null }, "type_submission:SubmitRequestV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmitRequestV2", @@ -16105,7 +16105,7 @@ "docs": null }, "type_submission:WorkspaceSubmitRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmitRequest", @@ -16526,7 +16526,7 @@ "docs": null }, "type_submission:SubmissionFileInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionFileInfo", @@ -16723,7 +16723,7 @@ "docs": null }, "type_submission:SubmissionTypeEnum": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionTypeEnum", @@ -16833,7 +16833,7 @@ "docs": "Keep in sync with SubmissionType." }, "type_submission:StopRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StopRequest", @@ -17015,7 +17015,7 @@ "docs": null }, "type_submission:SubmissionResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionResponse", @@ -17663,7 +17663,7 @@ "docs": null }, "type_submission:CodeExecutionUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CodeExecutionUpdate", @@ -18846,7 +18846,7 @@ "docs": null }, "type_submission:BuildingExecutorResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BuildingExecutorResponse", @@ -19123,7 +19123,7 @@ "docs": null }, "type_submission:RunningResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RunningResponse", @@ -19400,7 +19400,7 @@ "docs": null }, "type_submission:RunningSubmissionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RunningSubmissionState", @@ -19614,7 +19614,7 @@ "docs": null }, "type_submission:ErroredResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ErroredResponse", @@ -19895,7 +19895,7 @@ "docs": null }, "type_submission:ErrorInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ErrorInfo", @@ -20286,7 +20286,7 @@ "docs": null }, "type_submission:CompileError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CompileError", @@ -20409,7 +20409,7 @@ "docs": null }, "type_submission:RuntimeError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RuntimeError", @@ -20532,7 +20532,7 @@ "docs": null }, "type_submission:InternalError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InternalError", @@ -20714,7 +20714,7 @@ "docs": null }, "type_submission:StoppedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StoppedResponse", @@ -20896,7 +20896,7 @@ "docs": null }, "type_submission:WorkspaceRanResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceRanResponse", @@ -21175,7 +21175,7 @@ "docs": null }, "type_submission:WorkspaceRunDetails": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceRunDetails", @@ -21501,7 +21501,7 @@ "docs": null }, "type_submission:GradedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GradedResponse", @@ -21809,7 +21809,7 @@ "docs": null }, "type_submission:GradedResponseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GradedResponseV2", @@ -22214,7 +22214,7 @@ "docs": null }, "type_submission:TestCaseGrade": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseGrade", @@ -22522,7 +22522,7 @@ "docs": null }, "type_submission:TestCaseHiddenGrade": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseHiddenGrade", @@ -22641,7 +22641,7 @@ "docs": null }, "type_submission:TestCaseNonHiddenGrade": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseNonHiddenGrade", @@ -23010,7 +23010,7 @@ "docs": null }, "type_submission:RecordedResponseNotification": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RecordedResponseNotification", @@ -23272,7 +23272,7 @@ "docs": null }, "type_submission:RecordingResponseNotification": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RecordingResponseNotification", @@ -23730,7 +23730,7 @@ "docs": null }, "type_submission:LightweightStackframeInformation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LightweightStackframeInformation", @@ -23890,7 +23890,7 @@ "docs": null }, "type_submission:TestCaseResultWithStdout": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseResultWithStdout", @@ -24122,7 +24122,7 @@ "docs": null }, "type_submission:TestCaseResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseResult", @@ -24443,7 +24443,7 @@ "docs": null }, "type_submission:ActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ActualResult", @@ -24896,7 +24896,7 @@ "docs": null }, "type_submission:ExceptionV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExceptionV2", @@ -25128,7 +25128,7 @@ "docs": null }, "type_submission:ExceptionInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExceptionInfo", @@ -25325,7 +25325,7 @@ "docs": null }, "type_submission:InvalidRequestResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InvalidRequestResponse", @@ -25613,7 +25613,7 @@ "docs": null }, "type_submission:InvalidRequestCause": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InvalidRequestCause", @@ -26006,7 +26006,7 @@ "docs": null }, "type_submission:ExistingSubmissionExecuting": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExistingSubmissionExecuting", @@ -26188,7 +26188,7 @@ "docs": null }, "type_submission:SubmissionIdNotFound": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionIdNotFound", @@ -26370,7 +26370,7 @@ "docs": null }, "type_submission:CustomTestCasesUnsupported": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CustomTestCasesUnsupported", @@ -26647,7 +26647,7 @@ "docs": null }, "type_submission:UnexpectedLanguageError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnexpectedLanguageError", @@ -26923,7 +26923,7 @@ "docs": null }, "type_submission:TerminatedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TerminatedResponse", @@ -27008,7 +27008,7 @@ "docs": null }, "type_submission:FinishedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FinishedResponse", @@ -27190,7 +27190,7 @@ "docs": null }, "type_submission:StdoutResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StdoutResponse", @@ -27409,7 +27409,7 @@ "docs": null }, "type_submission:StderrResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StderrResponse", @@ -27628,7 +27628,7 @@ "docs": null }, "type_submission:TraceResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponse", @@ -28202,7 +28202,7 @@ "docs": null }, "type_submission:TraceResponseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponseV2", @@ -28871,7 +28871,7 @@ "docs": null }, "type_submission:TracedFile": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TracedFile", @@ -29031,7 +29031,7 @@ "docs": null }, "type_submission:ExpressionLocation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExpressionLocation", @@ -29191,7 +29191,7 @@ "docs": null }, "type_submission:StackInformation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StackInformation", @@ -29431,7 +29431,7 @@ "docs": null }, "type_submission:StackFrame": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StackFrame", @@ -29707,7 +29707,7 @@ "docs": null }, "type_submission:Scope": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Scope", @@ -29919,7 +29919,7 @@ "docs": null }, "type_submission:ExecutionSessionResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExecutionSessionResponse", @@ -30276,7 +30276,7 @@ "docs": null }, "type_submission:ExecutionSessionStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExecutionSessionStatus", @@ -30516,7 +30516,7 @@ "docs": null }, "type_submission:SubmissionStatusV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionStatusV2", @@ -30876,7 +30876,7 @@ "docs": null }, "type_submission:TestSubmissionStatusV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionStatusV2", @@ -31387,7 +31387,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionStatusV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionStatusV2", @@ -31585,7 +31585,7 @@ "docs": null }, "type_submission:TestSubmissionUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionUpdate", @@ -31823,7 +31823,7 @@ "docs": null }, "type_submission:TestSubmissionUpdateInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionUpdateInfo", @@ -32440,7 +32440,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionUpdate", @@ -32664,7 +32664,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionUpdateInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionUpdateInfo", @@ -33297,7 +33297,7 @@ "docs": null }, "type_submission:GradedTestCaseUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GradedTestCaseUpdate", @@ -33627,7 +33627,7 @@ "docs": null }, "type_submission:RecordedTestCaseUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RecordedTestCaseUpdate", @@ -33885,7 +33885,7 @@ "docs": null }, "type_submission:WorkspaceTracedUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceTracedUpdate", @@ -34008,7 +34008,7 @@ "docs": null }, "type_submission:SubmissionTypeState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionTypeState", @@ -34334,7 +34334,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionState", @@ -34524,7 +34524,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionStatus", @@ -35096,7 +35096,7 @@ "docs": null }, "type_submission:TestSubmissionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionState", @@ -35599,7 +35599,7 @@ "docs": null }, "type_submission:TestSubmissionStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionStatus", @@ -36139,7 +36139,7 @@ "docs": null }, "type_submission:SubmissionStatusForTestCase": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionStatusForTestCase", @@ -36572,7 +36572,7 @@ "docs": null }, "type_submission:TracedTestCase": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TracedTestCase", @@ -36805,7 +36805,7 @@ "docs": null }, "type_submission:TraceResponsesPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponsesPage", @@ -37055,7 +37055,7 @@ "docs": null }, "type_submission:TraceResponsesPageV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponsesPageV2", @@ -37306,7 +37306,7 @@ "docs": null }, "type_submission:GetTraceResponsesPageRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetTraceResponsesPageRequest", @@ -37435,7 +37435,7 @@ "docs": null }, "type_submission:WorkspaceStarterFilesResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceStarterFilesResponse", @@ -37693,7 +37693,7 @@ "docs": null }, "type_submission:WorkspaceStarterFilesResponseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceStarterFilesResponseV2", @@ -37990,7 +37990,7 @@ "docs": null }, "type_submission:WorkspaceFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceFiles", @@ -38272,7 +38272,7 @@ "docs": null }, "type_submission:ExecutionSessionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExecutionSessionState", @@ -38705,7 +38705,7 @@ "docs": null }, "type_submission:GetExecutionSessionStateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetExecutionSessionStateResponse", @@ -38992,7 +38992,7 @@ "docs": null }, "type_submission:GetSubmissionStateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetSubmissionStateResponse", @@ -39377,7 +39377,7 @@ "docs": null }, "type_v2/problem:TestCaseTemplateId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplateId", @@ -39519,7 +39519,7 @@ "docs": null }, "type_v2/problem:TestCaseId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseId", @@ -39661,7 +39661,7 @@ "docs": null }, "type_v2/problem:ParameterId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ParameterId", @@ -39803,7 +39803,7 @@ "docs": null }, "type_v2/problem:ProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemInfoV2", @@ -40913,7 +40913,7 @@ "docs": null }, "type_v2/problem:LightweightProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LightweightProblemInfoV2", @@ -41311,7 +41311,7 @@ "docs": null }, "type_v2/problem:CreateProblemRequestV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemRequestV2", @@ -42155,7 +42155,7 @@ "docs": null }, "type_v2/problem:TestCaseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseV2", @@ -42927,7 +42927,7 @@ "docs": null }, "type_v2/problem:TestCaseExpects": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseExpects", @@ -43095,7 +43095,7 @@ "docs": null }, "type_v2/problem:TestCaseImplementationReference": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationReference", @@ -43553,7 +43553,7 @@ "docs": null }, "type_v2/problem:BasicTestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicTestCaseTemplate", @@ -44119,7 +44119,7 @@ "docs": null }, "type_v2/problem:TestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplate", @@ -44568,7 +44568,7 @@ "docs": null }, "type_v2/problem:TestCaseImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementation", @@ -44978,7 +44978,7 @@ "docs": null }, "type_v2/problem:TestCaseFunction": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseFunction", @@ -45404,7 +45404,7 @@ "docs": null }, "type_v2/problem:TestCaseWithActualResultImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseWithActualResultImplementation", @@ -45809,7 +45809,7 @@ "docs": null }, "type_v2/problem:VoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinition", @@ -46215,7 +46215,7 @@ "docs": null }, "type_v2/problem:Parameter": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Parameter", @@ -46609,7 +46609,7 @@ "docs": null }, "type_v2/problem:NonVoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionDefinition", @@ -47010,7 +47010,7 @@ "docs": null }, "type_v2/problem:VoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignature", @@ -47280,7 +47280,7 @@ "docs": null }, "type_v2/problem:NonVoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionSignature", @@ -47644,7 +47644,7 @@ "docs": null }, "type_v2/problem:VoidFunctionSignatureThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignatureThatTakesActualResult", @@ -48008,7 +48008,7 @@ "docs": null }, "type_v2/problem:AssertCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "AssertCorrectnessCheck", @@ -48429,7 +48429,7 @@ "docs": null }, "type_v2/problem:DeepEqualityCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DeepEqualityCorrectnessCheck", @@ -48689,7 +48689,7 @@ "docs": null }, "type_v2/problem:VoidFunctionDefinitionThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinitionThatTakesActualResult", @@ -49095,7 +49095,7 @@ "docs": "The generated signature will include an additional param, actualResult" }, "type_v2/problem:TestCaseImplementationDescription": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescription", @@ -49362,7 +49362,7 @@ "docs": null }, "type_v2/problem:TestCaseImplementationDescriptionBoard": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescriptionBoard", @@ -49732,7 +49732,7 @@ "docs": null }, "type_v2/problem:TestCaseMetadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseMetadata", @@ -50062,7 +50062,7 @@ "docs": null }, "type_v2/problem:FunctionImplementationForMultipleLanguages": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementationForMultipleLanguages", @@ -50397,7 +50397,7 @@ "docs": null }, "type_v2/problem:FunctionImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementation", @@ -50602,7 +50602,7 @@ "docs": null }, "type_v2/problem:GeneratedFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GeneratedFiles", @@ -51352,7 +51352,7 @@ "docs": null }, "type_v2/problem:CustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CustomFiles", @@ -51878,7 +51878,7 @@ "docs": null }, "type_v2/problem:BasicCustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicCustomFiles", @@ -52527,7 +52527,7 @@ "docs": null }, "type_v2/problem:Files": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Files", @@ -52793,7 +52793,7 @@ "docs": null }, "type_v2/problem:FileInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfoV2", @@ -53062,7 +53062,7 @@ "docs": null }, "type_v2/problem:DefaultProvidedFile": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DefaultProvidedFile", @@ -53425,7 +53425,7 @@ "docs": null }, "type_v2/problem:FunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionSignature", @@ -53976,7 +53976,7 @@ "docs": null }, "type_v2/problem:GetFunctionSignatureRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureRequest", @@ -54244,7 +54244,7 @@ "docs": null }, "type_v2/problem:GetFunctionSignatureResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureResponse", @@ -54482,7 +54482,7 @@ "docs": null }, "type_v2/problem:GetBasicSolutionFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileRequest", @@ -54784,7 +54784,7 @@ "docs": null }, "type_v2/problem:GetBasicSolutionFileResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileResponse", @@ -55119,7 +55119,7 @@ "docs": null }, "type_v2/problem:GetGeneratedTestCaseFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseFileRequest", @@ -55553,7 +55553,7 @@ "docs": null }, "type_v2/problem:GetGeneratedTestCaseTemplateFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseTemplateFileRequest", @@ -55833,7 +55833,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseTemplateId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplateId", @@ -56013,7 +56013,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseId", @@ -56193,7 +56193,7 @@ "docs": null }, "type_v2/v3/problem:ParameterId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ParameterId", @@ -56373,7 +56373,7 @@ "docs": null }, "type_v2/v3/problem:ProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemInfoV2", @@ -57673,7 +57673,7 @@ "docs": null }, "type_v2/v3/problem:LightweightProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LightweightProblemInfoV2", @@ -58109,7 +58109,7 @@ "docs": null }, "type_v2/v3/problem:CreateProblemRequestV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemRequestV2", @@ -59105,7 +59105,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseV2", @@ -60067,7 +60067,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseExpects": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseExpects", @@ -60273,7 +60273,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseImplementationReference": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationReference", @@ -60845,7 +60845,7 @@ "docs": null }, "type_v2/v3/problem:BasicTestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicTestCaseTemplate", @@ -61563,7 +61563,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplate", @@ -62126,7 +62126,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementation", @@ -62650,7 +62650,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseFunction": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseFunction", @@ -63190,7 +63190,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseWithActualResultImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseWithActualResultImplementation", @@ -63709,7 +63709,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinition", @@ -64229,7 +64229,7 @@ "docs": null }, "type_v2/v3/problem:Parameter": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Parameter", @@ -64699,7 +64699,7 @@ "docs": null }, "type_v2/v3/problem:NonVoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionDefinition", @@ -65214,7 +65214,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignature", @@ -65560,7 +65560,7 @@ "docs": null }, "type_v2/v3/problem:NonVoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionSignature", @@ -66000,7 +66000,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionSignatureThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignatureThatTakesActualResult", @@ -66440,7 +66440,7 @@ "docs": null }, "type_v2/v3/problem:AssertCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "AssertCorrectnessCheck", @@ -66975,7 +66975,7 @@ "docs": null }, "type_v2/v3/problem:DeepEqualityCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DeepEqualityCorrectnessCheck", @@ -67311,7 +67311,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionDefinitionThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinitionThatTakesActualResult", @@ -67831,7 +67831,7 @@ "docs": "The generated signature will include an additional param, actualResult" }, "type_v2/v3/problem:TestCaseImplementationDescription": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescription", @@ -68174,7 +68174,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseImplementationDescriptionBoard": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescriptionBoard", @@ -68620,7 +68620,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseMetadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseMetadata", @@ -69026,7 +69026,7 @@ "docs": null }, "type_v2/v3/problem:FunctionImplementationForMultipleLanguages": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementationForMultipleLanguages", @@ -69437,7 +69437,7 @@ "docs": null }, "type_v2/v3/problem:FunctionImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementation", @@ -69680,7 +69680,7 @@ "docs": null }, "type_v2/v3/problem:GeneratedFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GeneratedFiles", @@ -70582,7 +70582,7 @@ "docs": null }, "type_v2/v3/problem:CustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CustomFiles", @@ -71222,7 +71222,7 @@ "docs": null }, "type_v2/v3/problem:BasicCustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicCustomFiles", @@ -72023,7 +72023,7 @@ "docs": null }, "type_v2/v3/problem:Files": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Files", @@ -72365,7 +72365,7 @@ "docs": null }, "type_v2/v3/problem:FileInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfoV2", @@ -72672,7 +72672,7 @@ "docs": null }, "type_v2/v3/problem:DefaultProvidedFile": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DefaultProvidedFile", @@ -73111,7 +73111,7 @@ "docs": null }, "type_v2/v3/problem:FunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionSignature", @@ -73814,7 +73814,7 @@ "docs": null }, "type_v2/v3/problem:GetFunctionSignatureRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureRequest", @@ -74158,7 +74158,7 @@ "docs": null }, "type_v2/v3/problem:GetFunctionSignatureResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureResponse", @@ -74434,7 +74434,7 @@ "docs": null }, "type_v2/v3/problem:GetBasicSolutionFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileRequest", @@ -74812,7 +74812,7 @@ "docs": null }, "type_v2/v3/problem:GetBasicSolutionFileResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileResponse", @@ -75223,7 +75223,7 @@ "docs": null }, "type_v2/v3/problem:GetGeneratedTestCaseFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseFileRequest", @@ -75771,7 +75771,7 @@ "docs": null }, "type_v2/v3/problem:GetGeneratedTestCaseTemplateFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseTemplateFileRequest", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/ts-express-casing.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/ts-express-casing.json index 84249d24636..1767e33af02 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/undiscriminated-unions.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/undiscriminated-unions.json index 5054aa86dac..59a84b63a20 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/undiscriminated-unions.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_union:TypeWithOptionalUnion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TypeWithOptionalUnion", @@ -219,7 +219,7 @@ "docs": null }, "type_union:MyUnion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MyUnion", @@ -416,7 +416,7 @@ "docs": "Several different types are accepted." }, "type_union:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -1251,7 +1251,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", @@ -1420,7 +1420,7 @@ "docs": null }, "type_union:KeyType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "KeyType", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/unions.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/unions.json index ecef2cce319..566e027c85a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/unions.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_types:Union": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Union", @@ -381,7 +381,7 @@ "docs": "This is a simple union." }, "type_types:UnionWithDiscriminant": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithDiscriminant", @@ -731,7 +731,7 @@ "docs": null }, "type_types:UnionWithPrimitive": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithPrimitive", @@ -964,7 +964,7 @@ "docs": null }, "type_types:UnionWithoutKey": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithoutKey", @@ -1260,7 +1260,7 @@ "docs": null }, "type_types:UnionWithUnknown": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithUnknown", @@ -1492,7 +1492,7 @@ "docs": null }, "type_types:UnionWithLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithLiteral", @@ -1698,7 +1698,7 @@ "docs": null }, "type_types:UnionWithBaseProperties": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithBaseProperties", @@ -2064,7 +2064,7 @@ "docs": null }, "type_types:UnionWithTime": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithTime", @@ -2352,7 +2352,7 @@ "docs": null }, "type_types:UnionWithOptionalTime": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithOptionalTime", @@ -2589,7 +2589,7 @@ "docs": null }, "type_types:UnionWithSingleElement": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithSingleElement", @@ -2791,7 +2791,7 @@ "docs": null }, "type_types:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -2914,7 +2914,7 @@ "docs": null }, "type_types:Bar": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Bar", @@ -3037,7 +3037,7 @@ "docs": null }, "type_union:GetShapeRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetShapeRequest", @@ -3160,7 +3160,7 @@ "docs": null }, "type_union:Shape": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Shape", @@ -3494,7 +3494,7 @@ "docs": null }, "type_union:Circle": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Circle", @@ -3617,7 +3617,7 @@ "docs": null }, "type_union:Square": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Square", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/unknown.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/unknown.json index 5d51200a7d9..b9ec8c53d29 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/validation.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/validation.json index 93bfb96ca6b..69b0b5b18f1 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__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", @@ -533,7 +533,7 @@ "docs": null }, "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -1483,7 +1483,7 @@ "autogeneratedExamples": [ { "example": { - "id": "f894d7236e53b5a4907afb3242986edc936b7231", + "id": "334da6161121c9cadbf98de7666869a59bd9b834", "url": "/create", "name": null, "endpointHeaders": [], @@ -1524,10 +1524,10 @@ "type": "primitive", "primitive": { "type": "double", - "double": 1.1 + "double": 2.2 } }, - "jsonExample": 1.1 + "jsonExample": 2.2 } }, { @@ -1559,10 +1559,10 @@ "type": "primitive", "primitive": { "type": "integer", - "integer": 1 + "integer": 100 } }, - "jsonExample": 1 + "jsonExample": 100 } }, { @@ -1595,11 +1595,11 @@ "primitive": { "type": "string", "string": { - "original": "name" + "original": "foo" } } }, - "jsonExample": "name" + "jsonExample": "foo" } }, { @@ -1687,9 +1687,9 @@ } ], "jsonExample": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" } }, @@ -1758,10 +1758,10 @@ "type": "primitive", "primitive": { "type": "double", - "double": 1.1 + "double": 2.2 } }, - "jsonExample": 1.1 + "jsonExample": 2.2 } }, { @@ -1819,10 +1819,10 @@ "type": "primitive", "primitive": { "type": "integer", - "integer": 1 + "integer": 100 } }, - "jsonExample": 1 + "jsonExample": 100 } }, { @@ -1881,11 +1881,11 @@ "primitive": { "type": "string", "string": { - "original": "name" + "original": "foo" } } }, - "jsonExample": "name" + "jsonExample": "foo" } }, { @@ -2028,9 +2028,9 @@ } }, "jsonExample": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" } } @@ -2327,7 +2327,7 @@ "autogeneratedExamples": [ { "example": { - "id": "5ec5bb625677405238a5bb25cc6d0d168e9f5038", + "id": "e7df79454aff4dcd365862a38fd297679ac3975d", "url": "", "name": null, "endpointHeaders": [], @@ -2364,10 +2364,10 @@ "type": "primitive", "primitive": { "type": "double", - "double": 1.1 + "double": 2.2 } }, - "jsonExample": 1.1 + "jsonExample": 2.2 } }, { @@ -2401,10 +2401,10 @@ "type": "primitive", "primitive": { "type": "integer", - "integer": 1 + "integer": 100 } }, - "jsonExample": 1 + "jsonExample": 100 } }, { @@ -2439,11 +2439,11 @@ "primitive": { "type": "string", "string": { - "original": "name" + "original": "foo" } } }, - "jsonExample": "name" + "jsonExample": "foo" } } ], @@ -2516,10 +2516,10 @@ "type": "primitive", "primitive": { "type": "double", - "double": 1.1 + "double": 2.2 } }, - "jsonExample": 1.1 + "jsonExample": 2.2 } }, { @@ -2577,10 +2577,10 @@ "type": "primitive", "primitive": { "type": "integer", - "integer": 1 + "integer": 100 } }, - "jsonExample": 1 + "jsonExample": 100 } }, { @@ -2639,11 +2639,11 @@ "primitive": { "type": "string", "string": { - "original": "name" + "original": "foo" } } }, - "jsonExample": "name" + "jsonExample": "foo" } }, { @@ -2786,9 +2786,9 @@ } }, "jsonExample": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" } } diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/variables.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/variables.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/variables.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/variables.json diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/version-no-default.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/version-no-default.json index d6dc195d2d2..3fd6277f417 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/version-no-default.json @@ -154,7 +154,7 @@ "idempotencyHeaders": [], "types": { "type_user:UserId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserId", @@ -257,7 +257,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/version.json similarity index 99% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/version.json index 1ddd610bcc3..6eafb7c626d 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json +++ b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/version.json @@ -179,7 +179,7 @@ "idempotencyHeaders": [], "types": { "type_user:UserId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserId", @@ -282,7 +282,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/websocket.json b/packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/websocket.json similarity index 100% rename from packages/cli/generation/ir-generator/src/__test__/test-definitions/websocket.json rename to packages/cli/generation/ir-generator-tests/src/ir/__test__/test-definitions/websocket.json diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/SourceResolver.test.ts b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/SourceResolver.test.ts similarity index 95% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/SourceResolver.test.ts rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/SourceResolver.test.ts index f0c185c9da7..e1fd4faa99a 100644 --- a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/SourceResolver.test.ts +++ b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/SourceResolver.test.ts @@ -1,9 +1,7 @@ import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; import { createMockTaskContext } from "@fern-api/task-context"; import { loadAPIWorkspace } from "@fern-api/workspace-loader"; -import { constructCasingsGenerator } from "../../../casings/CasingsGenerator"; -import { constructFernFileContext } from "../../../FernFileContext"; -import { SourceResolverImpl } from "../../SourceResolver"; +import { constructCasingsGenerator, constructFernFileContext, SourceResolverImpl } from "@fern-api/ir-generator"; describe("SourceResolver", () => { it("non-existant proto source throws", async () => { diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/foo.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/foo.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/foo.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/definition/foo.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/generators.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/generators.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/api/generators.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/fern.config.json b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/fern.config.json similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/fern.config.json rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-oas/fern/fern.config.json diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/foo.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/foo.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/foo.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/definition/foo.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/generators.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/generators.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/api/generators.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/fern.config.json b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/fern.config.json similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/fern.config.json rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/source-resolver/fixtures/invalid-source-proto/fern/fern.config.json diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/TypeResolver.test.ts b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/TypeResolver.test.ts similarity index 91% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/TypeResolver.test.ts rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/TypeResolver.test.ts index 923c79e74c4..35fb175bed4 100644 --- a/packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/TypeResolver.test.ts +++ b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/TypeResolver.test.ts @@ -1,9 +1,7 @@ import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; import { createMockTaskContext } from "@fern-api/task-context"; import { loadAPIWorkspace } from "@fern-api/workspace-loader"; -import { constructCasingsGenerator } from "../../../casings/CasingsGenerator"; -import { constructFernFileContext } from "../../../FernFileContext"; -import { TypeResolverImpl } from "../../TypeResolver"; +import { constructCasingsGenerator, constructFernFileContext, TypeResolverImpl } from "@fern-api/ir-generator"; describe("TypeResolver", () => { it("illogical self-referencing types", async () => { diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/api.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/api.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/api.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/api.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/foo.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/foo.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/foo.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/definition/foo.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/generators.yml b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/generators.yml similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/generators.yml rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/api/generators.yml diff --git a/packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/fern.config.json b/packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/fern.config.json similarity index 100% rename from packages/cli/generation/ir-generator/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/fern.config.json rename to packages/cli/generation/ir-generator-tests/src/resolvers/__test__/type-resolver/fixtures/illogical-self-referencing/fern/fern.config.json diff --git a/packages/cli/generation/ir-generator-tests/tsconfig.json b/packages/cli/generation/ir-generator-tests/tsconfig.json new file mode 100644 index 00000000000..bc93d33a4ef --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/tsconfig.json @@ -0,0 +1,43 @@ +{ + "extends": "../../../../shared/tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], + "references": [ + { + "path": "../../../commons/core-utils" + }, + { + "path": "../../../commons/fs-utils" + }, + { + "path": "../../../ir-sdk" + }, + { + "path": "../../configuration-loader" + }, + { + "path": "../../project-loader" + }, + { + "path": "../../task-context" + }, + { + "path": "../../workspace-loader" + }, + { + "path": "../../workspace-commons" + }, + { + "path": "../../fern-definition/schema" + }, + { + "path": "../ir-generator" + }, + ] +} \ No newline at end of file diff --git a/packages/cli/generation/ir-generator-tests/vitest.config.ts b/packages/cli/generation/ir-generator-tests/vitest.config.ts new file mode 100644 index 00000000000..d11017dc676 --- /dev/null +++ b/packages/cli/generation/ir-generator-tests/vitest.config.ts @@ -0,0 +1 @@ +export { default } from "../../../../shared/vitest.config"; diff --git a/packages/cli/generation/ir-generator/package.json b/packages/cli/generation/ir-generator/package.json index fa61b5574bd..1a9ac204bcd 100644 --- a/packages/cli/generation/ir-generator/package.json +++ b/packages/cli/generation/ir-generator/package.json @@ -18,8 +18,8 @@ "scripts": { "clean": "rm -rf ./lib && tsc --build --clean", "compile": "tsc --build", - "test": "vitest --run", - "test:update": "vitest --run -u", + "test": "vitest --passWithNoTests --run", + "test:update": "vitest --passWithNoTests --run -u", "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../../.eslintignore", "lint:eslint:fix": "yarn lint:eslint --fix", "format": "prettier --write --ignore-unknown --ignore-path ../../../../shared/.prettierignore \"**\"", @@ -28,14 +28,12 @@ "depcheck": "depcheck" }, "dependencies": { + "@fern-api/api-workspace-commons": "workspace:*", "@fern-api/configuration": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", "@fern-api/ir-sdk": "workspace:*", - "@fern-api/project-loader": "workspace:*", "@fern-api/task-context": "workspace:*", - "@fern-api/workspace-loader": "workspace:*", - "@fern-api/api-workspace-commons": "workspace:*", "@fern-api/fern-definition-schema": "workspace:*", "lodash-es": "^4.17.21", "object-hash": "^3.0.0", diff --git a/packages/cli/generation/ir-generator/src/FernFileContext.ts b/packages/cli/generation/ir-generator/src/FernFileContext.ts index cdde0bc824b..92e3b6275ab 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,15 @@ 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, _default: undefined, validation: undefined, file }); + } + return parseInlineType({ + type: type.type, + _default: type.default, + validation: type.validation, + file + }); }, casingsGenerator, rootApiFile 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 deleted file mode 100644 index 70a841cb7a5..00000000000 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ /dev/null @@ -1,1449 +0,0 @@ -{ - "fdrApiDefinitionId": null, - "apiVersion": null, - "apiName": { - "originalName": "api", - "camelCase": { - "unsafeName": "api", - "safeName": "api" - }, - "snakeCase": { - "unsafeName": "api", - "safeName": "api" - }, - "screamingSnakeCase": { - "unsafeName": "API", - "safeName": "API" - }, - "pascalCase": { - "unsafeName": "API", - "safeName": "API" - } - }, - "apiDisplayName": "Sample API", - "apiDocs": null, - "auth": { - "requirement": "ALL", - "schemes": [], - "docs": null - }, - "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, - "name": { - "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" - }, - "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", - "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", - "default": null, - "inline": null - }, - "docs": null - }, - { - "type": { - "_type": "named", - "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", - "default": null, - "inline": null - }, - "docs": null - } - ] - }, - "referencedTypes": [ - "type_:NotFound", - "type_:Schema1", - "type_:Schema2" - ], - "encoding": { - "json": {}, - "proto": null - }, - "source": null, - "userProvidedExamples": [], - "autogeneratedExamples": [], - "availability": null, - "docs": null - }, - "type_:Schema1": { - "inline": false, - "name": { - "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" - }, - "shape": { - "_type": "object", - "extends": [], - "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" - }, - "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": "name", - "camelCase": { - "unsafeName": "name", - "safeName": "name" - }, - "snakeCase": { - "unsafeName": "name", - "safeName": "name" - }, - "screamingSnakeCase": { - "unsafeName": "NAME", - "safeName": "NAME" - }, - "pascalCase": { - "unsafeName": "Name", - "safeName": "Name" - } - }, - "wireValue": "name" - }, - "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_:Schema2": { - "inline": false, - "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 - } - ], - "extra-properties": false, - "extendedProperties": [] - }, - "referencedTypes": [], - "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 - } - ] - } - }, - "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": { - "service_": [ - "type_:NotFound", - "type_:GetExampleResponse", - "type_:Schema1", - "type_:Schema2" - ] - }, - "sharedTypes": [] - }, - "webhookGroups": {}, - "websocketChannels": {}, - "readmeConfig": null, - "sourceConfig": null, - "publishConfig": null, - "dynamic": { - "version": "1.0.0", - "types": { - "type_:NotFound": { - "type": "object", - "declaration": { - "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 - } - }, - "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" - }, - "typeReference": { - "_type": "optional", - "value": { - "_type": "primitive", - "value": "STRING" - } - } - } - ] - }, - "type_:GetExampleResponse": { - "type": "undiscriminatedUnion", - "declaration": { - "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 - } - }, - "types": [ - { - "_type": "named", - "value": "type_:NotFound" - }, - { - "_type": "named", - "value": "type_:Schema1" - }, - { - "_type": "named", - "value": "type_:Schema2" - } - ] - }, - "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_: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" - } - } - } - ] - } - }, - "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" - } - } - } - }, - "subpackages": {}, - "rootPackage": { - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "websocket": null, - "service": "service_", - "types": [ - "type_:NotFound", - "type_:GetExampleResponse", - "type_:Schema1", - "type_:Schema2" - ], - "errors": [], - "subpackages": [], - "webhooks": null, - "navigationConfig": null, - "hasEndpointsInTree": true, - "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/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/examples/generator/generatePrimitiveExample.ts b/packages/cli/generation/ir-generator/src/examples/generator/generatePrimitiveExample.ts index 5c2bf1f9613..898041c7e63 100644 --- a/packages/cli/generation/ir-generator/src/examples/generator/generatePrimitiveExample.ts +++ b/packages/cli/generation/ir-generator/src/examples/generator/generatePrimitiveExample.ts @@ -1,6 +1,13 @@ -import { ExamplePrimitive, PrimitiveType } from "@fern-api/ir-sdk"; +import { + ExamplePrimitive, + PrimitiveType, + PrimitiveTypeV2, + StringValidationRules, + DoubleValidationRules, + IntegerValidationRules +} from "@fern-api/ir-sdk"; import { assertNever, Examples } from "@fern-api/core-utils"; -import { ExampleGenerationResult, ExampleGenerationSuccess } from "./ExampleGenerationResult"; +import { ExampleGenerationSuccess } from "./ExampleGenerationResult"; export declare namespace generatePrimitiveExample { interface Args { @@ -16,8 +23,10 @@ export function generatePrimitiveExample({ }: generatePrimitiveExample.Args): ExampleGenerationSuccess { switch (primitiveType.v1) { case "STRING": { - const jsonExample = fieldName ?? Examples.STRING; - return { type: "success", example: ExamplePrimitive.string({ original: jsonExample }), jsonExample }; + return generatePrimitiveStringExample({ + fieldName, + validation: maybeStringValidation(primitiveType.v2) + }); } case "BASE_64": { return { type: "success", example: ExamplePrimitive.base64(Examples.BASE64), jsonExample: Examples.BASE64 }; @@ -43,13 +52,19 @@ export function generatePrimitiveExample({ }; } case "DOUBLE": { - return { type: "success", example: ExamplePrimitive.double(Examples.DOUBLE), jsonExample: Examples.DOUBLE }; + return generatePrimitiveDoubleExample({ + fieldName, + validation: maybeDoubleValidation(primitiveType.v2) + }); } case "FLOAT": { return { type: "success", example: ExamplePrimitive.float(Examples.FLOAT), jsonExample: Examples.FLOAT }; } case "INTEGER": { - return { type: "success", example: ExamplePrimitive.integer(Examples.INT), jsonExample: Examples.INT }; + return generatePrimitiveIntegerExample({ + fieldName, + validation: maybeIntegerValidation(primitiveType.v2) + }); } case "UINT_64": { return { type: "success", example: ExamplePrimitive.uint64(Examples.INT64), jsonExample: Examples.INT64 }; @@ -74,3 +89,110 @@ export function generatePrimitiveExample({ assertNever(primitiveType.v1); } } + +function maybeStringValidation(v2: PrimitiveTypeV2 | undefined): StringValidationRules | undefined { + if (v2?.type === "string") { + const stringType = v2 as PrimitiveTypeV2.String; + return stringType.validation; + } + return undefined; +} + +function maybeDoubleValidation(v2: PrimitiveTypeV2 | undefined): DoubleValidationRules | undefined { + if (v2?.type === "double") { + const doubleType = v2 as PrimitiveTypeV2.Double; + return doubleType.validation; + } + return undefined; +} + +function maybeIntegerValidation(v2: PrimitiveTypeV2 | undefined): IntegerValidationRules | undefined { + if (v2?.type === "integer") { + const integerType = v2 as PrimitiveTypeV2.Integer; + return integerType.validation; + } + return undefined; +} + +function getStringExampleOfLength(length: number): string { + if (length <= Examples.SAMPLE_STRINGS.length) { + const sampleString = Examples.SAMPLE_STRINGS[length - 1]; + if (sampleString) { + return sampleString; + } else { + throw new Error(`Unexpected undefined value in SAMPLE_STRINGS at index ${length - 1}`); + } + } + return ( + Examples.SAMPLE_STRINGS[Examples.SAMPLE_STRINGS.length - 1] + + ".".repeat(length - Examples.SAMPLE_STRINGS.length) + ); +} + +function generatePrimitiveStringExample({ + fieldName, + validation +}: { + fieldName: string | undefined; + validation: StringValidationRules | undefined; +}): ExampleGenerationSuccess { + if (validation) { + const minLength = validation.minLength; + const maxLength = validation.maxLength; + if (minLength) { + const minLengthExample = getStringExampleOfLength(minLength); + return { + type: "success", + example: ExamplePrimitive.string({ original: minLengthExample }), + jsonExample: minLengthExample + }; + } else if (maxLength) { + const maxLengthExample = getStringExampleOfLength(maxLength); + return { + type: "success", + example: ExamplePrimitive.string({ original: maxLengthExample }), + jsonExample: maxLengthExample + }; + } + } + const jsonExample = fieldName ?? Examples.STRING; + return { type: "success", example: ExamplePrimitive.string({ original: jsonExample }), jsonExample }; +} + +function generatePrimitiveDoubleExample({ + fieldName, + validation +}: { + fieldName: string | undefined; + validation: DoubleValidationRules | undefined; +}): ExampleGenerationSuccess { + if (validation) { + const maximum = validation.max; + const minimum = validation.min; + if (maximum) { + return { type: "success", example: ExamplePrimitive.double(maximum), jsonExample: maximum }; + } else if (minimum) { + return { type: "success", example: ExamplePrimitive.double(minimum), jsonExample: minimum }; + } + } + return { type: "success", example: ExamplePrimitive.double(Examples.DOUBLE), jsonExample: Examples.DOUBLE }; +} + +function generatePrimitiveIntegerExample({ + fieldName, + validation +}: { + fieldName: string | undefined; + validation: IntegerValidationRules | undefined; +}): ExampleGenerationSuccess { + if (validation) { + const maximum = validation.max; + const minimum = validation.min; + if (maximum) { + return { type: "success", example: ExamplePrimitive.integer(maximum), jsonExample: maximum }; + } else if (minimum) { + return { type: "success", example: ExamplePrimitive.integer(minimum), jsonExample: minimum }; + } + } + return { type: "success", example: ExamplePrimitive.integer(Examples.INT), jsonExample: Examples.INT }; +} diff --git a/packages/cli/generation/ir-generator/src/index.ts b/packages/cli/generation/ir-generator/src/index.ts index 5e4e2eca397..f66e40ab895 100644 --- a/packages/cli/generation/ir-generator/src/index.ts +++ b/packages/cli/generation/ir-generator/src/index.ts @@ -1,5 +1,6 @@ export { constructCasingsGenerator, type CasingsGenerator } from "./casings/CasingsGenerator"; export { constructHttpPath } from "./converters/services/constructHttpPath"; +export { convertResponseErrors } from "./converters/services/convertResponseErrors"; export { DEFAULT_BODY_PROPERTY_KEY_IN_WRAPPER, DEFAULT_REQUEST_PARAMETER_NAME, @@ -22,6 +23,7 @@ export { ErrorResolverImpl, type ErrorResolver } from "./resolvers/ErrorResolver export { ExampleResolverImpl, type ExampleResolver } from "./resolvers/ExampleResolver"; export { type ResolvedEndpoint } from "./resolvers/ResolvedEndpoint"; export { type ResolvedContainerType, type ResolvedType } from "./resolvers/ResolvedType"; +export { SourceResolverImpl, type SourceResolver } from "./resolvers/SourceResolver"; export { TypeResolverImpl, type TypeResolver } from "./resolvers/TypeResolver"; export { VariableResolverImpl, type VariableResolver } from "./resolvers/VariableResolver"; export { @@ -32,6 +34,7 @@ export { } from "./utils/getAllPropertiesForObject"; export { getResolvedPathOfImportedFile } from "./utils/getResolvedPathOfImportedFile"; export { parseReferenceToEndpointName, type ReferenceToEndpointName } from "./utils/parseReferenceToEndpointName"; +export { parseInlineType } from "./utils/parseInlineType"; export { parseReferenceToTypeName, type ReferenceToTypeName } from "./utils/parseReferenceToTypeName"; export { IdGenerator } from "./IdGenerator"; export { convertToFernFilepath } from "./utils/convertToFernFilepath"; diff --git a/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts b/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts index 6751be0210e..e49c830fa3f 100644 --- a/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts +++ b/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts @@ -42,9 +42,14 @@ 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, _default: undefined, validation: undefined, file }); + } + return parseInlineType({ + type: type.type, + _default: type.default, + validation: type.validation, + file + }); }; } diff --git a/packages/cli/generation/ir-generator/tsconfig.json b/packages/cli/generation/ir-generator/tsconfig.json index 3fd67a6ad54..0ae0cbf74a2 100644 --- a/packages/cli/generation/ir-generator/tsconfig.json +++ b/packages/cli/generation/ir-generator/tsconfig.json @@ -1,16 +1,34 @@ { "extends": "../../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../../commons/core-utils" }, - { "path": "../../../commons/fs-utils" }, - { "path": "../../../ir-sdk" }, - { "path": "../../configuration" }, - { "path": "../../project-loader" }, - { "path": "../../task-context" }, - { "path": "../../workspace-loader" }, - { "path": "../../workspace-commons" }, - { "path": "../../fern-definition/schema" } + { + "path": "../../../commons/core-utils" + }, + { + "path": "../../../commons/fs-utils" + }, + { + "path": "../../../ir-sdk" + }, + { + "path": "../../configuration" + }, + { + "path": "../../task-context" + }, + { + "path": "../../workspace-commons" + }, + { + "path": "../../fern-definition/schema" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/generation/ir-migrations/package.json b/packages/cli/generation/ir-migrations/package.json index b163fa1e0eb..34d1d259ad5 100644 --- a/packages/cli/generation/ir-migrations/package.json +++ b/packages/cli/generation/ir-migrations/package.json @@ -28,7 +28,7 @@ "depcheck": "depcheck" }, "dependencies": { - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", "@fern-api/ir-generator": "workspace:*", diff --git a/packages/cli/generation/ir-migrations/src/IntermediateRepresentationMigrator.ts b/packages/cli/generation/ir-migrations/src/IntermediateRepresentationMigrator.ts index 0adabc8b9c5..a1f0f50fb13 100644 --- a/packages/cli/generation/ir-migrations/src/IntermediateRepresentationMigrator.ts +++ b/packages/cli/generation/ir-migrations/src/IntermediateRepresentationMigrator.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IntermediateRepresentation, serialization as IrSerialization } from "@fern-api/ir-sdk"; import { isVersionAhead } from "@fern-api/semver-utils"; import { TaskContext } from "@fern-api/task-context"; diff --git a/packages/cli/generation/ir-migrations/src/__test__/migrateIntermediateRepresentation.test.ts b/packages/cli/generation/ir-migrations/src/__test__/migrateIntermediateRepresentation.test.ts index bfedff0ae4b..fd35569246e 100644 --- a/packages/cli/generation/ir-migrations/src/__test__/migrateIntermediateRepresentation.test.ts +++ b/packages/cli/generation/ir-migrations/src/__test__/migrateIntermediateRepresentation.test.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; import { IntermediateRepresentation } from "@fern-api/ir-sdk"; import { isVersionAhead } from "@fern-api/semver-utils"; diff --git a/packages/cli/generation/ir-migrations/src/getMinimumVersionForGenerator.ts b/packages/cli/generation/ir-migrations/src/getMinimumVersionForGenerator.ts index 181ebdf654b..d872d1ddd44 100644 --- a/packages/cli/generation/ir-migrations/src/getMinimumVersionForGenerator.ts +++ b/packages/cli/generation/ir-migrations/src/getMinimumVersionForGenerator.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { getIntermediateRepresentationMigrator } from "./IntermediateRepresentationMigrator"; export function getMinimumVersionForGenerator({ generatorName }: { generatorName: string }): string | undefined { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v10-to-v9/migrateFromV10ToV9.ts b/packages/cli/generation/ir-migrations/src/migrations/v10-to-v9/migrateFromV10ToV9.ts index 8d690d58d1e..5a845d4a26f 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v10-to-v9/migrateFromV10ToV9.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v10-to-v9/migrateFromV10ToV9.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v11-to-v10/migrateFromV11ToV10.ts b/packages/cli/generation/ir-migrations/src/migrations/v11-to-v10/migrateFromV11ToV10.ts index 6cf7e6980f7..adcdd01c197 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v11-to-v10/migrateFromV11ToV10.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v11-to-v10/migrateFromV11ToV10.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { IrMigrationContext } from "../../IrMigrationContext"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v12-to-v11/migrateFromV12ToV11.ts b/packages/cli/generation/ir-migrations/src/migrations/v12-to-v11/migrateFromV12ToV11.ts index cf3ef300dd6..ce22f8f850d 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v12-to-v11/migrateFromV12ToV11.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v12-to-v11/migrateFromV12ToV11.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { IrMigrationContext } from "../../IrMigrationContext"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v13-to-v12/migrateFromV13ToV12.ts b/packages/cli/generation/ir-migrations/src/migrations/v13-to-v12/migrateFromV13ToV12.ts index f07c1d89628..43eec518f0f 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v13-to-v12/migrateFromV13ToV12.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v13-to-v12/migrateFromV13ToV12.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v14-to-v13/migrateFromV14ToV13.ts b/packages/cli/generation/ir-migrations/src/migrations/v14-to-v13/migrateFromV14ToV13.ts index 0901f5035ed..be992751494 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v14-to-v13/migrateFromV14ToV13.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v14-to-v13/migrateFromV14ToV13.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v15-to-v14/migrateFromV15ToV14.ts b/packages/cli/generation/ir-migrations/src/migrations/v15-to-v14/migrateFromV15ToV14.ts index 4f53f6321df..82203aaa408 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v15-to-v14/migrateFromV15ToV14.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v15-to-v14/migrateFromV15ToV14.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v16-to-v15/migrateFromV16ToV15.ts b/packages/cli/generation/ir-migrations/src/migrations/v16-to-v15/migrateFromV16ToV15.ts index 45e42a5c1af..0af70746881 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v16-to-v15/migrateFromV16ToV15.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v16-to-v15/migrateFromV16ToV15.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v17-to-v16/migrateFromV17ToV16.ts b/packages/cli/generation/ir-migrations/src/migrations/v17-to-v16/migrateFromV17ToV16.ts index 48be8b19559..a7728d75b7a 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v17-to-v16/migrateFromV17ToV16.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v17-to-v16/migrateFromV17ToV16.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v18-to-v17/migrateFromV18ToV17.ts b/packages/cli/generation/ir-migrations/src/migrations/v18-to-v17/migrateFromV18ToV17.ts index f0a398de163..9c64a87d02f 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v18-to-v17/migrateFromV18ToV17.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v18-to-v17/migrateFromV18ToV17.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v19-to-v18/migrateFromV19ToV18.ts b/packages/cli/generation/ir-migrations/src/migrations/v19-to-v18/migrateFromV19ToV18.ts index bc64c728275..f67d669084d 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v19-to-v18/migrateFromV19ToV18.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v19-to-v18/migrateFromV19ToV18.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { IrMigrationContext } from "../../IrMigrationContext"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v2-to-v1/migrateFromV2ToV1.ts b/packages/cli/generation/ir-migrations/src/migrations/v2-to-v1/migrateFromV2ToV1.ts index 4b3c3675784..b266d33f17a 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v2-to-v1/migrateFromV2ToV1.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v2-to-v1/migrateFromV2ToV1.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v20-to-v19/migrateFromV20ToV19.ts b/packages/cli/generation/ir-migrations/src/migrations/v20-to-v19/migrateFromV20ToV19.ts index ef7e7da79c5..069ff77ee35 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v20-to-v19/migrateFromV20ToV19.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v20-to-v19/migrateFromV20ToV19.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { IrMigrationContext } from "../../IrMigrationContext"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v21-to-v20/migrateFromV21ToV20.ts b/packages/cli/generation/ir-migrations/src/migrations/v21-to-v20/migrateFromV21ToV20.ts index 74fa45a6553..000ec9e67fe 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v21-to-v20/migrateFromV21ToV20.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v21-to-v20/migrateFromV21ToV20.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { IrMigrationContext } from "../../IrMigrationContext"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v22-to-v21/migrateFromV22ToV21.ts b/packages/cli/generation/ir-migrations/src/migrations/v22-to-v21/migrateFromV22ToV21.ts index 2e7fa4a4ce4..3d88a523bce 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v22-to-v21/migrateFromV22ToV21.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v22-to-v21/migrateFromV22ToV21.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/migrateFromV23ToV22.ts b/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/migrateFromV23ToV22.ts index 9808257036d..f38d1d9254a 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/migrateFromV23ToV22.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/migrateFromV23ToV22.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { mapValues } from "lodash-es"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v24-to-v23/migrateFromV24ToV23.ts b/packages/cli/generation/ir-migrations/src/migrations/v24-to-v23/migrateFromV24ToV23.ts index e4f2407dedc..b3f99bc7f8f 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v24-to-v23/migrateFromV24ToV23.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v24-to-v23/migrateFromV24ToV23.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v25-to-v24/migrateFromV25ToV24.ts b/packages/cli/generation/ir-migrations/src/migrations/v25-to-v24/migrateFromV25ToV24.ts index 2640a9adbf7..3052c679980 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v25-to-v24/migrateFromV25ToV24.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v25-to-v24/migrateFromV25ToV24.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v26-to-v25/migrateFromV26ToV25.ts b/packages/cli/generation/ir-migrations/src/migrations/v26-to-v25/migrateFromV26ToV25.ts index d9041441b28..449bf190d76 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v26-to-v25/migrateFromV26ToV25.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v26-to-v25/migrateFromV26ToV25.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v27-to-v26/migrateFromV27-to-v26.ts b/packages/cli/generation/ir-migrations/src/migrations/v27-to-v26/migrateFromV27-to-v26.ts index ad5eda88b44..547236d5b47 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v27-to-v26/migrateFromV27-to-v26.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v27-to-v26/migrateFromV27-to-v26.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v28-to-v27/migrateFromV28ToV27.ts b/packages/cli/generation/ir-migrations/src/migrations/v28-to-v27/migrateFromV28ToV27.ts index bf13ac6ec1c..786b8eadf52 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v28-to-v27/migrateFromV28ToV27.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v28-to-v27/migrateFromV28ToV27.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v29-to-v28/migrateFromV29ToV28.ts b/packages/cli/generation/ir-migrations/src/migrations/v29-to-v28/migrateFromV29ToV28.ts index cb8a6f5c2c2..7e1c97cd449 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v29-to-v28/migrateFromV29ToV28.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v29-to-v28/migrateFromV29ToV28.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { commons } from "@fern-api/ir-sdk"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v3-to-v2/migrateFromV3ToV2.ts b/packages/cli/generation/ir-migrations/src/migrations/v3-to-v2/migrateFromV3ToV2.ts index f860b99f883..5d7748e66cb 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v3-to-v2/migrateFromV3ToV2.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v3-to-v2/migrateFromV3ToV2.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v30-to-v29/migrateFromV30ToV29.ts b/packages/cli/generation/ir-migrations/src/migrations/v30-to-v29/migrateFromV30ToV29.ts index 884923fc6ca..b441a76af6f 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v30-to-v29/migrateFromV30ToV29.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v30-to-v29/migrateFromV30ToV29.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v31-to-v30/migrateFromV31ToV30.ts b/packages/cli/generation/ir-migrations/src/migrations/v31-to-v30/migrateFromV31ToV30.ts index e624bf3f8a5..a5549027ba9 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v31-to-v30/migrateFromV31ToV30.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v31-to-v30/migrateFromV31ToV30.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v32-to-v31/migrateFromV32ToV31.ts b/packages/cli/generation/ir-migrations/src/migrations/v32-to-v31/migrateFromV32ToV31.ts index a22f2e04ea5..60712bbb2e9 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v32-to-v31/migrateFromV32ToV31.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v32-to-v31/migrateFromV32ToV31.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v33-to-v32/migrateFromV33ToV32.ts b/packages/cli/generation/ir-migrations/src/migrations/v33-to-v32/migrateFromV33ToV32.ts index 00ad5abcea7..b7616a0e555 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v33-to-v32/migrateFromV33ToV32.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v33-to-v32/migrateFromV33ToV32.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v34-to-v33/migrateFromV34ToV33.ts b/packages/cli/generation/ir-migrations/src/migrations/v34-to-v33/migrateFromV34ToV33.ts index 3181c53fbac..f8774197eff 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v34-to-v33/migrateFromV34ToV33.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v34-to-v33/migrateFromV34ToV33.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { FernIrV33 } from "@fern-fern/ir-v33-sdk"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v35-to-v34/migrateFromV35ToV34.ts b/packages/cli/generation/ir-migrations/src/migrations/v35-to-v34/migrateFromV35ToV34.ts index 519387549fb..0546bcd7a64 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v35-to-v34/migrateFromV35ToV34.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v35-to-v34/migrateFromV35ToV34.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v36-to-v35/migrateFromV36ToV35.ts b/packages/cli/generation/ir-migrations/src/migrations/v36-to-v35/migrateFromV36ToV35.ts index dbd9da1c193..d4a033690d2 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v36-to-v35/migrateFromV36ToV35.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v36-to-v35/migrateFromV36ToV35.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v37-to-v36/migrateFromV37ToV36.ts b/packages/cli/generation/ir-migrations/src/migrations/v37-to-v36/migrateFromV37ToV36.ts index e34098e13e7..a699784b5c6 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v37-to-v36/migrateFromV37ToV36.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v37-to-v36/migrateFromV37ToV36.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v38-to-v37/migrateFromV38ToV37.ts b/packages/cli/generation/ir-migrations/src/migrations/v38-to-v37/migrateFromV38ToV37.ts index bf9a297bcfc..88a8f47b2e9 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v38-to-v37/migrateFromV38ToV37.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v38-to-v37/migrateFromV38ToV37.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v39-to-v38/migrateFromV39ToV38.ts b/packages/cli/generation/ir-migrations/src/migrations/v39-to-v38/migrateFromV39ToV38.ts index bd83740342e..52ba22dc934 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v39-to-v38/migrateFromV39ToV38.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v39-to-v38/migrateFromV39ToV38.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v4-to-v3/migrateFromV4ToV3.ts b/packages/cli/generation/ir-migrations/src/migrations/v4-to-v3/migrateFromV4ToV3.ts index 0c0770cfea8..851f283b54f 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v4-to-v3/migrateFromV4ToV3.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v4-to-v3/migrateFromV4ToV3.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v40-to-v39/migrateFromV40ToV39.ts b/packages/cli/generation/ir-migrations/src/migrations/v40-to-v39/migrateFromV40ToV39.ts index 843d6916d65..0b6ff91e278 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v40-to-v39/migrateFromV40ToV39.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v40-to-v39/migrateFromV40ToV39.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v41-to-v40/migrateFromV41ToV40.ts b/packages/cli/generation/ir-migrations/src/migrations/v41-to-v40/migrateFromV41ToV40.ts index 90e2e9baf06..e9ab51ab35b 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v41-to-v40/migrateFromV41ToV40.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v41-to-v40/migrateFromV41ToV40.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v42-to-v41/migrateFromV42ToV41.ts b/packages/cli/generation/ir-migrations/src/migrations/v42-to-v41/migrateFromV42ToV41.ts index bfd323fddff..019ea957420 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v42-to-v41/migrateFromV42ToV41.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v42-to-v41/migrateFromV42ToV41.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v43-to-v42/migrateFromV43ToV42.ts b/packages/cli/generation/ir-migrations/src/migrations/v43-to-v42/migrateFromV43ToV42.ts index 33b0e430389..78d49a31f8a 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v43-to-v42/migrateFromV43ToV42.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v43-to-v42/migrateFromV43ToV42.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v44-to-v43/migrateFromV44ToV43.ts b/packages/cli/generation/ir-migrations/src/migrations/v44-to-v43/migrateFromV44ToV43.ts index 6b9a56ebd7e..0bddfd16ed8 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v44-to-v43/migrateFromV44ToV43.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v44-to-v43/migrateFromV44ToV43.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever, isNonNullish } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v45-to-v44/migrateFromV45ToV44.ts b/packages/cli/generation/ir-migrations/src/migrations/v45-to-v44/migrateFromV45ToV44.ts index c9c6dfd5dfc..587924ac6ac 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v45-to-v44/migrateFromV45ToV44.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v45-to-v44/migrateFromV45ToV44.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v46-to-v45/migrateFromV46ToV45.ts b/packages/cli/generation/ir-migrations/src/migrations/v46-to-v45/migrateFromV46ToV45.ts index 5c6cdba166d..772d9d40384 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v46-to-v45/migrateFromV46ToV45.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v46-to-v45/migrateFromV46ToV45.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v47-to-v46/migrateFromV47ToV46.ts b/packages/cli/generation/ir-migrations/src/migrations/v47-to-v46/migrateFromV47ToV46.ts index 0f878d064a4..d09899f67a3 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v47-to-v46/migrateFromV47ToV46.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v47-to-v46/migrateFromV47ToV46.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { isNonNullish } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v48-to-v47/migrateFromV48ToV47.ts b/packages/cli/generation/ir-migrations/src/migrations/v48-to-v47/migrateFromV48ToV47.ts index 817b74927b9..ba004ece318 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v48-to-v47/migrateFromV48ToV47.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v48-to-v47/migrateFromV48ToV47.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v49-to-v48/migrateFromV49ToV48.ts b/packages/cli/generation/ir-migrations/src/migrations/v49-to-v48/migrateFromV49ToV48.ts index 5e0f2da8bcd..cb9178d3679 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v49-to-v48/migrateFromV49ToV48.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v49-to-v48/migrateFromV49ToV48.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v5-to-v4/migrateFromV5ToV4.ts b/packages/cli/generation/ir-migrations/src/migrations/v5-to-v4/migrateFromV5ToV4.ts index ae388030b70..3c5d63c04fc 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v5-to-v4/migrateFromV5ToV4.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v5-to-v4/migrateFromV5ToV4.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v50-to-v49/migrateFromV50ToV49.ts b/packages/cli/generation/ir-migrations/src/migrations/v50-to-v49/migrateFromV50ToV49.ts index d7e2f45f2c5..c86a9e8681d 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v50-to-v49/migrateFromV50ToV49.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v50-to-v49/migrateFromV50ToV49.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v51-to-v50/migrateFromV51ToV50.ts b/packages/cli/generation/ir-migrations/src/migrations/v51-to-v50/migrateFromV51ToV50.ts index 3ed01d3b8a4..f1909f2684b 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v51-to-v50/migrateFromV51ToV50.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v51-to-v50/migrateFromV51ToV50.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { mapValues } from "lodash-es"; import { IrSerialization } from "../../ir-serialization"; import { IrVersions } from "../../ir-versions"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v52-to-v51/migrateFromV52ToV51.ts b/packages/cli/generation/ir-migrations/src/migrations/v52-to-v51/migrateFromV52ToV51.ts index 6961590dd6c..b247fe78a45 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v52-to-v51/migrateFromV52ToV51.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v52-to-v51/migrateFromV52ToV51.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { mapValues } from "lodash-es"; import { IrSerialization } from "../../ir-serialization"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v53-to-v52/migrateFromV53ToV52.ts b/packages/cli/generation/ir-migrations/src/migrations/v53-to-v52/migrateFromV53ToV52.ts index f3a875a99b3..c3b8f9ed1e7 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v53-to-v52/migrateFromV53ToV52.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v53-to-v52/migrateFromV53ToV52.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { assertNever } from "@fern-api/core-utils"; import { mapValues } from "lodash-es"; import { IrSerialization } from "../../ir-serialization"; diff --git a/packages/cli/generation/ir-migrations/src/migrations/v6-to-v5/migrateFromV6ToV5.ts b/packages/cli/generation/ir-migrations/src/migrations/v6-to-v5/migrateFromV6ToV5.ts index 405715d5a21..2ea7b1eb3ae 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v6-to-v5/migrateFromV6ToV5.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v6-to-v5/migrateFromV6ToV5.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v7-to-v6/migrateFromV7ToV6.ts b/packages/cli/generation/ir-migrations/src/migrations/v7-to-v6/migrateFromV7ToV6.ts index 659cfa4cb18..4eb30e8079d 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v7-to-v6/migrateFromV7ToV6.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v7-to-v6/migrateFromV7ToV6.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { upperFirst } from "lodash-es"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/migrations/v8-to-v7/migrateFromV8ToV7.ts b/packages/cli/generation/ir-migrations/src/migrations/v8-to-v7/migrateFromV8ToV7.ts index 7d759042db5..1a978210ad7 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v8-to-v7/migrateFromV8ToV7.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v8-to-v7/migrateFromV8ToV7.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrVersions } from "../../ir-versions"; import { GeneratorWasNeverUpdatedToConsumeNewIR, diff --git a/packages/cli/generation/ir-migrations/src/migrations/v9-to-v8/migrateFromV9ToV8.ts b/packages/cli/generation/ir-migrations/src/migrations/v9-to-v8/migrateFromV9ToV8.ts index d997d4e978b..095fa6bd446 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v9-to-v8/migrateFromV9ToV8.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v9-to-v8/migrateFromV9ToV8.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { TaskResult } from "@fern-api/task-context"; import { IrVersions } from "../../ir-versions"; import { diff --git a/packages/cli/generation/ir-migrations/src/types/IrMigration.ts b/packages/cli/generation/ir-migrations/src/types/IrMigration.ts index eeb5393e80b..8fba6523438 100644 --- a/packages/cli/generation/ir-migrations/src/types/IrMigration.ts +++ b/packages/cli/generation/ir-migrations/src/types/IrMigration.ts @@ -1,4 +1,4 @@ -import { GeneratorName } from "@fern-api/configuration"; +import { GeneratorName } from "@fern-api/configuration-loader"; import { IrMigrationContext } from "../IrMigrationContext"; export type GeneratorVersion = string | GeneratorWasNeverUpdatedToConsumeNewIR | GeneratorWasNotCreatedYet; diff --git a/packages/cli/generation/ir-migrations/tsconfig.json b/packages/cli/generation/ir-migrations/tsconfig.json index 64ee4682a71..27d8b33fe18 100644 --- a/packages/cli/generation/ir-migrations/tsconfig.json +++ b/packages/cli/generation/ir-migrations/tsconfig.json @@ -1,16 +1,40 @@ { "extends": "../../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../../commons/core-utils" }, - { "path": "../../../commons/fs-utils" }, - { "path": "../../../ir-sdk" }, - { "path": "../../configuration" }, - { "path": "../../logger" }, - { "path": "../../semver-utils" }, - { "path": "../../task-context" }, - { "path": "../../workspace-loader" }, - { "path": "../ir-generator" } + { + "path": "../../../commons/core-utils" + }, + { + "path": "../../../commons/fs-utils" + }, + { + "path": "../../../ir-sdk" + }, + { + "path": "../../configuration-loader" + }, + { + "path": "../../logger" + }, + { + "path": "../../semver-utils" + }, + { + "path": "../../task-context" + }, + { + "path": "../../workspace-loader" + }, + { + "path": "../ir-generator" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/init/package.json b/packages/cli/init/package.json index fcfa6a180b0..88a533a240c 100644 --- a/packages/cli/init/package.json +++ b/packages/cli/init/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "@fern-api/auth": "workspace:*", - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core": "workspace:*", "@fern-api/fs-utils": "workspace:*", "@fern-api/login": "workspace:*", diff --git a/packages/cli/init/src/createFernDirectoryAndOrganization.ts b/packages/cli/init/src/createFernDirectoryAndOrganization.ts index 56ada2974ae..96d41ffa556 100644 --- a/packages/cli/init/src/createFernDirectoryAndOrganization.ts +++ b/packages/cli/init/src/createFernDirectoryAndOrganization.ts @@ -1,5 +1,10 @@ import { createOrganizationIfDoesNotExist, getCurrentUser } from "@fern-api/auth"; -import { FERN_DIRECTORY, PROJECT_CONFIG_FILENAME, fernConfigJson } from "@fern-api/configuration"; +import { + FERN_DIRECTORY, + PROJECT_CONFIG_FILENAME, + fernConfigJson, + loadProjectConfig +} from "@fern-api/configuration-loader"; import { createVenusService } from "@fern-api/core"; import { AbsoluteFilePath, cwd, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { askToLogin } from "@fern-api/login"; @@ -53,7 +58,7 @@ export async function createFernDirectoryAndWorkspace({ versionOfCli }); } else { - const projectConfig = await fernConfigJson.loadProjectConfig({ + const projectConfig = await loadProjectConfig({ directory: pathToFernDirectory, context: taskContext }); diff --git a/packages/cli/init/src/createWorkspace.ts b/packages/cli/init/src/createWorkspace.ts index 9d7c7bf50e4..96fb9e8a787 100644 --- a/packages/cli/init/src/createWorkspace.ts +++ b/packages/cli/init/src/createWorkspace.ts @@ -3,9 +3,11 @@ import { DEFINITION_DIRECTORY, generatorsYml, GENERATORS_CONFIGURATION_FILENAME, + GENERATOR_INVOCATIONS, + getLatestGeneratorVersion, OPENAPI_DIRECTORY, ROOT_API_FILENAME -} from "@fern-api/configuration"; +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { formatDefinitionFile } from "@fern-api/fern-definition-formatter"; @@ -77,10 +79,10 @@ async function getDefaultGeneratorsConfiguration({ apiConfiguration?: generatorsYml.ApiConfigurationSchema; }): Promise { const defaultGeneratorName = "fernapi/fern-typescript-node-sdk"; - const fallbackInvocation = generatorsYml.GENERATOR_INVOCATIONS[defaultGeneratorName]; + const fallbackInvocation = GENERATOR_INVOCATIONS[defaultGeneratorName]; let version = fallbackInvocation.version; - const versionFromDB = await generatorsYml.getLatestGeneratorVersion({ + const versionFromDB = await getLatestGeneratorVersion({ cliVersion, generatorName: defaultGeneratorName, channel: undefined diff --git a/packages/cli/init/src/initializeAPI.ts b/packages/cli/init/src/initializeAPI.ts index 174f3796190..e7c994ee933 100644 --- a/packages/cli/init/src/initializeAPI.ts +++ b/packages/cli/init/src/initializeAPI.ts @@ -3,7 +3,7 @@ import { DEFAULT_API_WORSPACE_FOLDER_NAME, DEFINITION_DIRECTORY, GENERATORS_CONFIGURATION_FILENAME -} from "@fern-api/configuration"; +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import chalk from "chalk"; diff --git a/packages/cli/init/src/initializeDocs.ts b/packages/cli/init/src/initializeDocs.ts index e7e5047c14f..75a97e2b121 100644 --- a/packages/cli/init/src/initializeDocs.ts +++ b/packages/cli/init/src/initializeDocs.ts @@ -1,5 +1,5 @@ -import { DOCS_CONFIGURATION_FILENAME } from "@fern-api/configuration"; -import { docsYml } from "@fern-api/configuration"; +import { DOCS_CONFIGURATION_FILENAME } from "@fern-api/configuration-loader"; +import { docsYml } from "@fern-api/configuration-loader"; import { join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { writeFile } from "fs/promises"; diff --git a/packages/cli/init/tsconfig.json b/packages/cli/init/tsconfig.json index af4682332da..db84a28ad3d 100644 --- a/packages/cli/init/tsconfig.json +++ b/packages/cli/init/tsconfig.json @@ -1,15 +1,37 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/fs-utils" }, - { "path": "../../core" }, - { "path": "../auth" }, - { "path": "../configuration" }, - { "path": "../login" }, - { "path": "../task-context" }, - { "path": "../fern-definition/formatter" }, - { "path": "../fern-definition/schema" } + { + "path": "../../commons/fs-utils" + }, + { + "path": "../../core" + }, + { + "path": "../auth" + }, + { + "path": "../configuration-loader" + }, + { + "path": "../login" + }, + { + "path": "../task-context" + }, + { + "path": "../fern-definition/formatter" + }, + { + "path": "../fern-definition/schema" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/lazy-fern-workspace/package.json b/packages/cli/lazy-fern-workspace/package.json index a04467b6ea7..3f3d6f286cc 100644 --- a/packages/cli/lazy-fern-workspace/package.json +++ b/packages/cli/lazy-fern-workspace/package.json @@ -29,7 +29,8 @@ }, "dependencies": { "@fern-api/api-workspace-commons": "workspace:*", - "@fern-api/configuration": "workspace:*", + "@fern-api/cli-logger": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", diff --git a/packages/cli/lazy-fern-workspace/src/ConjureWorkspace.ts b/packages/cli/lazy-fern-workspace/src/ConjureWorkspace.ts index d8921730b32..43846e734ca 100644 --- a/packages/cli/lazy-fern-workspace/src/ConjureWorkspace.ts +++ b/packages/cli/lazy-fern-workspace/src/ConjureWorkspace.ts @@ -2,7 +2,7 @@ import { AbstractAPIWorkspace, FernDefinition, FernWorkspace } from "@fern-api/a import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { ConjureImporter } from "@fern-api/conjure-to-fern"; -import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration"; +import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration-loader"; import yaml from "js-yaml"; import { mapValues } from "./utils/mapValues"; diff --git a/packages/cli/lazy-fern-workspace/src/LazyFernWorkspace.ts b/packages/cli/lazy-fern-workspace/src/LazyFernWorkspace.ts index b004fbb5ae3..d4b25480621 100644 --- a/packages/cli/lazy-fern-workspace/src/LazyFernWorkspace.ts +++ b/packages/cli/lazy-fern-workspace/src/LazyFernWorkspace.ts @@ -1,4 +1,9 @@ -import { DEFINITION_DIRECTORY, dependenciesYml, generatorsYml } from "@fern-api/configuration"; +import { + DEFINITION_DIRECTORY, + loadDependenciesConfiguration, + dependenciesYml, + generatorsYml +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import hash from "object-hash"; @@ -46,7 +51,7 @@ export class LazyFernWorkspace extends AbstractAPIWorkspace | undefined => { diff --git a/packages/cli/project-loader/tsconfig.json b/packages/cli/project-loader/tsconfig.json index 19129221271..512f919fbda 100644 --- a/packages/cli/project-loader/tsconfig.json +++ b/packages/cli/project-loader/tsconfig.json @@ -1,12 +1,28 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/fs-utils" }, - { "path": "../configuration" }, - { "path": "../task-context" }, - { "path": "../workspace-loader" }, - { "path": "../workspace-commons" } + { + "path": "../../commons/fs-utils" + }, + { + "path": "../configuration-loader" + }, + { + "path": "../task-context" + }, + { + "path": "../workspace-loader" + }, + { + "path": "../workspace-commons" + } ] -} +} \ No newline at end of file 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..bcdd5f5231b --- /dev/null +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json @@ -0,0 +1,326 @@ +{ + "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" + } + } + ], + "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_:InlineType2": { + "name": "InlineType2", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "baz", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + } + ], + "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" + } + } + }, + { + "key": "myEnum", + "valueType": { + "type": "id", + "value": "type_:InlineEnum" + } + } + ], + "extraProperties": { + "type": "unknown" + } + } + }, + "type_:InlinedDiscriminatedUnion1": { + "name": "InlinedDiscriminatedUnion1", + "shape": { + "type": "discriminatedUnion", + "discriminant": "type", + "variants": [ + { + "discriminantValue": "type1", + "additionalProperties": { + "extends": [ + "type_:InlineType1" + ], + "properties": [] + } + }, + { + "discriminantValue": "type2", + "additionalProperties": { + "extends": [ + "type_:InlineType2" + ], + "properties": [] + } + } + ] + } + }, + "type_:InlinedUndiscriminatedUnion1": { + "name": "InlinedUndiscriminatedUnion1", + "shape": { + "type": "undiscriminatedUnion", + "variants": [ + { + "typeName": "InlineType1", + "type": { + "type": "id", + "value": "type_:InlineType1" + } + }, + { + "typeName": "InlineType2", + "type": { + "type": "id", + "value": "type_:InlineType2" + } + } + ] + } + }, + "type_:InlineEnum": { + "name": "InlineEnum", + "shape": { + "type": "enum", + "values": [ + { + "value": "SUNNY" + }, + { + "value": "CLOUDY" + }, + { + "value": "RAINING" + }, + { + "value": "SNOWING" + } + ] + } + } + }, + "subpackages": {}, + "rootPackage": { + "endpoints": [ + { + "auth": false, + "method": "POST", + "id": "getRoot", + "originalEndpointId": "endpoint_.getRoot", + "name": "Get Root", + "path": { + "pathParameters": [], + "parts": [ + { + "type": "literal", + "value": "/root" + }, + { + "type": "literal", + "value": "/root" + } + ] + }, + "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", + "value": { + "type": "id", + "value": "type_:RootType1" + } + } + }, + "errorsV2": [], + "examples": [ + { + "path": "/root/root", + "pathParameters": {}, + "queryParameters": {}, + "headers": {}, + "requestBody": { + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar", + "myEnum": "SUNNY" + } + }, + "foo": "foo" + }, + "requestBodyV3": { + "type": "json", + "value": { + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar", + "myEnum": "SUNNY" + } + }, + "foo": "foo" + } + }, + "responseStatusCode": 200, + "responseBody": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar", + "myEnum": "SUNNY" + } + } + }, + "responseBodyV3": { + "type": "json", + "value": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar", + "myEnum": "SUNNY" + } + } + } + }, + "codeSamples": [] + } + ] + } + ], + "webhooks": [], + "websockets": [], + "types": [ + "type_:RootType1", + "type_:InlineType1", + "type_:InlineType2", + "type_:NestedInlineType1", + "type_:InlinedDiscriminatedUnion1", + "type_:InlinedUndiscriminatedUnion1", + "type_:InlineEnum" + ], + "subpackages": [] + }, + "snippetsConfiguration": {}, + "globalHeaders": [] +} \ No newline at end of file diff --git a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/validation.json b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/validation.json index 9890df60a2c..de09c177dce 100644 --- a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/validation.json +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/validation.json @@ -243,33 +243,33 @@ "queryParameters": {}, "headers": {}, "requestBody": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" }, "requestBodyV3": { "type": "json", "value": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" } }, "responseStatusCode": 200, "responseBody": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" }, "responseBodyV3": { "type": "json", "value": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" } }, @@ -351,24 +351,24 @@ "path": "", "pathParameters": {}, "queryParameters": { - "decimal": 1.1, - "even": 1, - "name": "name" + "decimal": 2.2, + "even": 100, + "name": "foo" }, "headers": {}, "responseStatusCode": 200, "responseBody": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" }, "responseBodyV3": { "type": "json", "value": { - "decimal": 1.1, - "even": 1, - "name": "name", + "decimal": 2.2, + "even": 100, + "name": "foo", "shape": "SQUARE" } }, diff --git a/packages/cli/workspace-commons/package.json b/packages/cli/workspace-commons/package.json index fd9841cce96..900377f7a21 100644 --- a/packages/cli/workspace-commons/package.json +++ b/packages/cli/workspace-commons/package.json @@ -30,7 +30,7 @@ "dependencies": { "@fern-api/configuration": "workspace:*", "@fern-api/core-utils": "workspace:*", - "@fern-api/fs-utils": "workspace:*", + "@fern-api/path-utils": "workspace:*", "@fern-api/task-context": "workspace:*", "@fern-api/fern-definition-schema": "workspace:*", "lodash-es": "^4.17.21" @@ -38,7 +38,6 @@ "devDependencies": { "@types/jest": "^29.5.12", "@types/lodash-es": "^4.17.12", - "@types/node": "18.7.18", "depcheck": "^1.4.6", "eslint": "^8.56.0", "vitest": "^2.1.4", diff --git a/packages/cli/workspace-commons/src/APIChangelog.ts b/packages/cli/workspace-commons/src/APIChangelog.ts index 7ec7e18e8fd..aa8c72c631b 100644 --- a/packages/cli/workspace-commons/src/APIChangelog.ts +++ b/packages/cli/workspace-commons/src/APIChangelog.ts @@ -1,4 +1,4 @@ -import { AbsoluteFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; export interface APIChangelog { files: ChangelogFile[]; diff --git a/packages/cli/workspace-commons/src/AbstractAPIWorkspace.ts b/packages/cli/workspace-commons/src/AbstractAPIWorkspace.ts index fb4c10a633b..fc71b2fe882 100644 --- a/packages/cli/workspace-commons/src/AbstractAPIWorkspace.ts +++ b/packages/cli/workspace-commons/src/AbstractAPIWorkspace.ts @@ -1,6 +1,6 @@ import { TaskContext } from "@fern-api/task-context"; import { generatorsYml } from "@fern-api/configuration"; -import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/path-utils"; import { ParsedFernFile } from "./FernFile"; import { DefinitionFileSchema, PackageMarkerFileSchema, RootApiFileSchema } from "@fern-api/fern-definition-schema"; import { FernWorkspace } from "./FernWorkspace"; diff --git a/packages/cli/workspace-commons/src/FernFile.ts b/packages/cli/workspace-commons/src/FernFile.ts index 0ae5ea8fead..f2f10fc3bf9 100644 --- a/packages/cli/workspace-commons/src/FernFile.ts +++ b/packages/cli/workspace-commons/src/FernFile.ts @@ -1,4 +1,4 @@ -import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/path-utils"; export interface FernFile { relativeFilepath: RelativeFilePath; diff --git a/packages/cli/workspace-commons/src/FernWorkspace.ts b/packages/cli/workspace-commons/src/FernWorkspace.ts index b59e0f30394..0abf5292e58 100644 --- a/packages/cli/workspace-commons/src/FernWorkspace.ts +++ b/packages/cli/workspace-commons/src/FernWorkspace.ts @@ -1,5 +1,5 @@ import { dependenciesYml } from "@fern-api/configuration"; -import { AbsoluteFilePath } from "@fern-api/fs-utils"; +import { AbsoluteFilePath } from "@fern-api/path-utils"; import { AbstractAPIWorkspace, FernDefinition } from "./AbstractAPIWorkspace"; export declare namespace FernWorkspace { diff --git a/packages/cli/workspace-commons/src/utils/getAllDefinitionFiles.ts b/packages/cli/workspace-commons/src/utils/getAllDefinitionFiles.ts index 567ec54ab24..cb57c128a8b 100644 --- a/packages/cli/workspace-commons/src/utils/getAllDefinitionFiles.ts +++ b/packages/cli/workspace-commons/src/utils/getAllDefinitionFiles.ts @@ -1,4 +1,4 @@ -import { RelativeFilePath } from "@fern-api/fs-utils"; +import { RelativeFilePath } from "@fern-api/path-utils"; import { DefinitionFileSchema } from "@fern-api/fern-definition-schema"; import { ParsedFernFile } from "../FernFile"; import { FernDefinition } from "../AbstractAPIWorkspace"; diff --git a/packages/cli/workspace-commons/src/utils/getAllNamedDefinitionFiles.ts b/packages/cli/workspace-commons/src/utils/getAllNamedDefinitionFiles.ts index 7472f91f8dd..13e1aa58d65 100644 --- a/packages/cli/workspace-commons/src/utils/getAllNamedDefinitionFiles.ts +++ b/packages/cli/workspace-commons/src/utils/getAllNamedDefinitionFiles.ts @@ -1,5 +1,5 @@ import { entries } from "@fern-api/core-utils"; -import { join, RelativeFilePath } from "@fern-api/fs-utils"; +import { join, RelativeFilePath } from "@fern-api/path-utils"; import { DefinitionFileSchema } from "@fern-api/fern-definition-schema"; import { mapKeys } from "lodash-es"; import { ParsedFernFile } from "../FernFile"; diff --git a/packages/cli/workspace-commons/src/utils/getAllPackageMarkers.ts b/packages/cli/workspace-commons/src/utils/getAllPackageMarkers.ts index 10701cf0d18..e91a2c57f8f 100644 --- a/packages/cli/workspace-commons/src/utils/getAllPackageMarkers.ts +++ b/packages/cli/workspace-commons/src/utils/getAllPackageMarkers.ts @@ -1,5 +1,5 @@ import { entries } from "@fern-api/core-utils"; -import { join, RelativeFilePath } from "@fern-api/fs-utils"; +import { join, RelativeFilePath } from "@fern-api/path-utils"; import { PackageMarkerFileSchema } from "@fern-api/fern-definition-schema"; import { mapKeys } from "lodash-es"; import { ParsedFernFile } from "../FernFile"; diff --git a/packages/cli/workspace-commons/src/utils/getDefinitionFile.ts b/packages/cli/workspace-commons/src/utils/getDefinitionFile.ts index 3edc774194c..742bace3fb2 100644 --- a/packages/cli/workspace-commons/src/utils/getDefinitionFile.ts +++ b/packages/cli/workspace-commons/src/utils/getDefinitionFile.ts @@ -1,4 +1,4 @@ -import { RelativeFilePath } from "@fern-api/fs-utils"; +import { RelativeFilePath } from "@fern-api/path-utils"; import { DefinitionFileSchema } from "@fern-api/fern-definition-schema"; import { FernWorkspace } from "../FernWorkspace"; import { getAllDefinitionFiles } from "./getAllDefinitionFiles"; diff --git a/packages/cli/workspace-commons/src/utils/visitAllDefinitionFiles.ts b/packages/cli/workspace-commons/src/utils/visitAllDefinitionFiles.ts index 7a9a850985c..28f55f2968d 100644 --- a/packages/cli/workspace-commons/src/utils/visitAllDefinitionFiles.ts +++ b/packages/cli/workspace-commons/src/utils/visitAllDefinitionFiles.ts @@ -1,6 +1,6 @@ import { FERN_PACKAGE_MARKER_FILENAME } from "@fern-api/configuration"; import { entries } from "@fern-api/core-utils"; -import { RelativeFilePath } from "@fern-api/fs-utils"; +import { RelativeFilePath } from "@fern-api/path-utils"; import { DefinitionFileSchema } from "@fern-api/fern-definition-schema"; import path from "path"; import { FernWorkspace } from "../FernWorkspace"; diff --git a/packages/cli/workspace-commons/src/utils/visitAllPackageMarkers.ts b/packages/cli/workspace-commons/src/utils/visitAllPackageMarkers.ts index 44d500dde5d..b0600f732d2 100644 --- a/packages/cli/workspace-commons/src/utils/visitAllPackageMarkers.ts +++ b/packages/cli/workspace-commons/src/utils/visitAllPackageMarkers.ts @@ -1,5 +1,5 @@ import { entries } from "@fern-api/core-utils"; -import { RelativeFilePath } from "@fern-api/fs-utils"; +import { RelativeFilePath } from "@fern-api/path-utils"; import { PackageMarkerFileSchema } from "@fern-api/fern-definition-schema"; import { FernWorkspace } from "../FernWorkspace"; import { getAllPackageMarkers } from "./getAllPackageMarkers"; diff --git a/packages/cli/workspace-commons/tsconfig.json b/packages/cli/workspace-commons/tsconfig.json index 4762360d274..bb100d3464e 100644 --- a/packages/cli/workspace-commons/tsconfig.json +++ b/packages/cli/workspace-commons/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, "include": ["./src/**/*"], "references": [ - { "path": "../../commons/fs-utils" }, + { "path": "../../commons/path-utils" }, { "path": "../configuration" }, { "path": "../logger" }, { "path": "../task-context" }, diff --git a/packages/cli/workspace-loader/package.json b/packages/cli/workspace-loader/package.json index 9fafa11b583..6f0f01ec573 100644 --- a/packages/cli/workspace-loader/package.json +++ b/packages/cli/workspace-loader/package.json @@ -30,9 +30,10 @@ "dependencies": { "@fern-api/api-workspace-commons": "workspace:*", "@fern-api/lazy-fern-workspace": "workspace:*", - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", + "@fern-api/cli-logger": "workspace:*", "@fern-api/logger": "workspace:*", "@fern-api/logging-execa": "workspace:*", "@fern-api/task-context": "workspace:*", diff --git a/packages/cli/workspace-loader/src/handleFailedWorkspaceParserResult.ts b/packages/cli/workspace-loader/src/handleFailedWorkspaceParserResult.ts index 0044a85ff6e..57827522293 100644 --- a/packages/cli/workspace-loader/src/handleFailedWorkspaceParserResult.ts +++ b/packages/cli/workspace-loader/src/handleFailedWorkspaceParserResult.ts @@ -1,7 +1,8 @@ -import { DEPENDENCIES_FILENAME } from "@fern-api/configuration"; +import { DEPENDENCIES_FILENAME } from "@fern-api/configuration-loader"; import { assertNever, entries } from "@fern-api/core-utils"; import { RelativeFilePath } from "@fern-api/fs-utils"; -import { formatLog, Logger } from "@fern-api/logger"; +import { Logger } from "@fern-api/logger"; +import { formatLog } from "@fern-api/cli-logger"; import chalk from "chalk"; import { YAMLException } from "js-yaml"; import { ZodIssue, ZodIssueCode } from "zod"; diff --git a/packages/cli/workspace-loader/src/loadAPIChangelog.ts b/packages/cli/workspace-loader/src/loadAPIChangelog.ts index b7651bcc9a1..0f5290ad519 100644 --- a/packages/cli/workspace-loader/src/loadAPIChangelog.ts +++ b/packages/cli/workspace-loader/src/loadAPIChangelog.ts @@ -1,4 +1,4 @@ -import { CHANGELOG_DIRECTORY } from "@fern-api/configuration"; +import { CHANGELOG_DIRECTORY } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { listFernFiles } from "./listFernFiles"; import { APIChangelog } from "@fern-api/api-workspace-commons"; diff --git a/packages/cli/workspace-loader/src/loadAPIWorkspace.ts b/packages/cli/workspace-loader/src/loadAPIWorkspace.ts index bd58441f52c..5a185b705ea 100644 --- a/packages/cli/workspace-loader/src/loadAPIWorkspace.ts +++ b/packages/cli/workspace-loader/src/loadAPIWorkspace.ts @@ -1,4 +1,9 @@ -import { DEFINITION_DIRECTORY, generatorsYml, OPENAPI_DIRECTORY } from "@fern-api/configuration"; +import { + DEFINITION_DIRECTORY, + generatorsYml, + loadGeneratorsConfiguration, + OPENAPI_DIRECTORY +} from "@fern-api/configuration-loader"; import { AbsoluteFilePath, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { loadAPIChangelog } from "./loadAPIChangelog"; @@ -143,7 +148,7 @@ export async function loadAPIWorkspace({ cliVersion: string; workspaceName: string | undefined; }): Promise { - const generatorsConfiguration = await generatorsYml.loadGeneratorsConfiguration({ + const generatorsConfiguration = await loadGeneratorsConfiguration({ absolutePathToWorkspace, context }); diff --git a/packages/cli/workspace-loader/src/loadDocsWorkspace.ts b/packages/cli/workspace-loader/src/loadDocsWorkspace.ts index aac089b25a9..0f208223b2d 100644 --- a/packages/cli/workspace-loader/src/loadDocsWorkspace.ts +++ b/packages/cli/workspace-loader/src/loadDocsWorkspace.ts @@ -1,4 +1,4 @@ -import { docsYml, DOCS_CONFIGURATION_FILENAME } from "@fern-api/configuration"; +import { docsYml, DOCS_CONFIGURATION_FILENAME } from "@fern-api/configuration-loader"; import { addPrefixToString } from "@fern-api/core-utils"; import { AbsoluteFilePath, doesPathExist, join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; diff --git a/packages/cli/workspace-loader/src/types/Workspace.ts b/packages/cli/workspace-loader/src/types/Workspace.ts index ece058bd8eb..a2afec2b762 100644 --- a/packages/cli/workspace-loader/src/types/Workspace.ts +++ b/packages/cli/workspace-loader/src/types/Workspace.ts @@ -1,4 +1,4 @@ -import { docsYml, generatorsYml } from "@fern-api/configuration"; +import { docsYml, generatorsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, RelativeFilePath } from "@fern-api/fs-utils"; import { AbstractAPIWorkspace, FernWorkspace } from "@fern-api/api-workspace-commons"; diff --git a/packages/cli/workspace-loader/tsconfig.json b/packages/cli/workspace-loader/tsconfig.json index 006eaf35610..a4d2bf47f91 100644 --- a/packages/cli/workspace-loader/tsconfig.json +++ b/packages/cli/workspace-loader/tsconfig.json @@ -1,19 +1,52 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../commons/core-utils" }, - { "path": "../../commons/fs-utils" }, - { "path": "../../commons/logging-execa" }, - { "path": "../../core" }, - { "path": "../configuration" }, - { "path": "../logger" }, - { "path": "../api-importers/openapi/openapi-ir-parser" }, - { "path": "../semver-utils" }, - { "path": "../task-context" }, - { "path": "../workspace-commons" }, - { "path": "../fern-definition/schema" }, - { "path": "../lazy-fern-workspace"} + { + "path": "../../commons/core-utils" + }, + { + "path": "../../commons/fs-utils" + }, + { + "path": "../../commons/logging-execa" + }, + { + "path": "../../core" + }, + { + "path": "../configuration-loader" + }, + { + "path": "../cli-logger" + }, + { + "path": "../logger" + }, + { + "path": "../api-importers/openapi/openapi-ir-parser" + }, + { + "path": "../semver-utils" + }, + { + "path": "../task-context" + }, + { + "path": "../workspace-commons" + }, + { + "path": "../fern-definition/schema" + }, + { + "path": "../lazy-fern-workspace" + } ] -} +} \ No newline at end of file diff --git a/packages/cli/yaml/docs-validator/package.json b/packages/cli/yaml/docs-validator/package.json index 6aa496caf9d..306c3b6deaa 100644 --- a/packages/cli/yaml/docs-validator/package.json +++ b/packages/cli/yaml/docs-validator/package.json @@ -28,7 +28,7 @@ "depcheck": "depcheck" }, "dependencies": { - "@fern-api/configuration": "workspace:*", + "@fern-api/configuration-loader": "workspace:*", "@fern-api/core-utils": "workspace:*", "@fern-api/docs-markdown-utils": "workspace:*", "@fern-api/fs-utils": "workspace:*", diff --git a/packages/cli/yaml/docs-validator/src/docsAst/DocsConfigFileAstVisitor.ts b/packages/cli/yaml/docs-validator/src/docsAst/DocsConfigFileAstVisitor.ts index 90fd3bdd592..c1d9b1b0833 100644 --- a/packages/cli/yaml/docs-validator/src/docsAst/DocsConfigFileAstVisitor.ts +++ b/packages/cli/yaml/docs-validator/src/docsAst/DocsConfigFileAstVisitor.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { AbstractAPIWorkspace } from "@fern-api/workspace-loader"; diff --git a/packages/cli/yaml/docs-validator/src/docsAst/validateVersionConfig.ts b/packages/cli/yaml/docs-validator/src/docsAst/validateVersionConfig.ts index 27c8b0592fe..75b0f654ae6 100644 --- a/packages/cli/yaml/docs-validator/src/docsAst/validateVersionConfig.ts +++ b/packages/cli/yaml/docs-validator/src/docsAst/validateVersionConfig.ts @@ -1,5 +1,5 @@ import { addPrefixToString } from "@fern-api/core-utils"; -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; export type VersionParseResult = VersionFileSuccessParseResult | VersionFileFailureParseResult; diff --git a/packages/cli/yaml/docs-validator/src/docsAst/visitDocsConfigFileYamlAst.ts b/packages/cli/yaml/docs-validator/src/docsAst/visitDocsConfigFileYamlAst.ts index 9a1c281abc3..34a8e0c3873 100644 --- a/packages/cli/yaml/docs-validator/src/docsAst/visitDocsConfigFileYamlAst.ts +++ b/packages/cli/yaml/docs-validator/src/docsAst/visitDocsConfigFileYamlAst.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { AbsoluteFilePath, dirname, doesPathExist, resolve } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import yaml from "js-yaml"; diff --git a/packages/cli/yaml/docs-validator/src/docsAst/visitNavigationAst.ts b/packages/cli/yaml/docs-validator/src/docsAst/visitNavigationAst.ts index c8ec82d8552..54748a6ae6c 100644 --- a/packages/cli/yaml/docs-validator/src/docsAst/visitNavigationAst.ts +++ b/packages/cli/yaml/docs-validator/src/docsAst/visitNavigationAst.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { NodePath } from "@fern-api/fern-definition-schema"; import { AbsoluteFilePath, dirname, doesPathExist, relative, resolve } from "@fern-api/fs-utils"; import { APIWorkspaceLoader } from "./APIWorkspaceLoader"; diff --git a/packages/cli/yaml/docs-validator/src/rules/accent-color-contrast/index.ts b/packages/cli/yaml/docs-validator/src/rules/accent-color-contrast/index.ts index 6ec9d789286..8e9a1f304dc 100644 --- a/packages/cli/yaml/docs-validator/src/rules/accent-color-contrast/index.ts +++ b/packages/cli/yaml/docs-validator/src/rules/accent-color-contrast/index.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml, getColorFromRawConfig, getColorType } from "@fern-api/configuration-loader"; import tinycolor from "tinycolor2"; import { Rule, RuleViolation } from "../../Rule"; @@ -11,7 +11,7 @@ export const AccentColorContrastRule: Rule = { return []; } - const colorType = docsYml.getColorType(config.colors); + const colorType = getColorType(config.colors); if (colorType === "dark") { return validateTheme(config.colors, "dark"); @@ -30,13 +30,13 @@ export function validateTheme( colors: docsYml.RawSchemas.ColorsConfiguration, theme: "dark" | "light" ): RuleViolation[] { - const accentPrimaryColor = docsYml.getColorFromRawConfig( + const accentPrimaryColor = getColorFromRawConfig( colors.accentPrimary ?? colors.accentPrimaryDeprecated, "accent-primary", theme ); let backgroundColor = - docsYml.getColorFromRawConfig(colors.background, "background", theme) ?? (theme === "dark" ? "#000" : "#FFF"); + getColorFromRawConfig(colors.background, "background", theme) ?? (theme === "dark" ? "#000" : "#FFF"); const ruleViolations: RuleViolation[] = []; diff --git a/packages/cli/yaml/docs-validator/src/rules/tab-with-href/index.ts b/packages/cli/yaml/docs-validator/src/rules/tab-with-href/index.ts index c9bbb9dcf13..efe57a52e68 100644 --- a/packages/cli/yaml/docs-validator/src/rules/tab-with-href/index.ts +++ b/packages/cli/yaml/docs-validator/src/rules/tab-with-href/index.ts @@ -1,4 +1,4 @@ -import { docsYml } from "@fern-api/configuration"; +import { docsYml } from "@fern-api/configuration-loader"; import { Rule, RuleViolation } from "../../Rule"; export const TabWithHrefRule: Rule = { diff --git a/packages/cli/yaml/docs-validator/src/validateDocsWorkspace.ts b/packages/cli/yaml/docs-validator/src/validateDocsWorkspace.ts index 18917c58cff..ca103f8d3fb 100644 --- a/packages/cli/yaml/docs-validator/src/validateDocsWorkspace.ts +++ b/packages/cli/yaml/docs-validator/src/validateDocsWorkspace.ts @@ -1,4 +1,4 @@ -import { DOCS_CONFIGURATION_FILENAME } from "@fern-api/configuration"; +import { DOCS_CONFIGURATION_FILENAME } from "@fern-api/configuration-loader"; import { join, RelativeFilePath } from "@fern-api/fs-utils"; import { TaskContext } from "@fern-api/task-context"; import { DocsWorkspace } from "@fern-api/workspace-loader"; diff --git a/packages/cli/yaml/docs-validator/tsconfig.json b/packages/cli/yaml/docs-validator/tsconfig.json index 6d51a0d54a1..26dddd694a6 100644 --- a/packages/cli/yaml/docs-validator/tsconfig.json +++ b/packages/cli/yaml/docs-validator/tsconfig.json @@ -1,16 +1,40 @@ { "extends": "../../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], "references": [ - { "path": "../../../commons/core-utils" }, - { "path": "../../../commons/fs-utils" }, - { "path": "../../configuration" }, - { "path": "../../docs-markdown-utils" }, - { "path": "../../logger" }, - { "path": "../../task-context" }, - { "path": "../../workspace-loader" }, - { "path": "../../project-loader" }, - { "path": "../../fern-definition/schema" } + { + "path": "../../../commons/core-utils" + }, + { + "path": "../../../commons/fs-utils" + }, + { + "path": "../../configuration-loader" + }, + { + "path": "../../docs-markdown-utils" + }, + { + "path": "../../logger" + }, + { + "path": "../../task-context" + }, + { + "path": "../../workspace-loader" + }, + { + "path": "../../project-loader" + }, + { + "path": "../../fern-definition/schema" + } ] -} +} \ No newline at end of file diff --git a/packages/commons/core-utils/src/examples.ts b/packages/commons/core-utils/src/examples.ts index 66d3de062df..8db3a70a84f 100644 --- a/packages/commons/core-utils/src/examples.ts +++ b/packages/commons/core-utils/src/examples.ts @@ -23,3 +23,18 @@ export const UINT64 = 1000000; export const UUID = "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"; export const BIG_INTEGER = "123456789123456789"; + +export const SAMPLE_STRINGS = [ + "x", + "xy", + "foo", + "buzz", + "alpha", + "banana", + "apricot", + "mandarin", + "nectarine", + "strawberry", + "pomegranate", + "blackcurrant" +]; 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/packages/commons/fs-utils/package.json b/packages/commons/fs-utils/package.json index 9fc0ee44f8c..edd64295b7a 100644 --- a/packages/commons/fs-utils/package.json +++ b/packages/commons/fs-utils/package.json @@ -28,12 +28,15 @@ }, "dependencies": { "@fern-api/core-utils": "workspace:*", + "@fern-api/path-utils": "workspace:*", "glob": "^11.0.0", "json-stream-stringify": "^3.1.4", "stream-json": "^1.8.0", "tmp-promise": "^3.0.3" }, "devDependencies": { + "@fern-api/core-utils": "workspace:*", + "@fern-api/path-utils": "workspace:*", "@types/jest": "^29.5.12", "@types/node": "18.7.18", "@types/stream-json": "^1.7.7", diff --git a/packages/commons/fs-utils/src/AbsoluteFilePath.ts b/packages/commons/fs-utils/src/AbsoluteFilePath.ts index 0206ff1ef42..2628f86c198 100644 --- a/packages/commons/fs-utils/src/AbsoluteFilePath.ts +++ b/packages/commons/fs-utils/src/AbsoluteFilePath.ts @@ -1,15 +1,3 @@ -import path from "path"; -import { convertToOsPath } from "./osPathConverter"; - -export type AbsoluteFilePath = string & { - __AbsoluteFilePath: void; -}; - -export const AbsoluteFilePath = { - of: (value: string): AbsoluteFilePath => { - if (!path.isAbsolute(value)) { - throw new Error("Filepath is not absolute: " + value); - } - return convertToOsPath(value) as AbsoluteFilePath; - } -}; +// For convenience, we re-export the AbsoluteFilePath type for any caller +// that requires fs-utils. +export { AbsoluteFilePath } from "@fern-api/path-utils"; diff --git a/packages/commons/fs-utils/src/RelativeFilePath.ts b/packages/commons/fs-utils/src/RelativeFilePath.ts index 8875f564258..39763f43352 100644 --- a/packages/commons/fs-utils/src/RelativeFilePath.ts +++ b/packages/commons/fs-utils/src/RelativeFilePath.ts @@ -1,15 +1,3 @@ -import path from "path"; -import { convertToOsPath } from "./osPathConverter"; - -export type RelativeFilePath = string & { - __RelativeFilePath: void; -}; - -export const RelativeFilePath = { - of: (value: string): RelativeFilePath => { - if (path.isAbsolute(value)) { - throw new Error("Filepath is not relative: " + value); - } - return convertToOsPath(value) as RelativeFilePath; - } -}; +// For convenience, we re-export the RelativeFilePath type for any caller= +// that requires fs-utils. +export { RelativeFilePath } from "@fern-api/path-utils"; diff --git a/packages/commons/fs-utils/src/osPathConverter.ts b/packages/commons/fs-utils/src/osPathConverter.ts index 9c17d1833dd..08094687c07 100644 --- a/packages/commons/fs-utils/src/osPathConverter.ts +++ b/packages/commons/fs-utils/src/osPathConverter.ts @@ -1,13 +1,17 @@ import { AbsoluteFilePath } from "./AbsoluteFilePath"; import { RelativeFilePath } from "./RelativeFilePath"; -// in this function, we ignore drive paths and roots, since many strings are passed as partial relative paths -export function convertToOsPath(path: string): string { - if (process.platform === "win32") { - return path.replace(/\//g, "\\"); - } else { - return path.replace(/\\/g, "/"); - } +// For convenience, we re-export the convertToOsPath type for any caller +// that requires fs-utils. +export { convertToOsPath } from "@fern-api/path-utils"; + +export function convertToFernHostAbsoluteFilePath(path: AbsoluteFilePath): AbsoluteFilePath { + // Don't use 'of' here, as it will use OS path, we want fern path + return convertToFernHostPath(path) as AbsoluteFilePath; +} +export function convertToFernHostRelativeFilePath(path: RelativeFilePath): RelativeFilePath { + // Don't use 'of' here, as it will use OS path, we want fern path + return convertToFernHostPath(path) as RelativeFilePath; } function convertToFernHostPath(path: string): string { @@ -18,12 +22,3 @@ function convertToFernHostPath(path: string): string { return unixPath.replace(/\\/g, "/"); } - -export function convertToFernHostAbsoluteFilePath(path: AbsoluteFilePath): AbsoluteFilePath { - // Don't use 'of' here, as it will use OS path, we want fern path - return convertToFernHostPath(path) as AbsoluteFilePath; -} -export function convertToFernHostRelativeFilePath(path: RelativeFilePath): RelativeFilePath { - // Don't use 'of' here, as it will use OS path, we want fern path - return convertToFernHostPath(path) as RelativeFilePath; -} diff --git a/packages/commons/fs-utils/tsconfig.json b/packages/commons/fs-utils/tsconfig.json index 6b3ca77a3d2..9caf81e3acc 100644 --- a/packages/commons/fs-utils/tsconfig.json +++ b/packages/commons/fs-utils/tsconfig.json @@ -1,6 +1,19 @@ { "extends": "../../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "src" }, - "include": ["./src/**/*"], - "references": [{ "path": "../core-utils" }] -} + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], + "references": [ + { + "path": "../core-utils" + }, + { + "path": "../path-utils" + } + ] +} \ No newline at end of file diff --git a/packages/commons/path-utils/.depcheckrc.json b/packages/commons/path-utils/.depcheckrc.json new file mode 100644 index 00000000000..dba7a3d3dd1 --- /dev/null +++ b/packages/commons/path-utils/.depcheckrc.json @@ -0,0 +1,9 @@ +{ + "ignores": [ + "@types/jest", + "globals" + ], + "ignore-patterns": [ + "lib" + ] +} \ No newline at end of file diff --git a/packages/commons/path-utils/.prettierrc.cjs b/packages/commons/path-utils/.prettierrc.cjs new file mode 100644 index 00000000000..39cf0d0b8c9 --- /dev/null +++ b/packages/commons/path-utils/.prettierrc.cjs @@ -0,0 +1 @@ +module.exports = require("../../../.prettierrc.json"); diff --git a/packages/commons/path-utils/package.json b/packages/commons/path-utils/package.json new file mode 100644 index 00000000000..b4164ec3557 --- /dev/null +++ b/packages/commons/path-utils/package.json @@ -0,0 +1,38 @@ +{ + "name": "@fern-api/path-utils", + "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/fern-api/fern.git", + "directory": "packages/commons/path-utils" + }, + "files": [ + "lib" + ], + "type": "module", + "source": "src/index.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "sideEffects": false, + "scripts": { + "clean": "rm -rf ./lib && tsc --build --clean", + "compile": "tsc --build", + "test": "vitest --passWithNoTests --run", + "test:update": "vitest --passWithNoTests --run -u", + "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../../.eslintignore", + "lint:eslint:fix": "yarn lint:eslint --fix", + "format": "prettier --write --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", + "format:check": "prettier --check --ignore-unknown --ignore-path ../../../shared/.prettierignore \"**\"", + "organize-imports": "organize-imports-cli tsconfig.json", + "depcheck": "depcheck" + }, + "devDependencies": { + "@types/jest": "^29.5.12", + "depcheck": "^1.4.6", + "eslint": "^8.56.0", + "organize-imports-cli": "^0.10.0", + "prettier": "^2.7.1", + "typescript": "4.6.4", + "vitest": "^2.0.5" + } +} \ No newline at end of file diff --git a/packages/commons/path-utils/src/AbsoluteFilePath.ts b/packages/commons/path-utils/src/AbsoluteFilePath.ts new file mode 100644 index 00000000000..72353da2a40 --- /dev/null +++ b/packages/commons/path-utils/src/AbsoluteFilePath.ts @@ -0,0 +1,17 @@ +import { getPathModule } from "./getPathModule"; +import { convertToOsPath } from "./convertToOsPath"; + +const path = getPathModule(); + +export type AbsoluteFilePath = string & { + __AbsoluteFilePath: void; +}; + +export const AbsoluteFilePath = { + of: (value: string): AbsoluteFilePath => { + if (!path.isAbsolute(value)) { + throw new Error("Filepath is not absolute: " + value); + } + return convertToOsPath(value) as AbsoluteFilePath; + } +}; diff --git a/packages/commons/path-utils/src/RelativeFilePath.ts b/packages/commons/path-utils/src/RelativeFilePath.ts new file mode 100644 index 00000000000..6d97af9c498 --- /dev/null +++ b/packages/commons/path-utils/src/RelativeFilePath.ts @@ -0,0 +1,17 @@ +import { getPathModule } from "./getPathModule"; +import { convertToOsPath } from "./convertToOsPath"; + +const path = getPathModule(); + +export type RelativeFilePath = string & { + __RelativeFilePath: void; +}; + +export const RelativeFilePath = { + of: (value: string): RelativeFilePath => { + if (path.isAbsolute(value)) { + throw new Error("Filepath is not relative: " + value); + } + return convertToOsPath(value) as RelativeFilePath; + } +}; diff --git a/packages/commons/path-utils/src/basename.ts b/packages/commons/path-utils/src/basename.ts new file mode 100644 index 00000000000..94c7ac52b28 --- /dev/null +++ b/packages/commons/path-utils/src/basename.ts @@ -0,0 +1,3 @@ +export function basename(path: string): string { + return path.split("/").pop() ?? ""; +} diff --git a/packages/commons/path-utils/src/convertToOsPath.ts b/packages/commons/path-utils/src/convertToOsPath.ts new file mode 100644 index 00000000000..7d3ddbf4f9c --- /dev/null +++ b/packages/commons/path-utils/src/convertToOsPath.ts @@ -0,0 +1,13 @@ +import { isBrowser } from "./isBrowser"; + +// in this function, we ignore drive paths and roots, since many strings are passed as partial relative paths +export function convertToOsPath(path: string): string { + if (isBrowser()) { + return path.replace(/\\/g, "/"); + } + if (process.platform === "win32") { + return path.replace(/\//g, "\\"); + } else { + return path.replace(/\\/g, "/"); + } +} diff --git a/packages/commons/path-utils/src/dirname.ts b/packages/commons/path-utils/src/dirname.ts new file mode 100644 index 00000000000..ed5f3c92866 --- /dev/null +++ b/packages/commons/path-utils/src/dirname.ts @@ -0,0 +1,16 @@ +import { AbsoluteFilePath } from "./AbsoluteFilePath"; +import { RelativeFilePath } from "./RelativeFilePath"; + +export function dirname(filepath: RelativeFilePath): RelativeFilePath; +export function dirname(filepath: AbsoluteFilePath): AbsoluteFilePath; +export function dirname(filepath: string): string { + const trimmed = filepath.replace(/\/+$/, ""); + const lastSlashIndex = trimmed.lastIndexOf("/"); + if (lastSlashIndex === -1) { + return "."; + } + if (lastSlashIndex === 0) { + return "/"; + } + return filepath.slice(0, lastSlashIndex); +} diff --git a/packages/commons/path-utils/src/getPathModule.ts b/packages/commons/path-utils/src/getPathModule.ts new file mode 100644 index 00000000000..f4002772fce --- /dev/null +++ b/packages/commons/path-utils/src/getPathModule.ts @@ -0,0 +1,14 @@ +import { isBrowser } from "./isBrowser"; + +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +export function getPathModule() { + if (isBrowser()) { + return { + isAbsolute: (value: string): boolean => { + return value.startsWith("/"); + } + }; + } else { + return require("path"); + } +} diff --git a/packages/commons/path-utils/src/index.ts b/packages/commons/path-utils/src/index.ts new file mode 100644 index 00000000000..a458858e24d --- /dev/null +++ b/packages/commons/path-utils/src/index.ts @@ -0,0 +1,6 @@ +export { AbsoluteFilePath } from "./AbsoluteFilePath"; +export { RelativeFilePath } from "./RelativeFilePath"; +export { basename } from "./basename"; +export { convertToOsPath } from "./convertToOsPath"; +export { dirname } from "./dirname"; +export { join } from "./join"; diff --git a/packages/commons/path-utils/src/isBrowser.ts b/packages/commons/path-utils/src/isBrowser.ts new file mode 100644 index 00000000000..0bd3051f052 --- /dev/null +++ b/packages/commons/path-utils/src/isBrowser.ts @@ -0,0 +1,3 @@ +export function isBrowser(): boolean { + return typeof window !== "undefined"; +} diff --git a/packages/commons/path-utils/src/join.ts b/packages/commons/path-utils/src/join.ts new file mode 100644 index 00000000000..c211a295797 --- /dev/null +++ b/packages/commons/path-utils/src/join.ts @@ -0,0 +1,24 @@ +import { AbsoluteFilePath } from "./AbsoluteFilePath"; +import { RelativeFilePath } from "./RelativeFilePath"; + +export function join(first: RelativeFilePath, ...parts: RelativeFilePath[]): RelativeFilePath; +export function join(first: AbsoluteFilePath, ...parts: RelativeFilePath[]): AbsoluteFilePath; +export function join(...parts: RelativeFilePath[]): RelativeFilePath; +export function join(...parts: string[]): string { + const stack: string[] = []; + for (const part of parts.flatMap((segment) => segment.split("/")).filter(Boolean)) { + if (part === "." || part === "") { + continue; + } + if (part === "..") { + if (stack.length > 0 && stack[stack.length - 1] !== "..") { + stack.pop(); + } else { + stack.push(part); + } + } else { + stack.push(part); + } + } + return (parts[0]?.startsWith("/") ? "/" : "") + stack.join("/"); +} diff --git a/packages/commons/path-utils/tsconfig.json b/packages/commons/path-utils/tsconfig.json new file mode 100644 index 00000000000..e023ef25af3 --- /dev/null +++ b/packages/commons/path-utils/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../../../shared/tsconfig.shared.json", + "compilerOptions": { + "composite": true, + "outDir": "lib", + "rootDir": "src" + }, + "include": [ + "./src/**/*" + ], +} \ No newline at end of file diff --git a/packages/commons/path-utils/vitest.config.ts b/packages/commons/path-utils/vitest.config.ts new file mode 100644 index 00000000000..fecc099c58a --- /dev/null +++ b/packages/commons/path-utils/vitest.config.ts @@ -0,0 +1 @@ +export { default } from "../../../shared/vitest.config"; 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..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 @@ -90,4 +90,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..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 @@ -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 @@ -98,9 +98,9 @@ types: 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 @@ -169,7 +169,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: @@ -348,23 +351,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 +476,9 @@ types: bigInteger: type: bigint key: bigInteger - - ExampleDatetime: - properties: + + ExampleDatetime: + properties: datetime: datetime raw: optional 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/ContainerType.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts index d3186b007d0..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 @@ -55,7 +55,7 @@ export const ContainerType = { return { list: value, type: "list", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.List, visitor: FernIr.ContainerType._Visitor<_Result> ) { @@ -68,7 +68,7 @@ export const ContainerType = { return { ...value, type: "map", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Map, visitor: FernIr.ContainerType._Visitor<_Result> ) { @@ -81,7 +81,7 @@ export const ContainerType = { return { optional: value, type: "optional", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Optional, visitor: FernIr.ContainerType._Visitor<_Result> ) { @@ -94,7 +94,7 @@ export const ContainerType = { return { set: value, type: "set", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Set, visitor: FernIr.ContainerType._Visitor<_Result> ) { @@ -107,7 +107,7 @@ export const ContainerType = { return { literal: value, type: "literal", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Literal, visitor: FernIr.ContainerType._Visitor<_Result> ) { 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; } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 80db05fcd71..e7bdc857746 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,8 +149,11 @@ importers: jsonc-parser@2.2.1: unplugged: true - generators/commons: + generators/base: dependencies: + '@fern-api/browser-compatible-base-generator': + specifier: workspace:* + version: link:../browser-compatible-base '@fern-api/core-utils': specifier: workspace:* version: link:../../packages/commons/core-utils @@ -166,9 +169,6 @@ importers: '@fern-fern/generator-cli-sdk': specifier: 0.0.17 version: 0.0.17 - '@fern-fern/generator-exec-sdk': - specifier: ^0.0.898 - version: 0.0.898 js-yaml: specifier: ^4.1.0 version: 4.1.0 @@ -207,17 +207,45 @@ importers: specifier: ^2.1.4 version: 2.1.4(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) + generators/browser-compatible-base: + dependencies: + '@fern-api/logger': + specifier: workspace:* + version: link:../../packages/cli/logger + '@fern-fern/generator-exec-sdk': + specifier: ^0.0.898 + version: 0.0.898 + devDependencies: + depcheck: + specifier: ^1.4.6 + version: 1.4.6 + eslint: + specifier: ^8.56.0 + version: 8.56.0 + organize-imports-cli: + specifier: ^0.10.0 + version: 0.10.0 + prettier: + specifier: ^2.7.1 + version: 2.7.1 + typescript: + specifier: 4.6.4 + version: 4.6.4 + vitest: + specifier: ^2.1.4 + version: 2.1.4(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) + generators/csharp/codegen: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logging-execa': specifier: workspace:* version: link:../../../packages/commons/logging-execa @@ -261,15 +289,15 @@ importers: generators/csharp/model: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/csharp-codegen': specifier: workspace:* version: link:../codegen '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-fern/ir-sdk': specifier: ^53.18.0 version: 53.18.0 @@ -312,6 +340,9 @@ importers: generators/csharp/sdk: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils @@ -324,9 +355,6 @@ importers: '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logger': specifier: workspace:* version: link:../../../packages/cli/logger @@ -387,15 +415,15 @@ importers: generators/go-v2/ast: dependencies: + '@fern-api/browser-compatible-base-generator': + specifier: workspace:* + version: link:../../browser-compatible-base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils - '@fern-api/fs-utils': - specifier: workspace:* - version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': + '@fern-api/path-utils': specifier: workspace:* - version: link:../../commons + version: link:../../../packages/commons/path-utils '@fern-fern/ir-sdk': specifier: ^53.21.0 version: 53.21.0 @@ -406,9 +434,6 @@ importers: '@types/jest': specifier: ^29.5.12 version: 29.5.12 - '@types/node': - specifier: ^18.7.18 - version: 18.7.18 depcheck: specifier: ^1.4.6 version: 1.4.6 @@ -430,6 +455,15 @@ importers: generators/go-v2/base: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base + '@fern-api/fs-utils': + specifier: workspace:* + version: link:../../../packages/commons/fs-utils + '@fern-api/go-ast': + specifier: workspace:* + version: link:../ast '@types/node': specifier: 18.7.18 version: 18.7.18 @@ -463,33 +497,30 @@ importers: generators/go-v2/dynamic-snippets: devDependencies: + '@fern-api/browser-compatible-base-generator': + specifier: workspace:* + version: link:../../browser-compatible-base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils '@fern-api/fern-definition-schema': specifier: workspace:* version: link:../../../packages/cli/fern-definition/schema - '@fern-api/fs-utils': - specifier: workspace:* - version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/go-ast': specifier: workspace:* version: link:../ast '@fern-api/go-formatter': specifier: workspace:* version: link:../formatter + '@fern-api/path-utils': + specifier: workspace:* + version: link:../../../packages/commons/path-utils '@fern-fern/ir-sdk': specifier: ^53.21.0 version: 53.21.0 '@types/jest': specifier: ^29.5.12 version: 29.5.12 - '@types/node': - specifier: ^18.7.18 - version: 18.7.18 depcheck: specifier: ^1.4.6 version: 1.4.6 @@ -514,9 +545,9 @@ importers: generators/go-v2/formatter: dependencies: - '@fern-api/generator-commons': + '@fern-api/base-generator': specifier: workspace:* - version: link:../../commons + version: link:../../base '@wasm-fmt/gofmt': specifier: ^0.4.9 version: 0.4.9 @@ -614,15 +645,15 @@ importers: generators/openapi: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../base '@fern-api/core-utils': specifier: workspace:* version: link:../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../commons '@fern-fern/ir-sdk': specifier: 53.9.0 version: 53.9.0 @@ -680,15 +711,15 @@ importers: generators/php/codegen: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logging-execa': specifier: workspace:* version: link:../../../packages/commons/logging-execa @@ -732,12 +763,12 @@ importers: generators/php/model: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/php-codegen': specifier: workspace:* version: link:../codegen @@ -783,15 +814,15 @@ importers: generators/php/sdk: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/php-codegen': specifier: workspace:* version: link:../codegen @@ -849,15 +880,15 @@ importers: generators/postman: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../base '@fern-api/core-utils': specifier: workspace:* version: link:../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../commons '@fern-fern/ir-sdk': specifier: 53.9.0 version: 53.9.0 @@ -912,12 +943,12 @@ importers: generators/python-v2/ast: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@wasm-fmt/ruff_fmt': specifier: ^0.6.1 version: 0.6.1 @@ -946,15 +977,15 @@ importers: generators/python-v2/base: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logging-execa': specifier: workspace:* version: link:../../../packages/commons/logging-execa @@ -1031,6 +1062,9 @@ importers: generators/python-v2/pydantic-model: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/base-python-generator': specifier: workspace:* version: link:../base @@ -1040,9 +1074,6 @@ importers: '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/python-ast': specifier: workspace:* version: link:../ast @@ -1088,12 +1119,12 @@ importers: generators/ruby/cli: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logger': specifier: workspace:* version: link:../../../packages/cli/logger @@ -1183,12 +1214,12 @@ importers: generators/ruby/model: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logging-execa': specifier: workspace:* version: link:../../../packages/commons/logging-execa @@ -1246,15 +1277,15 @@ importers: generators/ruby/sdk: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/fern-ruby-model': specifier: workspace:* version: link:../model '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-api/logging-execa': specifier: workspace:* version: link:../../../packages/commons/logging-execa @@ -1309,15 +1340,15 @@ importers: generators/swift/codegen: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons devDependencies: '@types/jest': specifier: ^29.5.12 @@ -1352,12 +1383,12 @@ importers: generators/typescript/codegen: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../packages/commons/core-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../commons '@fern-fern/ir-sdk': specifier: 53.8.0 version: 53.8.0 @@ -2220,12 +2251,12 @@ importers: generators/typescript/sdk/cli: devDependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../../base '@fern-api/fs-utils': specifier: workspace:* version: link:../../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../../commons '@fern-fern/ir-sdk': specifier: 53.8.0 version: 53.8.0 @@ -2424,15 +2455,15 @@ importers: generators/typescript/sdk/generator: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../../base '@fern-api/core-utils': specifier: workspace:* version: link:../../../../packages/commons/core-utils '@fern-api/fs-utils': specifier: workspace:* version: link:../../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../../commons '@fern-api/logger': specifier: workspace:* version: link:../../../../packages/cli/logger @@ -2855,12 +2886,12 @@ importers: generators/typescript/utils/abstract-generator-cli: dependencies: + '@fern-api/base-generator': + specifier: workspace:* + version: link:../../../base '@fern-api/fs-utils': specifier: workspace:* version: link:../../../../packages/commons/fs-utils - '@fern-api/generator-commons': - specifier: workspace:* - version: link:../../../commons '@fern-api/logger': specifier: workspace:* version: link:../../../../packages/cli/logger @@ -3038,9 +3069,9 @@ importers: generators/typescript/utils/contexts: dependencies: - '@fern-api/generator-commons': + '@fern-api/base-generator': specifier: workspace:* - version: link:../../../commons + version: link:../../../base '@fern-api/logger': specifier: workspace:* version: link:../../../../packages/cli/logger @@ -3748,12 +3779,15 @@ importers: '@fern-api/auth': specifier: workspace:* version: link:../auth + '@fern-api/cli-logger': + specifier: workspace:* + version: link:../cli-logger '@fern-api/cli-migrations': specifier: workspace:* version: link:../cli-migrations - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../configuration + version: link:../configuration-loader '@fern-api/core': specifier: workspace:* version: link:../../core @@ -3968,11 +4002,42 @@ importers: specifier: ^17.4.1 version: 17.7.2 + packages/cli/cli-logger: + dependencies: + chalk: + specifier: ^5.3.0 + version: 5.3.0 + devDependencies: + '@types/jest': + specifier: ^29.5.12 + version: 29.5.12 + '@types/node': + specifier: 18.7.18 + version: 18.7.18 + depcheck: + specifier: ^1.4.6 + version: 1.4.6 + eslint: + specifier: ^8.56.0 + version: 8.56.0 + organize-imports-cli: + specifier: ^0.10.0 + version: 0.10.0 + prettier: + specifier: ^2.7.1 + version: 2.7.1 + typescript: + specifier: 4.6.4 + version: 4.6.4 + vitest: + specifier: ^2.1.4 + version: 2.1.4(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) + packages/cli/cli-migrations: dependencies: - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../configuration + version: link:../configuration-loader '@fern-api/core-utils': specifier: workspace:* version: link:../../commons/core-utils @@ -4049,6 +4114,52 @@ importers: packages/cli/configuration: dependencies: + '@fern-api/core-utils': + specifier: workspace:* + version: link:../../commons/core-utils + '@fern-api/fern-definition-schema': + specifier: workspace:* + version: link:../fern-definition/schema + '@fern-api/path-utils': + specifier: workspace:* + version: link:../../commons/path-utils + '@fern-fern/fdr-cjs-sdk': + specifier: 0.126.1-444264056 + version: 0.126.1-444264056 + '@fern-fern/fiddle-sdk': + specifier: 0.0.584 + version: 0.0.584 + zod: + specifier: ^3.22.3 + version: 3.22.4 + devDependencies: + '@types/jest': + specifier: ^29.5.12 + version: 29.5.12 + depcheck: + specifier: ^1.4.6 + version: 1.4.6 + eslint: + specifier: ^8.56.0 + version: 8.56.0 + organize-imports-cli: + specifier: ^0.10.0 + version: 0.10.0 + prettier: + specifier: ^2.7.1 + version: 2.7.1 + typescript: + specifier: 4.6.4 + version: 4.6.4 + vitest: + 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/configuration-loader: + dependencies: + '@fern-api/configuration': + specifier: workspace:* + version: link:../configuration '@fern-api/core-utils': specifier: workspace:* version: link:../../commons/core-utils @@ -4081,13 +4192,13 @@ importers: version: 4.17.21 semver: specifier: ^7.6.2 - version: 7.6.2 + version: 7.6.3 tinycolor2: specifier: ^1.6.0 version: 1.6.0 zod: specifier: ^3.22.3 - version: 3.22.4 + version: 3.23.8 devDependencies: '@types/jest': specifier: ^29.5.12 @@ -4124,7 +4235,7 @@ importers: version: 4.6.4 vitest: 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) + version: 2.1.4(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) packages/cli/docs-importers/commons: dependencies: @@ -4378,9 +4489,9 @@ importers: packages/cli/docs-resolver: dependencies: - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../configuration + version: link:../configuration-loader '@fern-api/core-utils': specifier: workspace:* version: link:../../commons/core-utils @@ -4665,9 +4776,9 @@ importers: '@fern-api/api-workspace-commons': specifier: workspace:* version: link:../../workspace-commons - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../../configuration + version: link:../../configuration-loader '@fern-api/core': specifier: workspace:* version: link:../../../core @@ -4762,15 +4873,9 @@ importers: '@fern-api/ir-sdk': specifier: workspace:* version: link:../../../ir-sdk - '@fern-api/project-loader': - specifier: workspace:* - version: link:../../project-loader '@fern-api/task-context': specifier: workspace:* version: link:../../task-context - '@fern-api/workspace-loader': - specifier: workspace:* - version: link:../../workspace-loader lodash-es: specifier: ^4.17.21 version: 4.17.21 @@ -4815,11 +4920,57 @@ 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/generation/ir-generator-tests: + dependencies: + '@fern-api/configuration-loader': + specifier: workspace:* + version: link:../../configuration-loader + '@fern-api/fs-utils': + specifier: workspace:* + version: link:../../../commons/fs-utils + '@fern-api/ir-generator': + specifier: workspace:* + version: link:../ir-generator + '@fern-api/ir-sdk': + specifier: workspace:* + version: link:../../../ir-sdk + '@fern-api/project-loader': + specifier: workspace:* + version: link:../../project-loader + '@fern-api/task-context': + specifier: workspace:* + version: link:../../task-context + '@fern-api/workspace-loader': + specifier: workspace:* + version: link:../../workspace-loader + prettier: + specifier: ^2.7.1 + version: 2.7.1 + devDependencies: + '@types/node': + specifier: 18.7.18 + version: 18.7.18 + depcheck: + specifier: ^1.4.6 + version: 1.4.6 + eslint: + specifier: ^8.56.0 + version: 8.56.0 + organize-imports-cli: + specifier: ^0.10.0 + version: 0.10.0 + typescript: + specifier: 4.6.4 + version: 4.6.4 + vitest: + specifier: ^2.0.5 + version: 2.1.4(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) + packages/cli/generation/ir-migrations: dependencies: - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../../configuration + version: link:../../configuration-loader '@fern-api/core-utils': specifier: workspace:* version: link:../../../commons/core-utils @@ -5295,9 +5446,9 @@ importers: '@fern-api/auth': specifier: workspace:* version: link:../auth - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../configuration + version: link:../configuration-loader '@fern-api/core': specifier: workspace:* version: link:../../core @@ -5374,9 +5525,12 @@ importers: '@fern-api/api-workspace-commons': specifier: workspace:* version: link:../workspace-commons - '@fern-api/configuration': + '@fern-api/cli-logger': specifier: workspace:* - version: link:../configuration + version: link:../cli-logger + '@fern-api/configuration-loader': + specifier: workspace:* + version: link:../configuration-loader '@fern-api/conjure-to-fern': specifier: workspace:* version: link:../api-importers/conjure/conjure-to-fern @@ -5489,16 +5643,10 @@ importers: '@fern-api/core-utils': specifier: workspace:* version: link:../../commons/core-utils - chalk: - specifier: ^5.3.0 - version: 5.3.0 devDependencies: '@types/jest': specifier: ^29.5.12 version: 29.5.12 - '@types/node': - specifier: 18.7.18 - version: 18.7.18 depcheck: specifier: ^1.4.6 version: 1.4.6 @@ -5691,9 +5839,9 @@ importers: '@fern-api/api-workspace-commons': specifier: workspace:* version: link:../workspace-commons - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../configuration + version: link:../configuration-loader '@fern-api/fs-utils': specifier: workspace:* version: link:../../commons/fs-utils @@ -5869,9 +6017,9 @@ importers: '@fern-api/fern-definition-schema': specifier: workspace:* version: link:../fern-definition/schema - '@fern-api/fs-utils': + '@fern-api/path-utils': specifier: workspace:* - version: link:../../commons/fs-utils + version: link:../../commons/path-utils '@fern-api/task-context': specifier: workspace:* version: link:../task-context @@ -5885,9 +6033,6 @@ importers: '@types/lodash-es': specifier: ^4.17.12 version: 4.17.12 - '@types/node': - specifier: 18.7.18 - version: 18.7.18 depcheck: specifier: ^1.4.6 version: 1.4.6 @@ -5912,9 +6057,12 @@ importers: '@fern-api/api-workspace-commons': specifier: workspace:* version: link:../workspace-commons - '@fern-api/configuration': + '@fern-api/cli-logger': specifier: workspace:* - version: link:../configuration + version: link:../cli-logger + '@fern-api/configuration-loader': + specifier: workspace:* + version: link:../configuration-loader '@fern-api/core-utils': specifier: workspace:* version: link:../../commons/core-utils @@ -5979,9 +6127,9 @@ importers: packages/cli/yaml/docs-validator: dependencies: - '@fern-api/configuration': + '@fern-api/configuration-loader': specifier: workspace:* - version: link:../../configuration + version: link:../../configuration-loader '@fern-api/core-utils': specifier: workspace:* version: link:../../../commons/core-utils @@ -6140,6 +6288,9 @@ importers: '@fern-api/core-utils': specifier: workspace:* version: link:../core-utils + '@fern-api/path-utils': + specifier: workspace:* + version: link:../path-utils glob: specifier: ^11.0.0 version: 11.0.0 @@ -6246,6 +6397,30 @@ 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/commons/path-utils: + devDependencies: + '@types/jest': + specifier: ^29.5.12 + version: 29.5.12 + depcheck: + specifier: ^1.4.6 + version: 1.4.6 + eslint: + specifier: ^8.56.0 + version: 8.56.0 + organize-imports-cli: + specifier: ^0.10.0 + version: 0.10.0 + prettier: + specifier: ^2.7.1 + version: 2.7.1 + typescript: + specifier: 4.6.4 + version: 4.6.4 + vitest: + specifier: ^2.0.5 + version: 2.1.4(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) + packages/core: dependencies: '@fern-api/venus-api-sdk': @@ -15482,7 +15657,7 @@ snapshots: functional-red-black-tree: 1.0.1 ignore: 5.3.1 regexpp: 3.2.0 - semver: 7.6.2 + semver: 7.6.3 tsutils: 3.21.0(typescript@4.6.4) optionalDependencies: typescript: 4.6.4 @@ -20277,7 +20452,7 @@ snapshots: semver-diff@4.0.0: dependencies: - semver: 7.6.2 + semver: 7.6.3 semver@5.7.2: {} diff --git a/seed/csharp-model/.gitignore b/seed/csharp-model/.gitignore deleted file mode 100644 index ad136bcef66..00000000000 --- a/seed/csharp-model/.gitignore +++ /dev/null @@ -1 +0,0 @@ -**/**.sln \ No newline at end of file diff --git a/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs index e9f45b46a00..afe99daa324 100644 --- a/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj b/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj index 84a91a23f46..a096140ec2c 100644 --- a/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj +++ b/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln b/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln new file mode 100644 index 00000000000..337bab479c9 --- /dev/null +++ b/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends", "SeedAliasExtends\SeedAliasExtends.csproj", "{D2DC438E-4DAC-4035-ADD7-1E4790CFC503}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends.Test", "SeedAliasExtends.Test\SeedAliasExtends.Test.csproj", "{D3A637EC-FCDB-4F72-BB20-C252B6B061B8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D2DC438E-4DAC-4035-ADD7-1E4790CFC503}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D2DC438E-4DAC-4035-ADD7-1E4790CFC503}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D2DC438E-4DAC-4035-ADD7-1E4790CFC503}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D2DC438E-4DAC-4035-ADD7-1E4790CFC503}.Release|Any CPU.Build.0 = Release|Any CPU + {D3A637EC-FCDB-4F72-BB20-C252B6B061B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D3A637EC-FCDB-4F72-BB20-C252B6B061B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D3A637EC-FCDB-4F72-BB20-C252B6B061B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D3A637EC-FCDB-4F72-BB20-C252B6B061B8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj b/seed/csharp-model/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj index e2ac4b36b8a..7a4688de872 100644 --- a/seed/csharp-model/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj +++ b/seed/csharp-model/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/alias-extends/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs index 357a10f90ba..b48c2e6729a 100644 --- a/seed/csharp-model/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj b/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj index 6377029a16d..4c80df47000 100644 --- a/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj +++ b/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/alias/src/SeedAlias.sln b/seed/csharp-model/alias/src/SeedAlias.sln new file mode 100644 index 00000000000..1b6318ac8db --- /dev/null +++ b/seed/csharp-model/alias/src/SeedAlias.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias", "SeedAlias\SeedAlias.csproj", "{3BC920AC-E391-4975-B088-D32505F4AF02}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias.Test", "SeedAlias.Test\SeedAlias.Test.csproj", "{47F24647-DE0F-4153-833A-1C42837FB1A8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3BC920AC-E391-4975-B088-D32505F4AF02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3BC920AC-E391-4975-B088-D32505F4AF02}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3BC920AC-E391-4975-B088-D32505F4AF02}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3BC920AC-E391-4975-B088-D32505F4AF02}.Release|Any CPU.Build.0 = Release|Any CPU + {47F24647-DE0F-4153-833A-1C42837FB1A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {47F24647-DE0F-4153-833A-1C42837FB1A8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {47F24647-DE0F-4153-833A-1C42837FB1A8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {47F24647-DE0F-4153-833A-1C42837FB1A8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/alias/src/SeedAlias/SeedAlias.csproj b/seed/csharp-model/alias/src/SeedAlias/SeedAlias.csproj index f6d9b711c37..d4455f0f175 100644 --- a/seed/csharp-model/alias/src/SeedAlias/SeedAlias.csproj +++ b/seed/csharp-model/alias/src/SeedAlias/SeedAlias.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/alias/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs index 66af8be386b..ebde0c81c13 100644 --- a/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj b/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj index f68ccf13cf4..cb2298c52d3 100644 --- a/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj +++ b/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/any-auth/src/SeedAnyAuth.sln b/seed/csharp-model/any-auth/src/SeedAnyAuth.sln new file mode 100644 index 00000000000..b12f2029b12 --- /dev/null +++ b/seed/csharp-model/any-auth/src/SeedAnyAuth.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth", "SeedAnyAuth\SeedAnyAuth.csproj", "{03D5827D-4608-4058-9668-A3700E3FA8C3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth.Test", "SeedAnyAuth.Test\SeedAnyAuth.Test.csproj", "{5E7574FF-0826-4DAF-A1FA-F14BFE78D767}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {03D5827D-4608-4058-9668-A3700E3FA8C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {03D5827D-4608-4058-9668-A3700E3FA8C3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {03D5827D-4608-4058-9668-A3700E3FA8C3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {03D5827D-4608-4058-9668-A3700E3FA8C3}.Release|Any CPU.Build.0 = Release|Any CPU + {5E7574FF-0826-4DAF-A1FA-F14BFE78D767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5E7574FF-0826-4DAF-A1FA-F14BFE78D767}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5E7574FF-0826-4DAF-A1FA-F14BFE78D767}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5E7574FF-0826-4DAF-A1FA-F14BFE78D767}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj b/seed/csharp-model/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj index 17833e03e63..39464d7ee08 100644 --- a/seed/csharp-model/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj +++ b/seed/csharp-model/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/any-auth/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs index c7dd5409d21..5f7e85954a6 100644 --- a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj index 31487789fa2..330a9298b0a 100644 --- a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj +++ b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln new file mode 100644 index 00000000000..b4c80c646c5 --- /dev/null +++ b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath", "SeedApiWideBasePath\SeedApiWideBasePath.csproj", "{FB4250B8-6588-4778-A956-8F7080223B89}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath.Test", "SeedApiWideBasePath.Test\SeedApiWideBasePath.Test.csproj", "{54B95608-0649-45D0-BF77-7C1DD9C6674D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FB4250B8-6588-4778-A956-8F7080223B89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FB4250B8-6588-4778-A956-8F7080223B89}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FB4250B8-6588-4778-A956-8F7080223B89}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FB4250B8-6588-4778-A956-8F7080223B89}.Release|Any CPU.Build.0 = Release|Any CPU + {54B95608-0649-45D0-BF77-7C1DD9C6674D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {54B95608-0649-45D0-BF77-7C1DD9C6674D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {54B95608-0649-45D0-BF77-7C1DD9C6674D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {54B95608-0649-45D0-BF77-7C1DD9C6674D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj index 1808b454685..1aaaab00485 100644 --- a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj +++ b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/api-wide-base-path/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs index 5ccfdceadda..41441c252b5 100644 --- a/seed/csharp-model/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj b/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj index db284d1749e..efb76afe36f 100644 --- a/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj +++ b/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/audiences/src/SeedAudiences.sln b/seed/csharp-model/audiences/src/SeedAudiences.sln new file mode 100644 index 00000000000..d3a3d49b32d --- /dev/null +++ b/seed/csharp-model/audiences/src/SeedAudiences.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences", "SeedAudiences\SeedAudiences.csproj", "{0F0C720C-D294-4C40-8776-F3B7C334036D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences.Test", "SeedAudiences.Test\SeedAudiences.Test.csproj", "{A2D7103A-8C56-46A1-82CC-B76BA78C47B7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0F0C720C-D294-4C40-8776-F3B7C334036D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0F0C720C-D294-4C40-8776-F3B7C334036D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0F0C720C-D294-4C40-8776-F3B7C334036D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0F0C720C-D294-4C40-8776-F3B7C334036D}.Release|Any CPU.Build.0 = Release|Any CPU + {A2D7103A-8C56-46A1-82CC-B76BA78C47B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A2D7103A-8C56-46A1-82CC-B76BA78C47B7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A2D7103A-8C56-46A1-82CC-B76BA78C47B7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A2D7103A-8C56-46A1-82CC-B76BA78C47B7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/audiences/src/SeedAudiences/SeedAudiences.csproj b/seed/csharp-model/audiences/src/SeedAudiences/SeedAudiences.csproj index fff370d06b0..d9dc702d8fa 100644 --- a/seed/csharp-model/audiences/src/SeedAudiences/SeedAudiences.csproj +++ b/seed/csharp-model/audiences/src/SeedAudiences/SeedAudiences.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/audiences/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs index 2e50e637c13..d4b033842fa 100644 --- a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj index 3107b4a3359..20f810ff4fd 100644 --- a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj +++ b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln new file mode 100644 index 00000000000..3f2298f0774 --- /dev/null +++ b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables", "SeedAuthEnvironmentVariables\SeedAuthEnvironmentVariables.csproj", "{A2743E9A-3A08-46D1-842C-61A9DF6830EB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables.Test", "SeedAuthEnvironmentVariables.Test\SeedAuthEnvironmentVariables.Test.csproj", "{32084CFE-BADD-4489-9BBC-9C000705A4C6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A2743E9A-3A08-46D1-842C-61A9DF6830EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A2743E9A-3A08-46D1-842C-61A9DF6830EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A2743E9A-3A08-46D1-842C-61A9DF6830EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A2743E9A-3A08-46D1-842C-61A9DF6830EB}.Release|Any CPU.Build.0 = Release|Any CPU + {32084CFE-BADD-4489-9BBC-9C000705A4C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {32084CFE-BADD-4489-9BBC-9C000705A4C6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {32084CFE-BADD-4489-9BBC-9C000705A4C6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {32084CFE-BADD-4489-9BBC-9C000705A4C6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj index 4f710b64e39..04f9e5616be 100644 --- a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj +++ b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/auth-environment-variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs index 0ae1158e4e8..80254d3b829 100644 --- a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj index fb0674da98d..1c5ab5dcbfd 100644 --- a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj +++ b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln new file mode 100644 index 00000000000..d70daaf128f --- /dev/null +++ b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables", "SeedBasicAuthEnvironmentVariables\SeedBasicAuthEnvironmentVariables.csproj", "{AC2F38C7-F995-4278-9474-342933E2FE46}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables.Test", "SeedBasicAuthEnvironmentVariables.Test\SeedBasicAuthEnvironmentVariables.Test.csproj", "{C980AAA6-5A1D-4418-9871-DF2DF2C86D3B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AC2F38C7-F995-4278-9474-342933E2FE46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AC2F38C7-F995-4278-9474-342933E2FE46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AC2F38C7-F995-4278-9474-342933E2FE46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AC2F38C7-F995-4278-9474-342933E2FE46}.Release|Any CPU.Build.0 = Release|Any CPU + {C980AAA6-5A1D-4418-9871-DF2DF2C86D3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C980AAA6-5A1D-4418-9871-DF2DF2C86D3B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C980AAA6-5A1D-4418-9871-DF2DF2C86D3B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C980AAA6-5A1D-4418-9871-DF2DF2C86D3B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj index dc46ec3579a..a3eac4561ae 100644 --- a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj +++ b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/basic-auth-environment-variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs index 1fbb498ecf2..88b2cd4defa 100644 --- a/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj b/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj index 694b87130a8..33244ffe96a 100644 --- a/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj +++ b/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln b/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln new file mode 100644 index 00000000000..faaa3c33881 --- /dev/null +++ b/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth", "SeedBasicAuth\SeedBasicAuth.csproj", "{F45FB889-FD3F-443C-B703-8E9167803A4E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth.Test", "SeedBasicAuth.Test\SeedBasicAuth.Test.csproj", "{01F175B5-01F7-4284-8425-D42A8884CEFF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F45FB889-FD3F-443C-B703-8E9167803A4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F45FB889-FD3F-443C-B703-8E9167803A4E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F45FB889-FD3F-443C-B703-8E9167803A4E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F45FB889-FD3F-443C-B703-8E9167803A4E}.Release|Any CPU.Build.0 = Release|Any CPU + {01F175B5-01F7-4284-8425-D42A8884CEFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {01F175B5-01F7-4284-8425-D42A8884CEFF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {01F175B5-01F7-4284-8425-D42A8884CEFF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {01F175B5-01F7-4284-8425-D42A8884CEFF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj b/seed/csharp-model/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj index 7706432bced..1f7fc53ae3c 100644 --- a/seed/csharp-model/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj +++ b/seed/csharp-model/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/basic-auth/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs index 80ac0381b5f..3494293860b 100644 --- a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj index b9dc79be93f..c66ac7c4081 100644 --- a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj +++ b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln new file mode 100644 index 00000000000..3810903b63f --- /dev/null +++ b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable", "SeedBearerTokenEnvironmentVariable\SeedBearerTokenEnvironmentVariable.csproj", "{26B0C8EE-38AE-4B3A-8940-62558540F734}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable.Test", "SeedBearerTokenEnvironmentVariable.Test\SeedBearerTokenEnvironmentVariable.Test.csproj", "{0E4337B2-A6DC-440D-B375-619EC5A8DE4F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {26B0C8EE-38AE-4B3A-8940-62558540F734}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {26B0C8EE-38AE-4B3A-8940-62558540F734}.Debug|Any CPU.Build.0 = Debug|Any CPU + {26B0C8EE-38AE-4B3A-8940-62558540F734}.Release|Any CPU.ActiveCfg = Release|Any CPU + {26B0C8EE-38AE-4B3A-8940-62558540F734}.Release|Any CPU.Build.0 = Release|Any CPU + {0E4337B2-A6DC-440D-B375-619EC5A8DE4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E4337B2-A6DC-440D-B375-619EC5A8DE4F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E4337B2-A6DC-440D-B375-619EC5A8DE4F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E4337B2-A6DC-440D-B375-619EC5A8DE4F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj index 4cb2a1bfe5b..865a9d18f8c 100644 --- a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj +++ b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/bearer-token-environment-variable/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs index 3365839e1f5..d208b0ed2a9 100644 --- a/seed/csharp-model/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj b/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj index 731659024cf..40490560dbd 100644 --- a/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj +++ b/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/bytes/src/SeedBytes.sln b/seed/csharp-model/bytes/src/SeedBytes.sln new file mode 100644 index 00000000000..d954544c1e2 --- /dev/null +++ b/seed/csharp-model/bytes/src/SeedBytes.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes", "SeedBytes\SeedBytes.csproj", "{366505A4-3942-4563-886F-97F2E4C8C4CC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes.Test", "SeedBytes.Test\SeedBytes.Test.csproj", "{60B3B888-71F2-45FA-95F1-35E2E0791D7F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {366505A4-3942-4563-886F-97F2E4C8C4CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {366505A4-3942-4563-886F-97F2E4C8C4CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {366505A4-3942-4563-886F-97F2E4C8C4CC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {366505A4-3942-4563-886F-97F2E4C8C4CC}.Release|Any CPU.Build.0 = Release|Any CPU + {60B3B888-71F2-45FA-95F1-35E2E0791D7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {60B3B888-71F2-45FA-95F1-35E2E0791D7F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {60B3B888-71F2-45FA-95F1-35E2E0791D7F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {60B3B888-71F2-45FA-95F1-35E2E0791D7F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/bytes/src/SeedBytes/SeedBytes.csproj b/seed/csharp-model/bytes/src/SeedBytes/SeedBytes.csproj index f0db1a65283..43238bb18b5 100644 --- a/seed/csharp-model/bytes/src/SeedBytes/SeedBytes.csproj +++ b/seed/csharp-model/bytes/src/SeedBytes/SeedBytes.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/bytes/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/circular-references-advanced/src/SeedApi.sln b/seed/csharp-model/circular-references-advanced/src/SeedApi.sln new file mode 100644 index 00000000000..d741d6a4744 --- /dev/null +++ b/seed/csharp-model/circular-references-advanced/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{AF054B6C-1BE5-41B3-956D-7873F5E93224}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{D581C2AE-0027-4095-9D9E-2964D139D748}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF054B6C-1BE5-41B3-956D-7873F5E93224}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AF054B6C-1BE5-41B3-956D-7873F5E93224}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AF054B6C-1BE5-41B3-956D-7873F5E93224}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AF054B6C-1BE5-41B3-956D-7873F5E93224}.Release|Any CPU.Build.0 = Release|Any CPU + {D581C2AE-0027-4095-9D9E-2964D139D748}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D581C2AE-0027-4095-9D9E-2964D139D748}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D581C2AE-0027-4095-9D9E-2964D139D748}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D581C2AE-0027-4095-9D9E-2964D139D748}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/circular-references-advanced/src/SeedApi/SeedApi.csproj b/seed/csharp-model/circular-references-advanced/src/SeedApi/SeedApi.csproj index e915f7a437d..0d98501b842 100644 --- a/seed/csharp-model/circular-references-advanced/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/circular-references-advanced/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/circular-references-advanced/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/circular-references/src/SeedApi.sln b/seed/csharp-model/circular-references/src/SeedApi.sln new file mode 100644 index 00000000000..92e87d5758a --- /dev/null +++ b/seed/csharp-model/circular-references/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{550D5692-00A6-46FC-8218-EF663BED5D0D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{6473A2B1-441B-432D-B450-12B1D40BA918}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {550D5692-00A6-46FC-8218-EF663BED5D0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {550D5692-00A6-46FC-8218-EF663BED5D0D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {550D5692-00A6-46FC-8218-EF663BED5D0D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {550D5692-00A6-46FC-8218-EF663BED5D0D}.Release|Any CPU.Build.0 = Release|Any CPU + {6473A2B1-441B-432D-B450-12B1D40BA918}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6473A2B1-441B-432D-B450-12B1D40BA918}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6473A2B1-441B-432D-B450-12B1D40BA918}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6473A2B1-441B-432D-B450-12B1D40BA918}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/circular-references/src/SeedApi/SeedApi.csproj b/seed/csharp-model/circular-references/src/SeedApi/SeedApi.csproj index a56f586f3c7..1f0abd20675 100644 --- a/seed/csharp-model/circular-references/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/circular-references/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/circular-references/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/code-samples/.github/workflows/ci.yml b/seed/csharp-model/code-samples/.github/workflows/ci.yml deleted file mode 100644 index 0ce8a0ff0f9..00000000000 --- a/seed/csharp-model/code-samples/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedCodeSamples/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-model/code-samples/.gitignore b/seed/csharp-model/code-samples/.gitignore deleted file mode 100644 index 5e57f18055d..00000000000 --- a/seed/csharp-model/code-samples/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from `dotnet new gitignore` - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-model/code-samples/.mock/definition/api.yml b/seed/csharp-model/code-samples/.mock/definition/api.yml deleted file mode 100644 index be7bbb0492a..00000000000 --- a/seed/csharp-model/code-samples/.mock/definition/api.yml +++ /dev/null @@ -1,3 +0,0 @@ -name: code-samples -error-discrimination: - strategy: status-code diff --git a/seed/csharp-model/code-samples/.mock/definition/service.yml b/seed/csharp-model/code-samples/.mock/definition/service.yml deleted file mode 100644 index a411feebe13..00000000000 --- a/seed/csharp-model/code-samples/.mock/definition/service.yml +++ /dev/null @@ -1,43 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json - -types: - MyResponse: - properties: - id: string - name: optional - -service: - auth: false - base-path: "" - endpoints: - hello: - path: /hello - method: POST - request: - name: MyRequest - body: - properties: - num_events: integer - response: - type: MyResponse - examples: - - request: - num_events: 5 - response: - body: - id: "123" - name: "hello" - code-samples: - - name: curl - sdk: curl - code: | - curl -X POST "http://localhost:8080/hello" - -H "Content-Type: application/json" - -d '{"num_events": 5}' - - name: python - sdk: python - code: | - import requests - response = requests.post("http://localhost:8080/hello", json={"num_events": 5}) - print(response.json()) - diff --git a/seed/csharp-model/code-samples/src/SeedCodeSamples.Test/SeedCodeSamples.Test.csproj b/seed/csharp-model/code-samples/src/SeedCodeSamples.Test/SeedCodeSamples.Test.csproj deleted file mode 100644 index f179bee1fb5..00000000000 --- a/seed/csharp-model/code-samples/src/SeedCodeSamples.Test/SeedCodeSamples.Test.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/CollectionItemSerializer.cs b/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/CollectionItemSerializer.cs deleted file mode 100644 index a77d719d4b4..00000000000 --- a/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedCodeSamples.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/OneOfSerializer.cs b/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/OneOfSerializer.cs deleted file mode 100644 index a0630c35dff..00000000000 --- a/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedCodeSamples.Core; - -internal class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/StringEnumSerializer.cs b/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/StringEnumSerializer.cs deleted file mode 100644 index 009bead6998..00000000000 --- a/seed/csharp-model/code-samples/src/SeedCodeSamples/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedCodeSamples.Core; - -internal class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-model/code-samples/src/SeedCodeSamples/SeedCodeSamples.csproj b/seed/csharp-model/code-samples/src/SeedCodeSamples/SeedCodeSamples.csproj deleted file mode 100644 index 84e1ad38e07..00000000000 --- a/seed/csharp-model/code-samples/src/SeedCodeSamples/SeedCodeSamples.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/code-samples/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - <_Parameter1>SeedCodeSamples.Test - - - - diff --git a/seed/csharp-model/code-samples/src/SeedCodeSamples/Service/MyResponse.cs b/seed/csharp-model/code-samples/src/SeedCodeSamples/Service/MyResponse.cs deleted file mode 100644 index 17459c4b45a..00000000000 --- a/seed/csharp-model/code-samples/src/SeedCodeSamples/Service/MyResponse.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedCodeSamples; - -public record MyResponse -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("name")] - public string? Name { get; set; } -} diff --git a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs index eaadc6b488c..28e1c388aef 100644 --- a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj index 137c57edfd9..7b7fe7b3690 100644 --- a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj +++ b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln new file mode 100644 index 00000000000..7512c5ea33e --- /dev/null +++ b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames", "SeedCrossPackageTypeNames\SeedCrossPackageTypeNames.csproj", "{DB95B7E4-79BA-4A96-BBA2-8EDFBF327481}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames.Test", "SeedCrossPackageTypeNames.Test\SeedCrossPackageTypeNames.Test.csproj", "{4AEC202A-A8F0-4EEF-9F97-AE7E63C29EE4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DB95B7E4-79BA-4A96-BBA2-8EDFBF327481}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DB95B7E4-79BA-4A96-BBA2-8EDFBF327481}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DB95B7E4-79BA-4A96-BBA2-8EDFBF327481}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DB95B7E4-79BA-4A96-BBA2-8EDFBF327481}.Release|Any CPU.Build.0 = Release|Any CPU + {4AEC202A-A8F0-4EEF-9F97-AE7E63C29EE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4AEC202A-A8F0-4EEF-9F97-AE7E63C29EE4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4AEC202A-A8F0-4EEF-9F97-AE7E63C29EE4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4AEC202A-A8F0-4EEF-9F97-AE7E63C29EE4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj index 8f2ef56e991..05c930a2105 100644 --- a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj +++ b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/cross-package-type-names/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln new file mode 100644 index 00000000000..ef597e4e1bb --- /dev/null +++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{F03ED4DA-60C7-430E-B3B2-D0CDFE36EF52}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{89FF37C3-DAB2-4C4E-BF62-311189D9AA5C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F03ED4DA-60C7-430E-B3B2-D0CDFE36EF52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F03ED4DA-60C7-430E-B3B2-D0CDFE36EF52}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F03ED4DA-60C7-430E-B3B2-D0CDFE36EF52}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F03ED4DA-60C7-430E-B3B2-D0CDFE36EF52}.Release|Any CPU.Build.0 = Release|Any CPU + {89FF37C3-DAB2-4C4E-BF62-311189D9AA5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {89FF37C3-DAB2-4C4E-BF62-311189D9AA5C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {89FF37C3-DAB2-4C4E-BF62-311189D9AA5C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {89FF37C3-DAB2-4C4E-BF62-311189D9AA5C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj index d1e83db655b..27e8ffa242d 100644 --- a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/csharp-grpc-proto-exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln new file mode 100644 index 00000000000..7bd98676088 --- /dev/null +++ b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{8F2C2F42-05D5-40BA-A8A7-82E24E94A911}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{1C1C5DC1-BC98-4873-B8BD-FB418DA63637}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8F2C2F42-05D5-40BA-A8A7-82E24E94A911}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8F2C2F42-05D5-40BA-A8A7-82E24E94A911}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8F2C2F42-05D5-40BA-A8A7-82E24E94A911}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8F2C2F42-05D5-40BA-A8A7-82E24E94A911}.Release|Any CPU.Build.0 = Release|Any CPU + {1C1C5DC1-BC98-4873-B8BD-FB418DA63637}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1C1C5DC1-BC98-4873-B8BD-FB418DA63637}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1C1C5DC1-BC98-4873-B8BD-FB418DA63637}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1C1C5DC1-BC98-4873-B8BD-FB418DA63637}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/csharp-grpc-proto/src/SeedApi/SeedApi.csproj b/seed/csharp-model/csharp-grpc-proto/src/SeedApi/SeedApi.csproj index 8fc89259558..9ee3df12ef3 100644 --- a/seed/csharp-model/csharp-grpc-proto/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/csharp-grpc-proto/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/csharp-grpc-proto/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs index 4cff59e7004..dfbfba5f6c5 100644 --- a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj index 1b69fae24ba..653ea9acc8e 100644 --- a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj +++ b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln new file mode 100644 index 00000000000..4526847c798 --- /dev/null +++ b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict", "SeedCsharpNamespaceConflict\SeedCsharpNamespaceConflict.csproj", "{B79436C7-85E8-4098-BF51-D3E827F3D7BE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict.Test", "SeedCsharpNamespaceConflict.Test\SeedCsharpNamespaceConflict.Test.csproj", "{4C502227-0B6F-43B2-B1EF-6DE9BCC887D2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B79436C7-85E8-4098-BF51-D3E827F3D7BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B79436C7-85E8-4098-BF51-D3E827F3D7BE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B79436C7-85E8-4098-BF51-D3E827F3D7BE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B79436C7-85E8-4098-BF51-D3E827F3D7BE}.Release|Any CPU.Build.0 = Release|Any CPU + {4C502227-0B6F-43B2-B1EF-6DE9BCC887D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4C502227-0B6F-43B2-B1EF-6DE9BCC887D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4C502227-0B6F-43B2-B1EF-6DE9BCC887D2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4C502227-0B6F-43B2-B1EF-6DE9BCC887D2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj index 501a86ce67e..3cbc7fffdb3 100644 --- a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj +++ b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/csharp-namespace-conflict/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs index f33b6d6036b..4cc169e0b1e 100644 --- a/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj b/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj index 276ad5d69f6..1138d192410 100644 --- a/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj +++ b/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln b/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln new file mode 100644 index 00000000000..30b1770fe4c --- /dev/null +++ b/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth", "SeedCustomAuth\SeedCustomAuth.csproj", "{A8A1A492-51CF-476E-B512-2EA227FA751E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth.Test", "SeedCustomAuth.Test\SeedCustomAuth.Test.csproj", "{8171DCD7-E211-4153-BDD8-6BE9AB0AF4B0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A8A1A492-51CF-476E-B512-2EA227FA751E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A8A1A492-51CF-476E-B512-2EA227FA751E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A8A1A492-51CF-476E-B512-2EA227FA751E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A8A1A492-51CF-476E-B512-2EA227FA751E}.Release|Any CPU.Build.0 = Release|Any CPU + {8171DCD7-E211-4153-BDD8-6BE9AB0AF4B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8171DCD7-E211-4153-BDD8-6BE9AB0AF4B0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8171DCD7-E211-4153-BDD8-6BE9AB0AF4B0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8171DCD7-E211-4153-BDD8-6BE9AB0AF4B0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj b/seed/csharp-model/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj index 5ccc5ff3b27..73fe9306405 100644 --- a/seed/csharp-model/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj +++ b/seed/csharp-model/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/custom-auth/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/enum/.github/workflows/ci.yml b/seed/csharp-model/enum/.github/workflows/ci.yml deleted file mode 100644 index 93b0b62c5cb..00000000000 --- a/seed/csharp-model/enum/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedEnum/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-model/enum/.gitignore b/seed/csharp-model/enum/.gitignore deleted file mode 100644 index 11014f2b33d..00000000000 --- a/seed/csharp-model/enum/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -## This is based on `dotnet new gitignore` and customized by Fern - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -# [Rr]elease/ (Ignored by Fern) -# [Rr]eleases/ (Ignored by Fern) -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -# [Ll]og/ (Ignored by Fern) -# [Ll]ogs/ (Ignored by Fern) - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-model/enum/.mock/definition/__package__.yml b/seed/csharp-model/enum/.mock/definition/__package__.yml deleted file mode 100644 index a72e076f94d..00000000000 --- a/seed/csharp-model/enum/.mock/definition/__package__.yml +++ /dev/null @@ -1,38 +0,0 @@ -types: - Operand: - docs: | - Tests enum name and value can be - different. - enum: - - value: ">" - name: GREATER_THAN - - value: "=" - name: EQUAL_TO - - value: "less_than" - docs: | - The name and value should be similar - are similar for less than. - examples: - - name: GreaterThan - value: ">" - - name: LessThan - value: "less_than" - - Color: - enum: - - value: "red" - name: RED - - value: "blue" - name: BLUE - examples: - - name: Red - value: "red" - - ColorOrOperand: - discriminated: false - union: - - Color - - Operand - examples: - - name: Red - value: "red" diff --git a/seed/csharp-model/enum/.mock/definition/api.yml b/seed/csharp-model/enum/.mock/definition/api.yml deleted file mode 100644 index 3e2ce7d17a8..00000000000 --- a/seed/csharp-model/enum/.mock/definition/api.yml +++ /dev/null @@ -1 +0,0 @@ -name: enum diff --git a/seed/csharp-model/enum/.mock/definition/inlined-request.yml b/seed/csharp-model/enum/.mock/definition/inlined-request.yml deleted file mode 100644 index f17deabdaaf..00000000000 --- a/seed/csharp-model/enum/.mock/definition/inlined-request.yml +++ /dev/null @@ -1,24 +0,0 @@ -imports: - root: __package__.yml - -service: - auth: false - base-path: "" - endpoints: - send: - path: /inlined - method: POST - request: - name: SendEnumInlinedRequest - body: - properties: - operand: - type: root.Operand - maybeOperand: optional - operandOrColor: root.ColorOrOperand - maybeOperandOrColor: optional - examples: - - request: - operand: $root.Operand.GreaterThan - operandOrColor: $root.ColorOrOperand.Red - \ No newline at end of file diff --git a/seed/csharp-model/enum/.mock/definition/path-param.yml b/seed/csharp-model/enum/.mock/definition/path-param.yml deleted file mode 100644 index 5afc7329f1e..00000000000 --- a/seed/csharp-model/enum/.mock/definition/path-param.yml +++ /dev/null @@ -1,17 +0,0 @@ -imports: - root: __package__.yml - -service: - auth: false - base-path: "" - endpoints: - send: - path: /path/{operand}/{operandOrColor} - method: POST - path-parameters: - operand: root.Operand - operandOrColor: root.ColorOrOperand - examples: - - path-parameters: - operand: $root.Operand.GreaterThan - operandOrColor: $root.ColorOrOperand.Red diff --git a/seed/csharp-model/enum/.mock/definition/query-param.yml b/seed/csharp-model/enum/.mock/definition/query-param.yml deleted file mode 100644 index 2b3724eba7e..00000000000 --- a/seed/csharp-model/enum/.mock/definition/query-param.yml +++ /dev/null @@ -1,40 +0,0 @@ -imports: - root: __package__.yml - -service: - auth: false - base-path: "" - endpoints: - send: - path: /query - method: POST - request: - name: SendEnumAsQueryParamRequest - query-parameters: - operand: root.Operand - maybeOperand: optional - operandOrColor: root.ColorOrOperand - maybeOperandOrColor: optional - examples: - - query-parameters: - operand: $root.Operand.GreaterThan - operandOrColor: $root.ColorOrOperand.Red - - sendList: - path: /query-list - method: POST - request: - name: SendEnumListAsQueryParamRequest - query-parameters: - operand: - type: root.Operand - allow-multiple: true - maybeOperand: - type: optional - allow-multiple: true - operandOrColor: - type: root.ColorOrOperand - allow-multiple: true - maybeOperandOrColor: - type: optional - allow-multiple: true diff --git a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs index e5fdf24fe97..7bfa7756e3e 100644 --- a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs +++ b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs @@ -49,7 +49,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2)); @@ -62,7 +62,7 @@ public void ShouldSerializeUnknownEnum() new DummyObject { EnumProperty = UnknownEnumValue }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(UnknownEnumValue)); diff --git a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj index 73fdda15ae5..d6faf892575 100644 --- a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj +++ b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln new file mode 100644 index 00000000000..4d958bf1684 --- /dev/null +++ b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{7A600D8C-6EBF-47E5-932E-EF3F9F48C302}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{13A330C0-7643-4306-8EE1-54EE6C9D608B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7A600D8C-6EBF-47E5-932E-EF3F9F48C302}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A600D8C-6EBF-47E5-932E-EF3F9F48C302}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A600D8C-6EBF-47E5-932E-EF3F9F48C302}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A600D8C-6EBF-47E5-932E-EF3F9F48C302}.Release|Any CPU.Build.0 = Release|Any CPU + {13A330C0-7643-4306-8EE1-54EE6C9D608B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {13A330C0-7643-4306-8EE1-54EE6C9D608B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {13A330C0-7643-4306-8EE1-54EE6C9D608B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {13A330C0-7643-4306-8EE1-54EE6C9D608B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj index 1ac5726bfa8..a29863a52f4 100644 --- a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj +++ b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/enum/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs index 3128d125c3c..3df258e0757 100644 --- a/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj index 73fdda15ae5..d6faf892575 100644 --- a/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj +++ b/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln b/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln new file mode 100644 index 00000000000..830595dd999 --- /dev/null +++ b/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{906EABCA-3B56-4141-B503-A95BCB165EEF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{04720996-7465-45FE-968E-104AFB5D92EF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {906EABCA-3B56-4141-B503-A95BCB165EEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {906EABCA-3B56-4141-B503-A95BCB165EEF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {906EABCA-3B56-4141-B503-A95BCB165EEF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {906EABCA-3B56-4141-B503-A95BCB165EEF}.Release|Any CPU.Build.0 = Release|Any CPU + {04720996-7465-45FE-968E-104AFB5D92EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {04720996-7465-45FE-968E-104AFB5D92EF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {04720996-7465-45FE-968E-104AFB5D92EF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {04720996-7465-45FE-968E-104AFB5D92EF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/enum/plain-enums/src/SeedEnum/SeedEnum.csproj b/seed/csharp-model/enum/plain-enums/src/SeedEnum/SeedEnum.csproj index 1ac5726bfa8..a29863a52f4 100644 --- a/seed/csharp-model/enum/plain-enums/src/SeedEnum/SeedEnum.csproj +++ b/seed/csharp-model/enum/plain-enums/src/SeedEnum/SeedEnum.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/enum/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs index eddabd432bc..15f6b535439 100644 --- a/seed/csharp-model/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj b/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj index 13149bb05d8..0afa998e413 100644 --- a/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj +++ b/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/error-property/src/SeedErrorProperty.sln b/seed/csharp-model/error-property/src/SeedErrorProperty.sln new file mode 100644 index 00000000000..53e8cec7c2b --- /dev/null +++ b/seed/csharp-model/error-property/src/SeedErrorProperty.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty", "SeedErrorProperty\SeedErrorProperty.csproj", "{A72341A9-FFF3-4B5C-BB43-E588DE439F06}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty.Test", "SeedErrorProperty.Test\SeedErrorProperty.Test.csproj", "{182BE3BC-0967-4968-89B0-F29EB77038EC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A72341A9-FFF3-4B5C-BB43-E588DE439F06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A72341A9-FFF3-4B5C-BB43-E588DE439F06}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A72341A9-FFF3-4B5C-BB43-E588DE439F06}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A72341A9-FFF3-4B5C-BB43-E588DE439F06}.Release|Any CPU.Build.0 = Release|Any CPU + {182BE3BC-0967-4968-89B0-F29EB77038EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {182BE3BC-0967-4968-89B0-F29EB77038EC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {182BE3BC-0967-4968-89B0-F29EB77038EC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {182BE3BC-0967-4968-89B0-F29EB77038EC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj b/seed/csharp-model/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj index 343237f8e57..5904847a2c1 100644 --- a/seed/csharp-model/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj +++ b/seed/csharp-model/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/error-property/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/examples/src/SeedExamples.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/examples/src/SeedExamples.Test/Core/EnumSerializerTests.cs index 68963fdc852..054ee62a369 100644 --- a/seed/csharp-model/examples/src/SeedExamples.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/examples/src/SeedExamples.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj b/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj index 53949d76225..dbba8aeb890 100644 --- a/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj +++ b/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/examples/src/SeedExamples.sln b/seed/csharp-model/examples/src/SeedExamples.sln new file mode 100644 index 00000000000..f88e80b8d7f --- /dev/null +++ b/seed/csharp-model/examples/src/SeedExamples.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{8802792F-2130-48C9-90CC-1A0A5DC92CC6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{B7CF8A3A-EEBF-4C33-99D0-DF890B857F56}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8802792F-2130-48C9-90CC-1A0A5DC92CC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8802792F-2130-48C9-90CC-1A0A5DC92CC6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8802792F-2130-48C9-90CC-1A0A5DC92CC6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8802792F-2130-48C9-90CC-1A0A5DC92CC6}.Release|Any CPU.Build.0 = Release|Any CPU + {B7CF8A3A-EEBF-4C33-99D0-DF890B857F56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B7CF8A3A-EEBF-4C33-99D0-DF890B857F56}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B7CF8A3A-EEBF-4C33-99D0-DF890B857F56}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B7CF8A3A-EEBF-4C33-99D0-DF890B857F56}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/examples/src/SeedExamples/SeedExamples.csproj b/seed/csharp-model/examples/src/SeedExamples/SeedExamples.csproj index fea22d69c78..019799fa845 100644 --- a/seed/csharp-model/examples/src/SeedExamples/SeedExamples.csproj +++ b/seed/csharp-model/examples/src/SeedExamples/SeedExamples.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/examples/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs index a24f6e78ff6..5572de663e2 100644 --- a/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj index 6079b5642c6..cc628bfe61c 100644 --- a/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj +++ b/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/exhaustive/src/SeedExhaustive.sln b/seed/csharp-model/exhaustive/src/SeedExhaustive.sln new file mode 100644 index 00000000000..3183ea69af8 --- /dev/null +++ b/seed/csharp-model/exhaustive/src/SeedExhaustive.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{8290D65B-C1DF-4D82-8E42-459CFB6A51E3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{754AC8F3-6DA8-41FD-B7CD-2B46EE032E5D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8290D65B-C1DF-4D82-8E42-459CFB6A51E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8290D65B-C1DF-4D82-8E42-459CFB6A51E3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8290D65B-C1DF-4D82-8E42-459CFB6A51E3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8290D65B-C1DF-4D82-8E42-459CFB6A51E3}.Release|Any CPU.Build.0 = Release|Any CPU + {754AC8F3-6DA8-41FD-B7CD-2B46EE032E5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {754AC8F3-6DA8-41FD-B7CD-2B46EE032E5D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {754AC8F3-6DA8-41FD-B7CD-2B46EE032E5D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {754AC8F3-6DA8-41FD-B7CD-2B46EE032E5D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj b/seed/csharp-model/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj index 5c9a6517d3f..9a606e36c56 100644 --- a/seed/csharp-model/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj +++ b/seed/csharp-model/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs index b0c49d38916..6d9b555b690 100644 --- a/seed/csharp-model/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj b/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj index 205ec201666..b460424eab6 100644 --- a/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj +++ b/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/extends/src/SeedExtends.sln b/seed/csharp-model/extends/src/SeedExtends.sln new file mode 100644 index 00000000000..20a8b181c36 --- /dev/null +++ b/seed/csharp-model/extends/src/SeedExtends.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends", "SeedExtends\SeedExtends.csproj", "{796C437A-651B-47FC-959F-3E4A609E12AC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends.Test", "SeedExtends.Test\SeedExtends.Test.csproj", "{B4D309A3-0AA7-4EBD-BDD3-8268E5382B1C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {796C437A-651B-47FC-959F-3E4A609E12AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {796C437A-651B-47FC-959F-3E4A609E12AC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {796C437A-651B-47FC-959F-3E4A609E12AC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {796C437A-651B-47FC-959F-3E4A609E12AC}.Release|Any CPU.Build.0 = Release|Any CPU + {B4D309A3-0AA7-4EBD-BDD3-8268E5382B1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B4D309A3-0AA7-4EBD-BDD3-8268E5382B1C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B4D309A3-0AA7-4EBD-BDD3-8268E5382B1C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B4D309A3-0AA7-4EBD-BDD3-8268E5382B1C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/extends/src/SeedExtends/SeedExtends.csproj b/seed/csharp-model/extends/src/SeedExtends/SeedExtends.csproj index 7d332e1d634..51cd1db405a 100644 --- a/seed/csharp-model/extends/src/SeedExtends/SeedExtends.csproj +++ b/seed/csharp-model/extends/src/SeedExtends/SeedExtends.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/extends/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs index b0d546572c6..7c571946c86 100644 --- a/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj b/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj index 1339409021f..4b6eae5a36b 100644 --- a/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj +++ b/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln b/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln new file mode 100644 index 00000000000..d15a66cde38 --- /dev/null +++ b/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties", "SeedExtraProperties\SeedExtraProperties.csproj", "{0BEB86B9-53CC-400D-841E-4E79A548B8EE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties.Test", "SeedExtraProperties.Test\SeedExtraProperties.Test.csproj", "{F5577C1F-8BAB-45BB-BBBB-4AE177AAD49C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0BEB86B9-53CC-400D-841E-4E79A548B8EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0BEB86B9-53CC-400D-841E-4E79A548B8EE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0BEB86B9-53CC-400D-841E-4E79A548B8EE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0BEB86B9-53CC-400D-841E-4E79A548B8EE}.Release|Any CPU.Build.0 = Release|Any CPU + {F5577C1F-8BAB-45BB-BBBB-4AE177AAD49C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F5577C1F-8BAB-45BB-BBBB-4AE177AAD49C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F5577C1F-8BAB-45BB-BBBB-4AE177AAD49C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F5577C1F-8BAB-45BB-BBBB-4AE177AAD49C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj b/seed/csharp-model/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj index a45da639e5e..b085b4751cd 100644 --- a/seed/csharp-model/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj +++ b/seed/csharp-model/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/extra-properties/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs index c0a4997b9de..43ce3eef991 100644 --- a/seed/csharp-model/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj b/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj index 4ce7f332a68..92f414fcfb7 100644 --- a/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj +++ b/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/file-download/src/SeedFileDownload.sln b/seed/csharp-model/file-download/src/SeedFileDownload.sln new file mode 100644 index 00000000000..f783b272834 --- /dev/null +++ b/seed/csharp-model/file-download/src/SeedFileDownload.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload", "SeedFileDownload\SeedFileDownload.csproj", "{0D10A66D-D6BE-4391-B825-9E66DA614CBF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload.Test", "SeedFileDownload.Test\SeedFileDownload.Test.csproj", "{C2368B19-E8F1-4E86-9072-8DA0E57B12CF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0D10A66D-D6BE-4391-B825-9E66DA614CBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0D10A66D-D6BE-4391-B825-9E66DA614CBF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0D10A66D-D6BE-4391-B825-9E66DA614CBF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0D10A66D-D6BE-4391-B825-9E66DA614CBF}.Release|Any CPU.Build.0 = Release|Any CPU + {C2368B19-E8F1-4E86-9072-8DA0E57B12CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C2368B19-E8F1-4E86-9072-8DA0E57B12CF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C2368B19-E8F1-4E86-9072-8DA0E57B12CF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C2368B19-E8F1-4E86-9072-8DA0E57B12CF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/file-download/src/SeedFileDownload/SeedFileDownload.csproj b/seed/csharp-model/file-download/src/SeedFileDownload/SeedFileDownload.csproj index 18ebe40da16..5e7a5f0b9b3 100644 --- a/seed/csharp-model/file-download/src/SeedFileDownload/SeedFileDownload.csproj +++ b/seed/csharp-model/file-download/src/SeedFileDownload/SeedFileDownload.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/file-download/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs index 0ead8f79135..a97647b8b1b 100644 --- a/seed/csharp-model/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj b/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj index a11db87a960..e17786a850b 100644 --- a/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj +++ b/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/file-upload/src/SeedFileUpload.sln b/seed/csharp-model/file-upload/src/SeedFileUpload.sln new file mode 100644 index 00000000000..cf74ab6d371 --- /dev/null +++ b/seed/csharp-model/file-upload/src/SeedFileUpload.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload", "SeedFileUpload\SeedFileUpload.csproj", "{D6C8BE84-36F0-45E4-84BA-96CEC136A58A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload.Test", "SeedFileUpload.Test\SeedFileUpload.Test.csproj", "{1A9AEFF2-6017-4F17-B2E5-3EC2AB59961B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D6C8BE84-36F0-45E4-84BA-96CEC136A58A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D6C8BE84-36F0-45E4-84BA-96CEC136A58A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D6C8BE84-36F0-45E4-84BA-96CEC136A58A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D6C8BE84-36F0-45E4-84BA-96CEC136A58A}.Release|Any CPU.Build.0 = Release|Any CPU + {1A9AEFF2-6017-4F17-B2E5-3EC2AB59961B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1A9AEFF2-6017-4F17-B2E5-3EC2AB59961B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1A9AEFF2-6017-4F17-B2E5-3EC2AB59961B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1A9AEFF2-6017-4F17-B2E5-3EC2AB59961B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/file-upload/src/SeedFileUpload/SeedFileUpload.csproj b/seed/csharp-model/file-upload/src/SeedFileUpload/SeedFileUpload.csproj index ee9fbfc593c..c1d87b48256 100644 --- a/seed/csharp-model/file-upload/src/SeedFileUpload/SeedFileUpload.csproj +++ b/seed/csharp-model/file-upload/src/SeedFileUpload/SeedFileUpload.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/file-upload/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/folders/src/SeedApi.sln b/seed/csharp-model/folders/src/SeedApi.sln new file mode 100644 index 00000000000..e1341e5f200 --- /dev/null +++ b/seed/csharp-model/folders/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{887417B8-CF3D-472B-B457-2CBFAF4308B3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{C7BAD669-EA47-410A-B40A-403566780496}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {887417B8-CF3D-472B-B457-2CBFAF4308B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {887417B8-CF3D-472B-B457-2CBFAF4308B3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {887417B8-CF3D-472B-B457-2CBFAF4308B3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {887417B8-CF3D-472B-B457-2CBFAF4308B3}.Release|Any CPU.Build.0 = Release|Any CPU + {C7BAD669-EA47-410A-B40A-403566780496}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7BAD669-EA47-410A-B40A-403566780496}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7BAD669-EA47-410A-B40A-403566780496}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7BAD669-EA47-410A-B40A-403566780496}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/folders/src/SeedApi/SeedApi.csproj b/seed/csharp-model/folders/src/SeedApi/SeedApi.csproj index bba6a3d60b7..5c67ac4ddd0 100644 --- a/seed/csharp-model/folders/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/folders/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/folders/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml index c23323621f2..972ed6d7b73 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml +++ b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml @@ -1,7 +1,6 @@ api: - - path: openapi/openapi.yml - - proto: - root: proto - target: proto/data/v1/data.proto - overrides: overrides.yml - local-generation: true + - proto: + root: proto + target: proto/data/v1/data.proto + overrides: overrides.yml + local-generation: true \ No newline at end of file diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/openapi/openapi.yml b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/openapi/openapi.yml deleted file mode 100644 index ebc23143df3..00000000000 --- a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/.mock/openapi/openapi.yml +++ /dev/null @@ -1,33 +0,0 @@ -openapi: 3.0.3 -info: - title: Test API - version: 1.0.0 -servers: - - url: https://localhost -tags: - - name: dataservice -paths: - /foo: - post: - tag: dataservice - x-fern-sdk-group-name: - - dataservice - x-fern-sdk-method-name: foo - security: - - ApiKeyAuth: [] - operationId: foo - responses: - "200": - content: - application/json: - schema: - type: object - -security: - - ApiKeyAuth: [] -components: - securitySchemes: - ApiKeyAuth: - type: apiKey - in: header - name: X-API-Key diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.Custom.props b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.Custom.props similarity index 100% rename from seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.Custom.props rename to seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.Custom.props diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj index c5be29f92d9..8e6f53c1970 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,17 +10,24 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - + + \ No newline at end of file diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.sln b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.sln new file mode 100644 index 00000000000..4bac721d217 --- /dev/null +++ b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{A490779B-D220-4001-B5FF-63551C137576}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{33626308-EE08-40D0-8F5E-1D349EE7DB2A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A490779B-D220-4001-B5FF-63551C137576}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A490779B-D220-4001-B5FF-63551C137576}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A490779B-D220-4001-B5FF-63551C137576}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A490779B-D220-4001-B5FF-63551C137576}.Release|Any CPU.Build.0 = Release|Any CPU + {33626308-EE08-40D0-8F5E-1D349EE7DB2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {33626308-EE08-40D0-8F5E-1D349EE7DB2A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {33626308-EE08-40D0-8F5E-1D349EE7DB2A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {33626308-EE08-40D0-8F5E-1D349EE7DB2A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs index 13a05f5111f..6d871c6e820 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs +++ b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs @@ -3,19 +3,23 @@ namespace SeedApi.Core; -internal static class JsonOptions +internal static partial class JsonOptions { public static readonly JsonSerializerOptions JsonSerializerOptions; static JsonOptions() { - JsonSerializerOptions = new JsonSerializerOptions + var options = new JsonSerializerOptions { Converters = { new DateTimeSerializer(), new OneOfSerializer() }, WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, }; + ConfigureJsonSerializerOptions(options); + JsonSerializerOptions = options; } + + static partial void ConfigureJsonSerializerOptions(JsonSerializerOptions defaultOptions); } internal static class JsonUtils diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.Custom.props b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.Custom.props similarity index 100% rename from seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.Custom.props rename to seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.Custom.props diff --git a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj index e875ec8f800..cac753daf6d 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj @@ -4,37 +4,30 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 + $(Version) + $(Version) README.md https://github.com/grpc-proto-exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - - + + + + + @@ -68,4 +61,5 @@ + diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml index c23323621f2..972ed6d7b73 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml +++ b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml @@ -1,7 +1,6 @@ api: - - path: openapi/openapi.yml - - proto: - root: proto - target: proto/data/v1/data.proto - overrides: overrides.yml - local-generation: true + - proto: + root: proto + target: proto/data/v1/data.proto + overrides: overrides.yml + local-generation: true \ No newline at end of file diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/openapi/openapi.yml b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/openapi/openapi.yml deleted file mode 100644 index ebc23143df3..00000000000 --- a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/.mock/openapi/openapi.yml +++ /dev/null @@ -1,33 +0,0 @@ -openapi: 3.0.3 -info: - title: Test API - version: 1.0.0 -servers: - - url: https://localhost -tags: - - name: dataservice -paths: - /foo: - post: - tag: dataservice - x-fern-sdk-group-name: - - dataservice - x-fern-sdk-method-name: foo - security: - - ApiKeyAuth: [] - operationId: foo - responses: - "200": - content: - application/json: - schema: - type: object - -security: - - ApiKeyAuth: [] -components: - securitySchemes: - ApiKeyAuth: - type: apiKey - in: header - name: X-API-Key diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/SeedApi.Test.Custom.props b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.Custom.props similarity index 100% rename from seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/SeedApi.Test.Custom.props rename to seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.Custom.props diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj index c5be29f92d9..8e6f53c1970 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,17 +10,24 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - + + \ No newline at end of file diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.sln b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.sln new file mode 100644 index 00000000000..b2a3752ef47 --- /dev/null +++ b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{ED6C4CB1-1D71-43C1-A3F6-464D91AC3999}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{7A284A00-69B8-4F36-8DC1-67C34471D003}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ED6C4CB1-1D71-43C1-A3F6-464D91AC3999}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ED6C4CB1-1D71-43C1-A3F6-464D91AC3999}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ED6C4CB1-1D71-43C1-A3F6-464D91AC3999}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ED6C4CB1-1D71-43C1-A3F6-464D91AC3999}.Release|Any CPU.Build.0 = Release|Any CPU + {7A284A00-69B8-4F36-8DC1-67C34471D003}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A284A00-69B8-4F36-8DC1-67C34471D003}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A284A00-69B8-4F36-8DC1-67C34471D003}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A284A00-69B8-4F36-8DC1-67C34471D003}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs index 13a05f5111f..6d871c6e820 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs +++ b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs @@ -3,19 +3,23 @@ namespace SeedApi.Core; -internal static class JsonOptions +internal static partial class JsonOptions { public static readonly JsonSerializerOptions JsonSerializerOptions; static JsonOptions() { - JsonSerializerOptions = new JsonSerializerOptions + var options = new JsonSerializerOptions { Converters = { new DateTimeSerializer(), new OneOfSerializer() }, WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, }; + ConfigureJsonSerializerOptions(options); + JsonSerializerOptions = options; } + + static partial void ConfigureJsonSerializerOptions(JsonSerializerOptions defaultOptions); } internal static class JsonUtils diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApi.Custom.props b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.Custom.props similarity index 100% rename from seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApi.Custom.props rename to seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.Custom.props diff --git a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj index e875ec8f800..cac753daf6d 100644 --- a/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj @@ -4,37 +4,30 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 + $(Version) + $(Version) README.md https://github.com/grpc-proto-exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - - + + + + + @@ -68,4 +61,5 @@ + diff --git a/seed/csharp-model/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.Custom.props b/seed/csharp-model/grpc-proto/src/SeedApi.Test/SeedApi.Test.Custom.props similarity index 100% rename from seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.Custom.props rename to seed/csharp-model/grpc-proto/src/SeedApi.Test/SeedApi.Test.Custom.props diff --git a/seed/csharp-model/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj index c5be29f92d9..8e6f53c1970 100644 --- a/seed/csharp-model/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,17 +10,24 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - + + \ No newline at end of file diff --git a/seed/csharp-model/grpc-proto/src/SeedApi.sln b/seed/csharp-model/grpc-proto/src/SeedApi.sln new file mode 100644 index 00000000000..587af23b637 --- /dev/null +++ b/seed/csharp-model/grpc-proto/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{36D19F08-8445-4FC5-995B-37A70E028771}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{F90F8578-CE2B-4A1F-8E91-3DEDDBCEFF35}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {36D19F08-8445-4FC5-995B-37A70E028771}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {36D19F08-8445-4FC5-995B-37A70E028771}.Debug|Any CPU.Build.0 = Debug|Any CPU + {36D19F08-8445-4FC5-995B-37A70E028771}.Release|Any CPU.ActiveCfg = Release|Any CPU + {36D19F08-8445-4FC5-995B-37A70E028771}.Release|Any CPU.Build.0 = Release|Any CPU + {F90F8578-CE2B-4A1F-8E91-3DEDDBCEFF35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F90F8578-CE2B-4A1F-8E91-3DEDDBCEFF35}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F90F8578-CE2B-4A1F-8E91-3DEDDBCEFF35}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F90F8578-CE2B-4A1F-8E91-3DEDDBCEFF35}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-model/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs index 13a05f5111f..6d871c6e820 100644 --- a/seed/csharp-model/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs +++ b/seed/csharp-model/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs @@ -3,19 +3,23 @@ namespace SeedApi.Core; -internal static class JsonOptions +internal static partial class JsonOptions { public static readonly JsonSerializerOptions JsonSerializerOptions; static JsonOptions() { - JsonSerializerOptions = new JsonSerializerOptions + var options = new JsonSerializerOptions { Converters = { new DateTimeSerializer(), new OneOfSerializer() }, WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, }; + ConfigureJsonSerializerOptions(options); + JsonSerializerOptions = options; } + + static partial void ConfigureJsonSerializerOptions(JsonSerializerOptions defaultOptions); } internal static class JsonUtils diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.Custom.props b/seed/csharp-model/grpc-proto/src/SeedApi/SeedApi.Custom.props similarity index 100% rename from seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.Custom.props rename to seed/csharp-model/grpc-proto/src/SeedApi/SeedApi.Custom.props diff --git a/seed/csharp-model/grpc-proto/src/SeedApi/SeedApi.csproj b/seed/csharp-model/grpc-proto/src/SeedApi/SeedApi.csproj index 1cafc3fca56..dfb42e4a810 100644 --- a/seed/csharp-model/grpc-proto/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/grpc-proto/src/SeedApi/SeedApi.csproj @@ -4,37 +4,30 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 + $(Version) + $(Version) README.md https://github.com/grpc-proto/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - - + + + + + @@ -66,4 +59,5 @@ + diff --git a/seed/csharp-model/grpc/.github/workflows/ci.yml b/seed/csharp-model/grpc/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-model/grpc/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-model/grpc/.gitignore b/seed/csharp-model/grpc/.gitignore deleted file mode 100644 index 5e57f18055d..00000000000 --- a/seed/csharp-model/grpc/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from `dotnet new gitignore` - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-model/grpc/.mock/definition/api.yml b/seed/csharp-model/grpc/.mock/definition/api.yml deleted file mode 100644 index 15a9f823724..00000000000 --- a/seed/csharp-model/grpc/.mock/definition/api.yml +++ /dev/null @@ -1,4 +0,0 @@ -name: api - -error-discrimination: - strategy: status-code \ No newline at end of file diff --git a/seed/csharp-model/grpc/.mock/definition/user.yml b/seed/csharp-model/grpc/.mock/definition/user.yml deleted file mode 100644 index 80223300afc..00000000000 --- a/seed/csharp-model/grpc/.mock/definition/user.yml +++ /dev/null @@ -1,61 +0,0 @@ -types: - Metadata: - type: map> - encoding: - proto: - type: google.protobuf.Struct - - MetadataValue: - discriminated: false - union: - - double - - string - - boolean - - list - encoding: - proto: - type: google.protobuf.Value - - User: - properties: - id: string - username: string - email: optional - age: optional - weight: optional - metadata: optional - - CreateUserResponse: - properties: - user: User - -service: - auth: false - base-path: / - transport: - grpc: - service-name: UserService - endpoints: - createUser: - method: POST - path: /users - request: - name: CreateUserRequest - body: - properties: - username: string - email: optional - age: optional - weight: optional - response: CreateUserResponse - - getUser: - method: GET - path: /users - request: - name: GetUserRequest - query-parameters: - username: optional - age: optional - weight: optional - response: User diff --git a/seed/csharp-model/grpc/.mock/fern.config.json b/seed/csharp-model/grpc/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-model/grpc/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-model/grpc/.mock/generators.yml b/seed/csharp-model/grpc/.mock/generators.yml deleted file mode 100644 index 9e26dfeeb6e..00000000000 --- a/seed/csharp-model/grpc/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/seed/csharp-model/grpc/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/grpc/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index c5be29f92d9..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-model/grpc/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index af2c9adf7a7..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/Constants.cs b/seed/csharp-model/grpc/src/SeedApi/Core/Constants.cs deleted file mode 100644 index ccf4e963cc8..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedApi.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-model/grpc/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index a39de9c28d7..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-model/grpc/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 13a05f5111f..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer(), new OneOfSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-model/grpc/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index 24ee9268e48..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -internal class OneOfSerializer : JsonConverter -{ - public override IOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in GetOneOfTypes(typeToConvert)) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (IOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - public override void Write(Utf8JsonWriter writer, IOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes(System.Type typeToConvert) - { - var casts = typeToConvert - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeToConvert; - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{type} isn't OneOf or OneOfBase"); - } - - public override bool CanConvert(System.Type typeToConvert) - { - return typeof(IOneOf).IsAssignableFrom(typeToConvert); - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/Public/Version.cs b/seed/csharp-model/grpc/src/SeedApi/Core/Public/Version.cs deleted file mode 100644 index f430a1bf84c..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/Public/Version.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi; - -internal class Version -{ - public const string Current = "0.0.1"; -} diff --git a/seed/csharp-model/grpc/src/SeedApi/Core/StringEnumSerializer.cs b/seed/csharp-model/grpc/src/SeedApi/Core/StringEnumSerializer.cs deleted file mode 100644 index 5e064791aeb..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/SeedApi.csproj b/seed/csharp-model/grpc/src/SeedApi/SeedApi.csproj deleted file mode 100644 index 0ddf92937e5..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/grpc/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - <_Parameter1>SeedApi.Test - - - - diff --git a/seed/csharp-model/grpc/src/SeedApi/User/CreateUserResponse.cs b/seed/csharp-model/grpc/src/SeedApi/User/CreateUserResponse.cs deleted file mode 100644 index 26fb31dde58..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/User/CreateUserResponse.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public record CreateUserResponse -{ - [JsonPropertyName("user")] - public required User User { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/User/Metadata.cs b/seed/csharp-model/grpc/src/SeedApi/User/Metadata.cs deleted file mode 100644 index 2e16aa50b3f..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/User/Metadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class Metadata : Dictionary -{ - public Metadata() { } - - public Metadata(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Struct ToProto() - { - var result = new Proto.Struct(); - foreach (var kvp in this) - { - result.Fields[kvp.Key] = kvp.Value?.ToProto(); - } - return result; - } - - internal static Metadata FromProto(Proto.Struct value) - { - var result = new Metadata(); - foreach (var kvp in value.Fields) - { - result[kvp.Key] = kvp.Value != null ? MetadataValue.FromProto(kvp.Value) : null; - } - return result; - } -} diff --git a/seed/csharp-model/grpc/src/SeedApi/User/MetadataValue.cs b/seed/csharp-model/grpc/src/SeedApi/User/MetadataValue.cs deleted file mode 100644 index 2308676e891..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/User/MetadataValue.cs +++ /dev/null @@ -1,91 +0,0 @@ -using OneOf; -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class MetadataValue( - OneOf, Metadata> value -) : OneOfBase, Metadata>(value) -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Value ToProto() - { - return Match( - Proto.Value.ForString, - Proto.Value.ForNumber, - Proto.Value.ForBool, - list => new Proto.Value - { - ListValue = new Proto.ListValue - { - Values = { list.Select(item => item?.ToProto()) }, - }, - }, - nested => new Proto.Value { StructValue = nested.ToProto() } - ); - } - - internal static MetadataValue? FromProto(Proto.Value value) - { - return value.KindCase switch - { - Proto.Value.KindOneofCase.StringValue => value.StringValue, - Proto.Value.KindOneofCase.NumberValue => value.NumberValue, - Proto.Value.KindOneofCase.BoolValue => value.BoolValue, - Proto.Value.KindOneofCase.ListValue => value - .ListValue.Values.Select(FromProto) - .ToList(), - Proto.Value.KindOneofCase.StructValue => Metadata.FromProto(value.StructValue), - _ => null, - }; - } - - public static implicit operator MetadataValue(string value) => new(value); - - public static implicit operator MetadataValue(bool value) => new(value); - - public static implicit operator MetadataValue(double value) => new(value); - - public static implicit operator MetadataValue(Metadata value) => new(value); - - public static implicit operator MetadataValue(MetadataValue?[] value) => new(value); - - public static implicit operator MetadataValue(List value) => new(value); - - public static implicit operator MetadataValue(string[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(bool[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(bool?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); -} diff --git a/seed/csharp-model/grpc/src/SeedApi/User/User.cs b/seed/csharp-model/grpc/src/SeedApi/User/User.cs deleted file mode 100644 index 1f029dc332a..00000000000 --- a/seed/csharp-model/grpc/src/SeedApi/User/User.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public record User -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("username")] - public required string Username { get; set; } - - [JsonPropertyName("email")] - public string? Email { get; set; } - - [JsonPropertyName("age")] - public uint? Age { get; set; } - - [JsonPropertyName("weight")] - public float? Weight { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs index 28633fe4009..05021088ba4 100644 --- a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj index 7551abfc848..3178b30c679 100644 --- a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj +++ b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln new file mode 100644 index 00000000000..8b8336e476b --- /dev/null +++ b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders", "SeedIdempotencyHeaders\SeedIdempotencyHeaders.csproj", "{EDD4B1DD-7E3E-4CD2-AE06-FC9A9299699F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders.Test", "SeedIdempotencyHeaders.Test\SeedIdempotencyHeaders.Test.csproj", "{7182F5B5-5E87-443E-897B-166617723D09}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EDD4B1DD-7E3E-4CD2-AE06-FC9A9299699F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EDD4B1DD-7E3E-4CD2-AE06-FC9A9299699F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EDD4B1DD-7E3E-4CD2-AE06-FC9A9299699F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EDD4B1DD-7E3E-4CD2-AE06-FC9A9299699F}.Release|Any CPU.Build.0 = Release|Any CPU + {7182F5B5-5E87-443E-897B-166617723D09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7182F5B5-5E87-443E-897B-166617723D09}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7182F5B5-5E87-443E-897B-166617723D09}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7182F5B5-5E87-443E-897B-166617723D09}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj index 97673c7b847..976b0e40119 100644 --- a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj +++ b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/idempotency-headers/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/imdb/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/imdb/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/imdb/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/imdb/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/imdb/src/SeedApi.sln b/seed/csharp-model/imdb/src/SeedApi.sln new file mode 100644 index 00000000000..b746cbc72a3 --- /dev/null +++ b/seed/csharp-model/imdb/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{97FED7FD-DAB7-478F-A601-FF369059F085}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{8F8B75F6-78B9-4674-9757-05E82ECAA166}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {97FED7FD-DAB7-478F-A601-FF369059F085}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {97FED7FD-DAB7-478F-A601-FF369059F085}.Debug|Any CPU.Build.0 = Debug|Any CPU + {97FED7FD-DAB7-478F-A601-FF369059F085}.Release|Any CPU.ActiveCfg = Release|Any CPU + {97FED7FD-DAB7-478F-A601-FF369059F085}.Release|Any CPU.Build.0 = Release|Any CPU + {8F8B75F6-78B9-4674-9757-05E82ECAA166}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8F8B75F6-78B9-4674-9757-05E82ECAA166}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8F8B75F6-78B9-4674-9757-05E82ECAA166}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8F8B75F6-78B9-4674-9757-05E82ECAA166}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/imdb/src/SeedApi/SeedApi.csproj b/seed/csharp-model/imdb/src/SeedApi/SeedApi.csproj index 224033f2519..90554a2cd68 100644 --- a/seed/csharp-model/imdb/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/imdb/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/imdb/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/license/src/SeedLicense.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/license/src/SeedLicense.Test/Core/EnumSerializerTests.cs index fe53e0c1a87..95eb4f28c3e 100644 --- a/seed/csharp-model/license/src/SeedLicense.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/license/src/SeedLicense.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj b/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj index 57e8eb5c544..48c2149242c 100644 --- a/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj +++ b/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/license/src/SeedLicense.sln b/seed/csharp-model/license/src/SeedLicense.sln new file mode 100644 index 00000000000..40ff690b8c2 --- /dev/null +++ b/seed/csharp-model/license/src/SeedLicense.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{027F7EE8-5995-40D2-9707-A06BD0E8BAF3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{C7555417-16CE-46CD-8316-F800CED55989}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {027F7EE8-5995-40D2-9707-A06BD0E8BAF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {027F7EE8-5995-40D2-9707-A06BD0E8BAF3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {027F7EE8-5995-40D2-9707-A06BD0E8BAF3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {027F7EE8-5995-40D2-9707-A06BD0E8BAF3}.Release|Any CPU.Build.0 = Release|Any CPU + {C7555417-16CE-46CD-8316-F800CED55989}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7555417-16CE-46CD-8316-F800CED55989}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7555417-16CE-46CD-8316-F800CED55989}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7555417-16CE-46CD-8316-F800CED55989}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/license/src/SeedLicense/SeedLicense.csproj b/seed/csharp-model/license/src/SeedLicense/SeedLicense.csproj index 4616bc86443..7e636c9679a 100644 --- a/seed/csharp-model/license/src/SeedLicense/SeedLicense.csproj +++ b/seed/csharp-model/license/src/SeedLicense/SeedLicense.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/license/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs index b21cca4f34a..591b1211e15 100644 --- a/seed/csharp-model/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj b/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj index 49432778357..9acd0732fca 100644 --- a/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj +++ b/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/literal/src/SeedLiteral.sln b/seed/csharp-model/literal/src/SeedLiteral.sln new file mode 100644 index 00000000000..bc82e2666c4 --- /dev/null +++ b/seed/csharp-model/literal/src/SeedLiteral.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral", "SeedLiteral\SeedLiteral.csproj", "{F2EBACB3-23AC-4664-A84C-1179CD99CB05}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral.Test", "SeedLiteral.Test\SeedLiteral.Test.csproj", "{F0264521-0CBE-4C6D-A64E-4524A7371340}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F2EBACB3-23AC-4664-A84C-1179CD99CB05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F2EBACB3-23AC-4664-A84C-1179CD99CB05}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F2EBACB3-23AC-4664-A84C-1179CD99CB05}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F2EBACB3-23AC-4664-A84C-1179CD99CB05}.Release|Any CPU.Build.0 = Release|Any CPU + {F0264521-0CBE-4C6D-A64E-4524A7371340}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F0264521-0CBE-4C6D-A64E-4524A7371340}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F0264521-0CBE-4C6D-A64E-4524A7371340}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F0264521-0CBE-4C6D-A64E-4524A7371340}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/literal/src/SeedLiteral/SeedLiteral.csproj b/seed/csharp-model/literal/src/SeedLiteral/SeedLiteral.csproj index 141d55cc2c8..e6c802c1c76 100644 --- a/seed/csharp-model/literal/src/SeedLiteral/SeedLiteral.csproj +++ b/seed/csharp-model/literal/src/SeedLiteral/SeedLiteral.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/literal/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs index 934dd30b644..387a195f32b 100644 --- a/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj b/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj index d7864572ab5..0cd79747a61 100644 --- a/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj +++ b/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/mixed-case/src/SeedMixedCase.sln b/seed/csharp-model/mixed-case/src/SeedMixedCase.sln new file mode 100644 index 00000000000..6003b46c19b --- /dev/null +++ b/seed/csharp-model/mixed-case/src/SeedMixedCase.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase", "SeedMixedCase\SeedMixedCase.csproj", "{EF9C57B0-C332-43F9-AC7D-C7F3A96A9598}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase.Test", "SeedMixedCase.Test\SeedMixedCase.Test.csproj", "{1C99AB01-675E-47C8-819B-6975C8DD03F1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EF9C57B0-C332-43F9-AC7D-C7F3A96A9598}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EF9C57B0-C332-43F9-AC7D-C7F3A96A9598}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EF9C57B0-C332-43F9-AC7D-C7F3A96A9598}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EF9C57B0-C332-43F9-AC7D-C7F3A96A9598}.Release|Any CPU.Build.0 = Release|Any CPU + {1C99AB01-675E-47C8-819B-6975C8DD03F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1C99AB01-675E-47C8-819B-6975C8DD03F1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1C99AB01-675E-47C8-819B-6975C8DD03F1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1C99AB01-675E-47C8-819B-6975C8DD03F1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj b/seed/csharp-model/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj index c3e5ee90fa9..84372cf8dba 100644 --- a/seed/csharp-model/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj +++ b/seed/csharp-model/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/mixed-case/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs index 7dc7cb70d4e..e866b8cf17c 100644 --- a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj index 1c0353bdf23..e2d88fb3556 100644 --- a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj +++ b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln new file mode 100644 index 00000000000..1c730111ce3 --- /dev/null +++ b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory", "SeedMixedFileDirectory\SeedMixedFileDirectory.csproj", "{75D28B36-3760-42B8-96C9-8B7D30BE4B67}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory.Test", "SeedMixedFileDirectory.Test\SeedMixedFileDirectory.Test.csproj", "{F48891C5-E08F-4682-A3B9-E8225A5640D0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {75D28B36-3760-42B8-96C9-8B7D30BE4B67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {75D28B36-3760-42B8-96C9-8B7D30BE4B67}.Debug|Any CPU.Build.0 = Debug|Any CPU + {75D28B36-3760-42B8-96C9-8B7D30BE4B67}.Release|Any CPU.ActiveCfg = Release|Any CPU + {75D28B36-3760-42B8-96C9-8B7D30BE4B67}.Release|Any CPU.Build.0 = Release|Any CPU + {F48891C5-E08F-4682-A3B9-E8225A5640D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F48891C5-E08F-4682-A3B9-E8225A5640D0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F48891C5-E08F-4682-A3B9-E8225A5640D0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F48891C5-E08F-4682-A3B9-E8225A5640D0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj index a6156b7ee41..698257f0885 100644 --- a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj +++ b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/mixed-file-directory/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs index f3fcb923e6f..2bd23e45c15 100644 --- a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj index b32870f7d52..3c47b405159 100644 --- a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj +++ b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln new file mode 100644 index 00000000000..45b85c1859f --- /dev/null +++ b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs", "SeedMultiLineDocs\SeedMultiLineDocs.csproj", "{DF467DED-E27D-4BEB-85BE-8C5D436616ED}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs.Test", "SeedMultiLineDocs.Test\SeedMultiLineDocs.Test.csproj", "{334EEE09-3509-4F1F-97E7-F964533AD761}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF467DED-E27D-4BEB-85BE-8C5D436616ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF467DED-E27D-4BEB-85BE-8C5D436616ED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF467DED-E27D-4BEB-85BE-8C5D436616ED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF467DED-E27D-4BEB-85BE-8C5D436616ED}.Release|Any CPU.Build.0 = Release|Any CPU + {334EEE09-3509-4F1F-97E7-F964533AD761}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {334EEE09-3509-4F1F-97E7-F964533AD761}.Debug|Any CPU.Build.0 = Debug|Any CPU + {334EEE09-3509-4F1F-97E7-F964533AD761}.Release|Any CPU.ActiveCfg = Release|Any CPU + {334EEE09-3509-4F1F-97E7-F964533AD761}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj index 00a94e71b45..8a0ae16ffa3 100644 --- a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj +++ b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/multi-line-docs/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs index c83427a4f3c..77b2aa5e0f7 100644 --- a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj index e1b1a76e305..f2a46ae0ca2 100644 --- a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj +++ b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln new file mode 100644 index 00000000000..1a4639fbcf5 --- /dev/null +++ b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault", "SeedMultiUrlEnvironmentNoDefault\SeedMultiUrlEnvironmentNoDefault.csproj", "{FD949B7C-F3FC-4C05-BF65-BCD0D1CBB536}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault.Test", "SeedMultiUrlEnvironmentNoDefault.Test\SeedMultiUrlEnvironmentNoDefault.Test.csproj", "{A91DAA2C-950C-4126-9A2B-41AC1D546117}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FD949B7C-F3FC-4C05-BF65-BCD0D1CBB536}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD949B7C-F3FC-4C05-BF65-BCD0D1CBB536}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD949B7C-F3FC-4C05-BF65-BCD0D1CBB536}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD949B7C-F3FC-4C05-BF65-BCD0D1CBB536}.Release|Any CPU.Build.0 = Release|Any CPU + {A91DAA2C-950C-4126-9A2B-41AC1D546117}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A91DAA2C-950C-4126-9A2B-41AC1D546117}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A91DAA2C-950C-4126-9A2B-41AC1D546117}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A91DAA2C-950C-4126-9A2B-41AC1D546117}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj index 51eaaff5ec5..5d252eaba4d 100644 --- a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj +++ b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/multi-url-environment-no-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs index 97b730a1d15..776e5e0e276 100644 --- a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj index 5e0f767ca4e..7ae35da5d41 100644 --- a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj +++ b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln new file mode 100644 index 00000000000..61fa368000f --- /dev/null +++ b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment", "SeedMultiUrlEnvironment\SeedMultiUrlEnvironment.csproj", "{61E32210-5420-4F64-9CD2-E90ABCBB7A9A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment.Test", "SeedMultiUrlEnvironment.Test\SeedMultiUrlEnvironment.Test.csproj", "{8AA4FB5E-12D9-4A39-BDE8-5C5B264161D2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {61E32210-5420-4F64-9CD2-E90ABCBB7A9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {61E32210-5420-4F64-9CD2-E90ABCBB7A9A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {61E32210-5420-4F64-9CD2-E90ABCBB7A9A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {61E32210-5420-4F64-9CD2-E90ABCBB7A9A}.Release|Any CPU.Build.0 = Release|Any CPU + {8AA4FB5E-12D9-4A39-BDE8-5C5B264161D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8AA4FB5E-12D9-4A39-BDE8-5C5B264161D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8AA4FB5E-12D9-4A39-BDE8-5C5B264161D2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8AA4FB5E-12D9-4A39-BDE8-5C5B264161D2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj index 5a82626c6f2..ad2c91ed33b 100644 --- a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj +++ b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/multi-url-environment/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs index 910ac3d09d2..5639b53bf2e 100644 --- a/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj b/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj index f062ca0f8c3..9c5b00fd83a 100644 --- a/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj +++ b/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln b/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln new file mode 100644 index 00000000000..4b161797281 --- /dev/null +++ b/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment", "SeedNoEnvironment\SeedNoEnvironment.csproj", "{C329EBB7-F8BC-452F-AEC9-969D4B074A64}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment.Test", "SeedNoEnvironment.Test\SeedNoEnvironment.Test.csproj", "{E2928302-E975-48C6-A169-5AC6F1C34E99}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C329EBB7-F8BC-452F-AEC9-969D4B074A64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C329EBB7-F8BC-452F-AEC9-969D4B074A64}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C329EBB7-F8BC-452F-AEC9-969D4B074A64}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C329EBB7-F8BC-452F-AEC9-969D4B074A64}.Release|Any CPU.Build.0 = Release|Any CPU + {E2928302-E975-48C6-A169-5AC6F1C34E99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E2928302-E975-48C6-A169-5AC6F1C34E99}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E2928302-E975-48C6-A169-5AC6F1C34E99}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E2928302-E975-48C6-A169-5AC6F1C34E99}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj b/seed/csharp-model/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj index c0f7234b23d..219f885a821 100644 --- a/seed/csharp-model/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj +++ b/seed/csharp-model/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/no-environment/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs index c1d70b38a18..6b0e97c3b29 100644 --- a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj index 303d4fa579f..0b8603958fd 100644 --- a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj +++ b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln new file mode 100644 index 00000000000..b60dcae618f --- /dev/null +++ b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault", "SeedOauthClientCredentialsDefault\SeedOauthClientCredentialsDefault.csproj", "{AD585193-2F5A-4CCD-9F9A-440469D88BA1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault.Test", "SeedOauthClientCredentialsDefault.Test\SeedOauthClientCredentialsDefault.Test.csproj", "{78CDEF13-9261-45B7-B3A8-7A0014361A7A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AD585193-2F5A-4CCD-9F9A-440469D88BA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AD585193-2F5A-4CCD-9F9A-440469D88BA1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AD585193-2F5A-4CCD-9F9A-440469D88BA1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AD585193-2F5A-4CCD-9F9A-440469D88BA1}.Release|Any CPU.Build.0 = Release|Any CPU + {78CDEF13-9261-45B7-B3A8-7A0014361A7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78CDEF13-9261-45B7-B3A8-7A0014361A7A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78CDEF13-9261-45B7-B3A8-7A0014361A7A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {78CDEF13-9261-45B7-B3A8-7A0014361A7A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj index 5aedc8325d3..29092628378 100644 --- a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj +++ b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs index 10745c93e49..fadd40343c1 100644 --- a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj index 337ff7f37fe..8b98b4fafd6 100644 --- a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj +++ b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln new file mode 100644 index 00000000000..449f5830c92 --- /dev/null +++ b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables", "SeedOauthClientCredentialsEnvironmentVariables\SeedOauthClientCredentialsEnvironmentVariables.csproj", "{23E009FB-CE14-40A3-8EBD-555963B583E0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables.Test", "SeedOauthClientCredentialsEnvironmentVariables.Test\SeedOauthClientCredentialsEnvironmentVariables.Test.csproj", "{963828BB-9D8B-4FB4-AE26-C25AE39E004F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {23E009FB-CE14-40A3-8EBD-555963B583E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {23E009FB-CE14-40A3-8EBD-555963B583E0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {23E009FB-CE14-40A3-8EBD-555963B583E0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {23E009FB-CE14-40A3-8EBD-555963B583E0}.Release|Any CPU.Build.0 = Release|Any CPU + {963828BB-9D8B-4FB4-AE26-C25AE39E004F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {963828BB-9D8B-4FB4-AE26-C25AE39E004F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {963828BB-9D8B-4FB4-AE26-C25AE39E004F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {963828BB-9D8B-4FB4-AE26-C25AE39E004F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj index 4591edfdd17..99933463ed0 100644 --- a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj +++ b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials-environment-variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs index c00bdefe55d..6f72130b8d7 100644 --- a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj index d1a720a2e07..fd48c7fec2f 100644 --- a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj +++ b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln new file mode 100644 index 00000000000..d96b7241557 --- /dev/null +++ b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{BB62F643-D69E-4C5B-BF77-2E08B929758A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{8CBD6BB4-23C9-4F5A-B779-0E95B735ECF0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BB62F643-D69E-4C5B-BF77-2E08B929758A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BB62F643-D69E-4C5B-BF77-2E08B929758A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BB62F643-D69E-4C5B-BF77-2E08B929758A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BB62F643-D69E-4C5B-BF77-2E08B929758A}.Release|Any CPU.Build.0 = Release|Any CPU + {8CBD6BB4-23C9-4F5A-B779-0E95B735ECF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8CBD6BB4-23C9-4F5A-B779-0E95B735ECF0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8CBD6BB4-23C9-4F5A-B779-0E95B735ECF0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8CBD6BB4-23C9-4F5A-B779-0E95B735ECF0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj index c554e2d176e..f563a99a064 100644 --- a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj +++ b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials-nested-root/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs index c00bdefe55d..6f72130b8d7 100644 --- a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj index d1a720a2e07..fd48c7fec2f 100644 --- a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj +++ b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln new file mode 100644 index 00000000000..7b5ab5f932c --- /dev/null +++ b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{204A7B3C-1D78-44FD-A9B9-950B50A76617}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{D289AACF-F82F-4068-B963-779BDE0ACA03}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {204A7B3C-1D78-44FD-A9B9-950B50A76617}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {204A7B3C-1D78-44FD-A9B9-950B50A76617}.Debug|Any CPU.Build.0 = Debug|Any CPU + {204A7B3C-1D78-44FD-A9B9-950B50A76617}.Release|Any CPU.ActiveCfg = Release|Any CPU + {204A7B3C-1D78-44FD-A9B9-950B50A76617}.Release|Any CPU.Build.0 = Release|Any CPU + {D289AACF-F82F-4068-B963-779BDE0ACA03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D289AACF-F82F-4068-B963-779BDE0ACA03}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D289AACF-F82F-4068-B963-779BDE0ACA03}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D289AACF-F82F-4068-B963-779BDE0ACA03}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj index b53e47a4b60..e76fccfd20c 100644 --- a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj +++ b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/object/src/SeedObject.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/object/src/SeedObject.Test/Core/EnumSerializerTests.cs index c1c31795ba1..8abc0743d8c 100644 --- a/seed/csharp-model/object/src/SeedObject.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/object/src/SeedObject.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj b/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj index e3e7176141c..be19774f42e 100644 --- a/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj +++ b/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/object/src/SeedObject.sln b/seed/csharp-model/object/src/SeedObject.sln new file mode 100644 index 00000000000..90c27ae4ae5 --- /dev/null +++ b/seed/csharp-model/object/src/SeedObject.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject", "SeedObject\SeedObject.csproj", "{49CD2CCB-3825-418C-B179-931D4A875AA3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject.Test", "SeedObject.Test\SeedObject.Test.csproj", "{6EF92307-31BC-4358-B513-BBF6F87170B2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49CD2CCB-3825-418C-B179-931D4A875AA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49CD2CCB-3825-418C-B179-931D4A875AA3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49CD2CCB-3825-418C-B179-931D4A875AA3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49CD2CCB-3825-418C-B179-931D4A875AA3}.Release|Any CPU.Build.0 = Release|Any CPU + {6EF92307-31BC-4358-B513-BBF6F87170B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6EF92307-31BC-4358-B513-BBF6F87170B2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6EF92307-31BC-4358-B513-BBF6F87170B2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6EF92307-31BC-4358-B513-BBF6F87170B2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/object/src/SeedObject/SeedObject.csproj b/seed/csharp-model/object/src/SeedObject/SeedObject.csproj index 8b4e5f67380..7acf4369921 100644 --- a/seed/csharp-model/object/src/SeedObject/SeedObject.csproj +++ b/seed/csharp-model/object/src/SeedObject/SeedObject.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/object/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs index d3067ec2908..9f7eee6cff1 100644 --- a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj index 451fdd3df70..db71b5887ed 100644 --- a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj +++ b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln new file mode 100644 index 00000000000..bef40ee9626 --- /dev/null +++ b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{60ED0D9C-4E85-4CD0-826E-3CB42BF61A11}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{8AB8BEF6-1120-4912-BDD2-A6351D6C854F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {60ED0D9C-4E85-4CD0-826E-3CB42BF61A11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {60ED0D9C-4E85-4CD0-826E-3CB42BF61A11}.Debug|Any CPU.Build.0 = Debug|Any CPU + {60ED0D9C-4E85-4CD0-826E-3CB42BF61A11}.Release|Any CPU.ActiveCfg = Release|Any CPU + {60ED0D9C-4E85-4CD0-826E-3CB42BF61A11}.Release|Any CPU.Build.0 = Release|Any CPU + {8AB8BEF6-1120-4912-BDD2-A6351D6C854F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8AB8BEF6-1120-4912-BDD2-A6351D6C854F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8AB8BEF6-1120-4912-BDD2-A6351D6C854F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8AB8BEF6-1120-4912-BDD2-A6351D6C854F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj index 02e37113366..2bf274f3cda 100644 --- a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj +++ b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/objects-with-imports/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs index d3067ec2908..9f7eee6cff1 100644 --- a/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj index 451fdd3df70..db71b5887ed 100644 --- a/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj +++ b/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/optional/src/SeedObjectsWithImports.sln b/seed/csharp-model/optional/src/SeedObjectsWithImports.sln new file mode 100644 index 00000000000..84ac1a28c8f --- /dev/null +++ b/seed/csharp-model/optional/src/SeedObjectsWithImports.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{88C22561-168E-43EC-B05A-C00AE2C1A58E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{363627F3-9BEE-4B74-98AA-EEE0FC31AEA1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {88C22561-168E-43EC-B05A-C00AE2C1A58E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {88C22561-168E-43EC-B05A-C00AE2C1A58E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {88C22561-168E-43EC-B05A-C00AE2C1A58E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {88C22561-168E-43EC-B05A-C00AE2C1A58E}.Release|Any CPU.Build.0 = Release|Any CPU + {363627F3-9BEE-4B74-98AA-EEE0FC31AEA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {363627F3-9BEE-4B74-98AA-EEE0FC31AEA1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {363627F3-9BEE-4B74-98AA-EEE0FC31AEA1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {363627F3-9BEE-4B74-98AA-EEE0FC31AEA1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj b/seed/csharp-model/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj index d47a80b4c0f..891f296d8c4 100644 --- a/seed/csharp-model/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj +++ b/seed/csharp-model/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/optional/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs index 9ba79d17324..46aba9a0a50 100644 --- a/seed/csharp-model/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj b/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj index f3b0434d07c..81c7d862247 100644 --- a/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj +++ b/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/package-yml/src/SeedPackageYml.sln b/seed/csharp-model/package-yml/src/SeedPackageYml.sln new file mode 100644 index 00000000000..a057ef015e9 --- /dev/null +++ b/seed/csharp-model/package-yml/src/SeedPackageYml.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml", "SeedPackageYml\SeedPackageYml.csproj", "{27582F09-5074-4E94-99A5-3657B662181B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml.Test", "SeedPackageYml.Test\SeedPackageYml.Test.csproj", "{AE2E86EC-2222-4804-A337-BD9C89AEBFBF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {27582F09-5074-4E94-99A5-3657B662181B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {27582F09-5074-4E94-99A5-3657B662181B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {27582F09-5074-4E94-99A5-3657B662181B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {27582F09-5074-4E94-99A5-3657B662181B}.Release|Any CPU.Build.0 = Release|Any CPU + {AE2E86EC-2222-4804-A337-BD9C89AEBFBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AE2E86EC-2222-4804-A337-BD9C89AEBFBF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AE2E86EC-2222-4804-A337-BD9C89AEBFBF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AE2E86EC-2222-4804-A337-BD9C89AEBFBF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/package-yml/src/SeedPackageYml/SeedPackageYml.csproj b/seed/csharp-model/package-yml/src/SeedPackageYml/SeedPackageYml.csproj index 973121988bd..03aa56ded86 100644 --- a/seed/csharp-model/package-yml/src/SeedPackageYml/SeedPackageYml.csproj +++ b/seed/csharp-model/package-yml/src/SeedPackageYml/SeedPackageYml.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/package-yml/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs index 127558e58f1..fc7094754e6 100644 --- a/seed/csharp-model/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj b/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj index 97679294a55..aac18528c02 100644 --- a/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj +++ b/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/pagination/src/SeedPagination.sln b/seed/csharp-model/pagination/src/SeedPagination.sln new file mode 100644 index 00000000000..4cc6765b093 --- /dev/null +++ b/seed/csharp-model/pagination/src/SeedPagination.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination", "SeedPagination\SeedPagination.csproj", "{ACB71095-16EC-4068-8E20-C3B02828743C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination.Test", "SeedPagination.Test\SeedPagination.Test.csproj", "{9600418C-8E01-48F1-BFAE-BF8AD6D3F5E7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ACB71095-16EC-4068-8E20-C3B02828743C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ACB71095-16EC-4068-8E20-C3B02828743C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ACB71095-16EC-4068-8E20-C3B02828743C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ACB71095-16EC-4068-8E20-C3B02828743C}.Release|Any CPU.Build.0 = Release|Any CPU + {9600418C-8E01-48F1-BFAE-BF8AD6D3F5E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9600418C-8E01-48F1-BFAE-BF8AD6D3F5E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9600418C-8E01-48F1-BFAE-BF8AD6D3F5E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9600418C-8E01-48F1-BFAE-BF8AD6D3F5E7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/pagination/src/SeedPagination/SeedPagination.csproj b/seed/csharp-model/pagination/src/SeedPagination/SeedPagination.csproj index ad764365cd6..5bc342bb1d1 100644 --- a/seed/csharp-model/pagination/src/SeedPagination/SeedPagination.csproj +++ b/seed/csharp-model/pagination/src/SeedPagination/SeedPagination.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/pagination/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs index 548110aa63e..afe1d6dfb4f 100644 --- a/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj b/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj index 26100094aee..5f3889c6202 100644 --- a/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj +++ b/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/path-parameters/src/SeedPathParameters.sln b/seed/csharp-model/path-parameters/src/SeedPathParameters.sln new file mode 100644 index 00000000000..e7dd36a5cc0 --- /dev/null +++ b/seed/csharp-model/path-parameters/src/SeedPathParameters.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters", "SeedPathParameters\SeedPathParameters.csproj", "{BF7589AA-EAD3-4F96-B33B-894AD9DA7B4B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters.Test", "SeedPathParameters.Test\SeedPathParameters.Test.csproj", "{E2DC7E61-FF53-46D5-B4A9-7639DCD4853E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BF7589AA-EAD3-4F96-B33B-894AD9DA7B4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BF7589AA-EAD3-4F96-B33B-894AD9DA7B4B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BF7589AA-EAD3-4F96-B33B-894AD9DA7B4B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BF7589AA-EAD3-4F96-B33B-894AD9DA7B4B}.Release|Any CPU.Build.0 = Release|Any CPU + {E2DC7E61-FF53-46D5-B4A9-7639DCD4853E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E2DC7E61-FF53-46D5-B4A9-7639DCD4853E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E2DC7E61-FF53-46D5-B4A9-7639DCD4853E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E2DC7E61-FF53-46D5-B4A9-7639DCD4853E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj b/seed/csharp-model/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj index ec82eb5bc3f..50da7ef91ee 100644 --- a/seed/csharp-model/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj +++ b/seed/csharp-model/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/path-parameters/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs index 8978fc9675f..cd1c4c71035 100644 --- a/seed/csharp-model/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj b/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj index 0b8d3c5cf48..3b02ac9f932 100644 --- a/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj +++ b/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/plain-text/src/SeedPlainText.sln b/seed/csharp-model/plain-text/src/SeedPlainText.sln new file mode 100644 index 00000000000..215ab3be770 --- /dev/null +++ b/seed/csharp-model/plain-text/src/SeedPlainText.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText", "SeedPlainText\SeedPlainText.csproj", "{A0F81750-5346-46ED-B80F-D111542A95C9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText.Test", "SeedPlainText.Test\SeedPlainText.Test.csproj", "{F764F9B3-F091-46B6-94FA-582F3A7D8ABF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A0F81750-5346-46ED-B80F-D111542A95C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A0F81750-5346-46ED-B80F-D111542A95C9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A0F81750-5346-46ED-B80F-D111542A95C9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A0F81750-5346-46ED-B80F-D111542A95C9}.Release|Any CPU.Build.0 = Release|Any CPU + {F764F9B3-F091-46B6-94FA-582F3A7D8ABF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F764F9B3-F091-46B6-94FA-582F3A7D8ABF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F764F9B3-F091-46B6-94FA-582F3A7D8ABF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F764F9B3-F091-46B6-94FA-582F3A7D8ABF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/plain-text/src/SeedPlainText/SeedPlainText.csproj b/seed/csharp-model/plain-text/src/SeedPlainText/SeedPlainText.csproj index fe0f17c9ea2..616b4052ecf 100644 --- a/seed/csharp-model/plain-text/src/SeedPlainText/SeedPlainText.csproj +++ b/seed/csharp-model/plain-text/src/SeedPlainText/SeedPlainText.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/plain-text/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs index 77c1afe5c53..7520bcd04c2 100644 --- a/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj b/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj index bc0d7861586..3b50df96fec 100644 --- a/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj +++ b/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln b/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln new file mode 100644 index 00000000000..10e8961bbd5 --- /dev/null +++ b/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters", "SeedQueryParameters\SeedQueryParameters.csproj", "{B95C134B-D372-4DD2-A36B-A3BA1E5ACC5C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters.Test", "SeedQueryParameters.Test\SeedQueryParameters.Test.csproj", "{C73531FD-5FFC-49CE-A350-5E1617C6E0C5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B95C134B-D372-4DD2-A36B-A3BA1E5ACC5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B95C134B-D372-4DD2-A36B-A3BA1E5ACC5C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B95C134B-D372-4DD2-A36B-A3BA1E5ACC5C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B95C134B-D372-4DD2-A36B-A3BA1E5ACC5C}.Release|Any CPU.Build.0 = Release|Any CPU + {C73531FD-5FFC-49CE-A350-5E1617C6E0C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C73531FD-5FFC-49CE-A350-5E1617C6E0C5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C73531FD-5FFC-49CE-A350-5E1617C6E0C5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C73531FD-5FFC-49CE-A350-5E1617C6E0C5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj b/seed/csharp-model/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj index 858f418ed05..f95c34fa6b8 100644 --- a/seed/csharp-model/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj +++ b/seed/csharp-model/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/query-parameters/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs index 6e509f475bc..ea17672d755 100644 --- a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj index c9ba6a18b2d..74f9aaff825 100644 --- a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj +++ b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln new file mode 100644 index 00000000000..e02c7acbae3 --- /dev/null +++ b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi", "SeedNurseryApi\SeedNurseryApi.csproj", "{11491239-5981-4918-B6C3-8E790BF3A83C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi.Test", "SeedNurseryApi.Test\SeedNurseryApi.Test.csproj", "{C9E935A5-D812-4568-A19C-5C513317065B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {11491239-5981-4918-B6C3-8E790BF3A83C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11491239-5981-4918-B6C3-8E790BF3A83C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11491239-5981-4918-B6C3-8E790BF3A83C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11491239-5981-4918-B6C3-8E790BF3A83C}.Release|Any CPU.Build.0 = Release|Any CPU + {C9E935A5-D812-4568-A19C-5C513317065B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C9E935A5-D812-4568-A19C-5C513317065B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C9E935A5-D812-4568-A19C-5C513317065B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C9E935A5-D812-4568-A19C-5C513317065B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj index 3f5aeb0ceed..72613f485d7 100644 --- a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj +++ b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/reserved-keywords/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs index fbcad20a7ff..a5ced53c6f0 100644 --- a/seed/csharp-model/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj b/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj index 863e54efc6b..1d97c50a616 100644 --- a/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj +++ b/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/response-property/src/SeedResponseProperty.sln b/seed/csharp-model/response-property/src/SeedResponseProperty.sln new file mode 100644 index 00000000000..ff48ab718d4 --- /dev/null +++ b/seed/csharp-model/response-property/src/SeedResponseProperty.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty", "SeedResponseProperty\SeedResponseProperty.csproj", "{7F1A59CF-C2B9-49CB-8FB3-54341A9AE43B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty.Test", "SeedResponseProperty.Test\SeedResponseProperty.Test.csproj", "{A8B7DF10-888B-40B8-9285-DC3B6C94A164}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7F1A59CF-C2B9-49CB-8FB3-54341A9AE43B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F1A59CF-C2B9-49CB-8FB3-54341A9AE43B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F1A59CF-C2B9-49CB-8FB3-54341A9AE43B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F1A59CF-C2B9-49CB-8FB3-54341A9AE43B}.Release|Any CPU.Build.0 = Release|Any CPU + {A8B7DF10-888B-40B8-9285-DC3B6C94A164}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A8B7DF10-888B-40B8-9285-DC3B6C94A164}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A8B7DF10-888B-40B8-9285-DC3B6C94A164}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A8B7DF10-888B-40B8-9285-DC3B6C94A164}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj b/seed/csharp-model/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj index 356f10e6e6e..34a267c69db 100644 --- a/seed/csharp-model/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj +++ b/seed/csharp-model/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/response-property/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs index 217f3977126..9473023217f 100644 --- a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj index d380eed7ff3..7f8fa6bf18f 100644 --- a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj +++ b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln new file mode 100644 index 00000000000..62dc64aba26 --- /dev/null +++ b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{4EB32394-27EA-4461-922B-46445882EF08}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{6A11945D-2437-4B93-9D34-15434E2DA056}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4EB32394-27EA-4461-922B-46445882EF08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4EB32394-27EA-4461-922B-46445882EF08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4EB32394-27EA-4461-922B-46445882EF08}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4EB32394-27EA-4461-922B-46445882EF08}.Release|Any CPU.Build.0 = Release|Any CPU + {6A11945D-2437-4B93-9D34-15434E2DA056}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6A11945D-2437-4B93-9D34-15434E2DA056}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6A11945D-2437-4B93-9D34-15434E2DA056}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6A11945D-2437-4B93-9D34-15434E2DA056}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj index 07a1af2299f..6030a708eea 100644 --- a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj +++ b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/server-sent-event-examples/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs index 217f3977126..9473023217f 100644 --- a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj index d380eed7ff3..7f8fa6bf18f 100644 --- a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj +++ b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln new file mode 100644 index 00000000000..96a5e7f1e4e --- /dev/null +++ b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{774B6038-9A06-40A9-83E8-654F2BF6DB36}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{FDC46CE8-F6B5-4C98-9962-F0939D18D4C2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {774B6038-9A06-40A9-83E8-654F2BF6DB36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {774B6038-9A06-40A9-83E8-654F2BF6DB36}.Debug|Any CPU.Build.0 = Debug|Any CPU + {774B6038-9A06-40A9-83E8-654F2BF6DB36}.Release|Any CPU.ActiveCfg = Release|Any CPU + {774B6038-9A06-40A9-83E8-654F2BF6DB36}.Release|Any CPU.Build.0 = Release|Any CPU + {FDC46CE8-F6B5-4C98-9962-F0939D18D4C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FDC46CE8-F6B5-4C98-9962-F0939D18D4C2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FDC46CE8-F6B5-4C98-9962-F0939D18D4C2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FDC46CE8-F6B5-4C98-9962-F0939D18D4C2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj index f8d304a7f68..1af94d3b41a 100644 --- a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj +++ b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/server-sent-events/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-model/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/simple-fhir/src/SeedApi.sln b/seed/csharp-model/simple-fhir/src/SeedApi.sln new file mode 100644 index 00000000000..15d16555630 --- /dev/null +++ b/seed/csharp-model/simple-fhir/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{564203BA-3241-4368-B3BF-F25CF172B88B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{4A4F7F4F-1890-4A93-B512-6B0609C594CA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {564203BA-3241-4368-B3BF-F25CF172B88B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {564203BA-3241-4368-B3BF-F25CF172B88B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {564203BA-3241-4368-B3BF-F25CF172B88B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {564203BA-3241-4368-B3BF-F25CF172B88B}.Release|Any CPU.Build.0 = Release|Any CPU + {4A4F7F4F-1890-4A93-B512-6B0609C594CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A4F7F4F-1890-4A93-B512-6B0609C594CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A4F7F4F-1890-4A93-B512-6B0609C594CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A4F7F4F-1890-4A93-B512-6B0609C594CA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/simple-fhir/src/SeedApi/SeedApi.csproj b/seed/csharp-model/simple-fhir/src/SeedApi/SeedApi.csproj index 8566da2aab9..2d931645b7b 100644 --- a/seed/csharp-model/simple-fhir/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-model/simple-fhir/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/simple-fhir/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs index f41bdaaea18..07df691d3bb 100644 --- a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj index 2b081280a03..1a2dd4152f7 100644 --- a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj +++ b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln new file mode 100644 index 00000000000..2bc625c6b33 --- /dev/null +++ b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault", "SeedSingleUrlEnvironmentDefault\SeedSingleUrlEnvironmentDefault.csproj", "{F5420849-B453-4EEE-859A-DD219EE7EDAD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault.Test", "SeedSingleUrlEnvironmentDefault.Test\SeedSingleUrlEnvironmentDefault.Test.csproj", "{66B3777B-3D57-4765-9B83-3291E72F9EDE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F5420849-B453-4EEE-859A-DD219EE7EDAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F5420849-B453-4EEE-859A-DD219EE7EDAD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F5420849-B453-4EEE-859A-DD219EE7EDAD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F5420849-B453-4EEE-859A-DD219EE7EDAD}.Release|Any CPU.Build.0 = Release|Any CPU + {66B3777B-3D57-4765-9B83-3291E72F9EDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {66B3777B-3D57-4765-9B83-3291E72F9EDE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {66B3777B-3D57-4765-9B83-3291E72F9EDE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {66B3777B-3D57-4765-9B83-3291E72F9EDE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj index 50c183e3277..5f32e1dcd35 100644 --- a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj +++ b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/single-url-environment-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs index 627eb79f003..b4d073e3119 100644 --- a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj index bb541d7bc3c..970b922df3a 100644 --- a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj +++ b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln new file mode 100644 index 00000000000..d86d2ad5684 --- /dev/null +++ b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault", "SeedSingleUrlEnvironmentNoDefault\SeedSingleUrlEnvironmentNoDefault.csproj", "{8A26604F-919E-43A8-9907-1A155CA9BFB7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault.Test", "SeedSingleUrlEnvironmentNoDefault.Test\SeedSingleUrlEnvironmentNoDefault.Test.csproj", "{189E4A86-9091-43A6-BB6A-AB22FDB06499}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8A26604F-919E-43A8-9907-1A155CA9BFB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8A26604F-919E-43A8-9907-1A155CA9BFB7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8A26604F-919E-43A8-9907-1A155CA9BFB7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8A26604F-919E-43A8-9907-1A155CA9BFB7}.Release|Any CPU.Build.0 = Release|Any CPU + {189E4A86-9091-43A6-BB6A-AB22FDB06499}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {189E4A86-9091-43A6-BB6A-AB22FDB06499}.Debug|Any CPU.Build.0 = Debug|Any CPU + {189E4A86-9091-43A6-BB6A-AB22FDB06499}.Release|Any CPU.ActiveCfg = Release|Any CPU + {189E4A86-9091-43A6-BB6A-AB22FDB06499}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj index fe83c620e20..dfa17a3d401 100644 --- a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj +++ b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/single-url-environment-no-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs index 72453a319a0..b0fefdd9a52 100644 --- a/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj index 1a496777c8e..77d9031c2ce 100644 --- a/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj +++ b/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln b/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln new file mode 100644 index 00000000000..d47146faac4 --- /dev/null +++ b/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{63270086-DF1C-4389-8F92-9EE184EF1F0A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{0DA575AC-8EBC-4CFB-A0E0-2A18A8BE1A84}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {63270086-DF1C-4389-8F92-9EE184EF1F0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {63270086-DF1C-4389-8F92-9EE184EF1F0A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {63270086-DF1C-4389-8F92-9EE184EF1F0A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {63270086-DF1C-4389-8F92-9EE184EF1F0A}.Release|Any CPU.Build.0 = Release|Any CPU + {0DA575AC-8EBC-4CFB-A0E0-2A18A8BE1A84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0DA575AC-8EBC-4CFB-A0E0-2A18A8BE1A84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0DA575AC-8EBC-4CFB-A0E0-2A18A8BE1A84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0DA575AC-8EBC-4CFB-A0E0-2A18A8BE1A84}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj b/seed/csharp-model/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj index 31a406d42be..e0ff2c2f255 100644 --- a/seed/csharp-model/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj +++ b/seed/csharp-model/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/streaming-parameter/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs index 72453a319a0..b0fefdd9a52 100644 --- a/seed/csharp-model/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj index 1a496777c8e..77d9031c2ce 100644 --- a/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj +++ b/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/streaming/src/SeedStreaming.sln b/seed/csharp-model/streaming/src/SeedStreaming.sln new file mode 100644 index 00000000000..ea1c980d10b --- /dev/null +++ b/seed/csharp-model/streaming/src/SeedStreaming.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{5BC1C780-3D6E-443F-9004-2F261CBF33ED}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{AAA7A052-7A59-4BC8-882A-5F0B21F886E0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5BC1C780-3D6E-443F-9004-2F261CBF33ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5BC1C780-3D6E-443F-9004-2F261CBF33ED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5BC1C780-3D6E-443F-9004-2F261CBF33ED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5BC1C780-3D6E-443F-9004-2F261CBF33ED}.Release|Any CPU.Build.0 = Release|Any CPU + {AAA7A052-7A59-4BC8-882A-5F0B21F886E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAA7A052-7A59-4BC8-882A-5F0B21F886E0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAA7A052-7A59-4BC8-882A-5F0B21F886E0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAA7A052-7A59-4BC8-882A-5F0B21F886E0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/streaming/src/SeedStreaming/SeedStreaming.csproj b/seed/csharp-model/streaming/src/SeedStreaming/SeedStreaming.csproj index c77c04d7af8..244cf27f28b 100644 --- a/seed/csharp-model/streaming/src/SeedStreaming/SeedStreaming.csproj +++ b/seed/csharp-model/streaming/src/SeedStreaming/SeedStreaming.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/streaming/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs index 6a568332953..46d97ee294b 100644 --- a/seed/csharp-model/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj b/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj index 399d362bf4b..ddcf1a5d704 100644 --- a/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj +++ b/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/trace/src/SeedTrace.sln b/seed/csharp-model/trace/src/SeedTrace.sln new file mode 100644 index 00000000000..42afb5d62b7 --- /dev/null +++ b/seed/csharp-model/trace/src/SeedTrace.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace", "SeedTrace\SeedTrace.csproj", "{9238AB08-F963-4407-83F3-FBAB59842DCC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace.Test", "SeedTrace.Test\SeedTrace.Test.csproj", "{185E8599-08CA-4797-94E4-EE0F90E68A09}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9238AB08-F963-4407-83F3-FBAB59842DCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9238AB08-F963-4407-83F3-FBAB59842DCC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9238AB08-F963-4407-83F3-FBAB59842DCC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9238AB08-F963-4407-83F3-FBAB59842DCC}.Release|Any CPU.Build.0 = Release|Any CPU + {185E8599-08CA-4797-94E4-EE0F90E68A09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {185E8599-08CA-4797-94E4-EE0F90E68A09}.Debug|Any CPU.Build.0 = Debug|Any CPU + {185E8599-08CA-4797-94E4-EE0F90E68A09}.Release|Any CPU.ActiveCfg = Release|Any CPU + {185E8599-08CA-4797-94E4-EE0F90E68A09}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/trace/src/SeedTrace/SeedTrace.csproj b/seed/csharp-model/trace/src/SeedTrace/SeedTrace.csproj index 548146119e0..951a7994781 100644 --- a/seed/csharp-model/trace/src/SeedTrace/SeedTrace.csproj +++ b/seed/csharp-model/trace/src/SeedTrace/SeedTrace.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/trace/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs index 5266b03a510..cd47208fb34 100644 --- a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj index e2bb610631d..c08f58082d3 100644 --- a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj +++ b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln new file mode 100644 index 00000000000..5d9b424537a --- /dev/null +++ b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions", "SeedUndiscriminatedUnions\SeedUndiscriminatedUnions.csproj", "{ECCFBC5B-558F-472C-AD78-2CFCC9A6030A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions.Test", "SeedUndiscriminatedUnions.Test\SeedUndiscriminatedUnions.Test.csproj", "{8B89031A-286C-4749-8132-DA42388D1402}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ECCFBC5B-558F-472C-AD78-2CFCC9A6030A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ECCFBC5B-558F-472C-AD78-2CFCC9A6030A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ECCFBC5B-558F-472C-AD78-2CFCC9A6030A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ECCFBC5B-558F-472C-AD78-2CFCC9A6030A}.Release|Any CPU.Build.0 = Release|Any CPU + {8B89031A-286C-4749-8132-DA42388D1402}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8B89031A-286C-4749-8132-DA42388D1402}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8B89031A-286C-4749-8132-DA42388D1402}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8B89031A-286C-4749-8132-DA42388D1402}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj index 95bea173532..bdfcbba40ff 100644 --- a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj +++ b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/undiscriminated-unions/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs index 0516ffc357b..d0a072a0128 100644 --- a/seed/csharp-model/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj b/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj index d299c9c615a..1aab7bd3a92 100644 --- a/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj +++ b/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/unions/src/SeedUnions.sln b/seed/csharp-model/unions/src/SeedUnions.sln new file mode 100644 index 00000000000..1639c79576f --- /dev/null +++ b/seed/csharp-model/unions/src/SeedUnions.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions", "SeedUnions\SeedUnions.csproj", "{E8B0ADF8-7F32-400C-A0BF-A1E88306D49E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions.Test", "SeedUnions.Test\SeedUnions.Test.csproj", "{9A102A47-A686-4118-9AEB-07C8152DFB92}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E8B0ADF8-7F32-400C-A0BF-A1E88306D49E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E8B0ADF8-7F32-400C-A0BF-A1E88306D49E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E8B0ADF8-7F32-400C-A0BF-A1E88306D49E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E8B0ADF8-7F32-400C-A0BF-A1E88306D49E}.Release|Any CPU.Build.0 = Release|Any CPU + {9A102A47-A686-4118-9AEB-07C8152DFB92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9A102A47-A686-4118-9AEB-07C8152DFB92}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9A102A47-A686-4118-9AEB-07C8152DFB92}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9A102A47-A686-4118-9AEB-07C8152DFB92}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/unions/src/SeedUnions/SeedUnions.csproj b/seed/csharp-model/unions/src/SeedUnions/SeedUnions.csproj index 3060ef0c6d8..6c7bd690969 100644 --- a/seed/csharp-model/unions/src/SeedUnions/SeedUnions.csproj +++ b/seed/csharp-model/unions/src/SeedUnions/SeedUnions.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/unions/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs index 9b5b930b507..e2022c27501 100644 --- a/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj b/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj index 4657f547dbe..a79c4d294b8 100644 --- a/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj +++ b/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln b/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln new file mode 100644 index 00000000000..00e4fb91767 --- /dev/null +++ b/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny", "SeedUnknownAsAny\SeedUnknownAsAny.csproj", "{550ED348-5492-46A6-B6F1-EA1ACB4DCF88}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny.Test", "SeedUnknownAsAny.Test\SeedUnknownAsAny.Test.csproj", "{3F8B888E-C61C-443B-B92F-F3595499057B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {550ED348-5492-46A6-B6F1-EA1ACB4DCF88}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {550ED348-5492-46A6-B6F1-EA1ACB4DCF88}.Debug|Any CPU.Build.0 = Debug|Any CPU + {550ED348-5492-46A6-B6F1-EA1ACB4DCF88}.Release|Any CPU.ActiveCfg = Release|Any CPU + {550ED348-5492-46A6-B6F1-EA1ACB4DCF88}.Release|Any CPU.Build.0 = Release|Any CPU + {3F8B888E-C61C-443B-B92F-F3595499057B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F8B888E-C61C-443B-B92F-F3595499057B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F8B888E-C61C-443B-B92F-F3595499057B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F8B888E-C61C-443B-B92F-F3595499057B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj b/seed/csharp-model/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj index 3bde5636f99..7d078c15588 100644 --- a/seed/csharp-model/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj +++ b/seed/csharp-model/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/unknown/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs index 59dddfa32ef..3f62fc7204d 100644 --- a/seed/csharp-model/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj b/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj index 902a8f55981..7265c8587af 100644 --- a/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj +++ b/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/validation/src/SeedValidation.sln b/seed/csharp-model/validation/src/SeedValidation.sln new file mode 100644 index 00000000000..bce7187d1a3 --- /dev/null +++ b/seed/csharp-model/validation/src/SeedValidation.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation", "SeedValidation\SeedValidation.csproj", "{5ED25903-98A6-4604-9DAA-CEA7912C4C31}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation.Test", "SeedValidation.Test\SeedValidation.Test.csproj", "{A9AFC68D-BEA9-45B4-8698-44C291995B69}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5ED25903-98A6-4604-9DAA-CEA7912C4C31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5ED25903-98A6-4604-9DAA-CEA7912C4C31}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5ED25903-98A6-4604-9DAA-CEA7912C4C31}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5ED25903-98A6-4604-9DAA-CEA7912C4C31}.Release|Any CPU.Build.0 = Release|Any CPU + {A9AFC68D-BEA9-45B4-8698-44C291995B69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A9AFC68D-BEA9-45B4-8698-44C291995B69}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A9AFC68D-BEA9-45B4-8698-44C291995B69}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A9AFC68D-BEA9-45B4-8698-44C291995B69}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/validation/src/SeedValidation/SeedValidation.csproj b/seed/csharp-model/validation/src/SeedValidation/SeedValidation.csproj index c50cd7d7ab5..b6c0008c8a2 100644 --- a/seed/csharp-model/validation/src/SeedValidation/SeedValidation.csproj +++ b/seed/csharp-model/validation/src/SeedValidation/SeedValidation.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/validation/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs index 823797580ec..1c16afb4ce2 100644 --- a/seed/csharp-model/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj b/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj index 4e008c367ca..476174f5e6e 100644 --- a/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj +++ b/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/variables/src/SeedVariables.sln b/seed/csharp-model/variables/src/SeedVariables.sln new file mode 100644 index 00000000000..11b4056a2fc --- /dev/null +++ b/seed/csharp-model/variables/src/SeedVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables", "SeedVariables\SeedVariables.csproj", "{D2F135F4-A431-41B9-AD5E-5442D1D6ECE7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables.Test", "SeedVariables.Test\SeedVariables.Test.csproj", "{1712D2EC-EA29-44E3-9F32-111BBC1B896B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D2F135F4-A431-41B9-AD5E-5442D1D6ECE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D2F135F4-A431-41B9-AD5E-5442D1D6ECE7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D2F135F4-A431-41B9-AD5E-5442D1D6ECE7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D2F135F4-A431-41B9-AD5E-5442D1D6ECE7}.Release|Any CPU.Build.0 = Release|Any CPU + {1712D2EC-EA29-44E3-9F32-111BBC1B896B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1712D2EC-EA29-44E3-9F32-111BBC1B896B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1712D2EC-EA29-44E3-9F32-111BBC1B896B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1712D2EC-EA29-44E3-9F32-111BBC1B896B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/variables/src/SeedVariables/SeedVariables.csproj b/seed/csharp-model/variables/src/SeedVariables/SeedVariables.csproj index c4d48c57862..8fac957d946 100644 --- a/seed/csharp-model/variables/src/SeedVariables/SeedVariables.csproj +++ b/seed/csharp-model/variables/src/SeedVariables/SeedVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs index ba889dc5891..583da3c0d05 100644 --- a/seed/csharp-model/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj index ea1b8396b51..22fcd57b3cb 100644 --- a/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj +++ b/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/version-no-default/src/SeedVersion.sln b/seed/csharp-model/version-no-default/src/SeedVersion.sln new file mode 100644 index 00000000000..68854b16a36 --- /dev/null +++ b/seed/csharp-model/version-no-default/src/SeedVersion.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{1EF3D925-6F28-4B83-A876-3A4290B7C9EC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{8280E4F5-8403-4074-931B-4E25381184F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1EF3D925-6F28-4B83-A876-3A4290B7C9EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1EF3D925-6F28-4B83-A876-3A4290B7C9EC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1EF3D925-6F28-4B83-A876-3A4290B7C9EC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1EF3D925-6F28-4B83-A876-3A4290B7C9EC}.Release|Any CPU.Build.0 = Release|Any CPU + {8280E4F5-8403-4074-931B-4E25381184F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8280E4F5-8403-4074-931B-4E25381184F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8280E4F5-8403-4074-931B-4E25381184F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8280E4F5-8403-4074-931B-4E25381184F3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/version-no-default/src/SeedVersion/SeedVersion.csproj b/seed/csharp-model/version-no-default/src/SeedVersion/SeedVersion.csproj index 19973c99154..16eef82397a 100644 --- a/seed/csharp-model/version-no-default/src/SeedVersion/SeedVersion.csproj +++ b/seed/csharp-model/version-no-default/src/SeedVersion/SeedVersion.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/version-no-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs index ba889dc5891..583da3c0d05 100644 --- a/seed/csharp-model/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj index ea1b8396b51..22fcd57b3cb 100644 --- a/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj +++ b/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/version/src/SeedVersion.sln b/seed/csharp-model/version/src/SeedVersion.sln new file mode 100644 index 00000000000..d4ffb3b97ea --- /dev/null +++ b/seed/csharp-model/version/src/SeedVersion.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{F99200B1-76A1-455C-B097-D76BD542B074}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{AE00C583-B22D-49E4-A22D-745330324C69}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F99200B1-76A1-455C-B097-D76BD542B074}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F99200B1-76A1-455C-B097-D76BD542B074}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F99200B1-76A1-455C-B097-D76BD542B074}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F99200B1-76A1-455C-B097-D76BD542B074}.Release|Any CPU.Build.0 = Release|Any CPU + {AE00C583-B22D-49E4-A22D-745330324C69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AE00C583-B22D-49E4-A22D-745330324C69}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AE00C583-B22D-49E4-A22D-745330324C69}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AE00C583-B22D-49E4-A22D-745330324C69}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/version/src/SeedVersion/SeedVersion.csproj b/seed/csharp-model/version/src/SeedVersion/SeedVersion.csproj index 7279f5a2757..1b47c88610f 100644 --- a/seed/csharp-model/version/src/SeedVersion/SeedVersion.csproj +++ b/seed/csharp-model/version/src/SeedVersion/SeedVersion.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/version/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-model/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs b/seed/csharp-model/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs index 901b507973e..dcfcd3eed5a 100644 --- a/seed/csharp-model/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-model/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj b/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj index b51b25a8b42..b1ba647bca0 100644 --- a/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj +++ b/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-model/websocket/src/SeedWebsocket.sln b/seed/csharp-model/websocket/src/SeedWebsocket.sln new file mode 100644 index 00000000000..e64241586a4 --- /dev/null +++ b/seed/csharp-model/websocket/src/SeedWebsocket.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket", "SeedWebsocket\SeedWebsocket.csproj", "{09C0A3AC-BFA7-4688-84AA-90920AD5DC71}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket.Test", "SeedWebsocket.Test\SeedWebsocket.Test.csproj", "{829CA0A5-0B1F-42E9-A123-BB7106E8971C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {09C0A3AC-BFA7-4688-84AA-90920AD5DC71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {09C0A3AC-BFA7-4688-84AA-90920AD5DC71}.Debug|Any CPU.Build.0 = Debug|Any CPU + {09C0A3AC-BFA7-4688-84AA-90920AD5DC71}.Release|Any CPU.ActiveCfg = Release|Any CPU + {09C0A3AC-BFA7-4688-84AA-90920AD5DC71}.Release|Any CPU.Build.0 = Release|Any CPU + {829CA0A5-0B1F-42E9-A123-BB7106E8971C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {829CA0A5-0B1F-42E9-A123-BB7106E8971C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {829CA0A5-0B1F-42E9-A123-BB7106E8971C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {829CA0A5-0B1F-42E9-A123-BB7106E8971C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-model/websocket/src/SeedWebsocket/SeedWebsocket.csproj b/seed/csharp-model/websocket/src/SeedWebsocket/SeedWebsocket.csproj index a2a6736d8d7..1c75b3e274d 100644 --- a/seed/csharp-model/websocket/src/SeedWebsocket/SeedWebsocket.csproj +++ b/seed/csharp-model/websocket/src/SeedWebsocket/SeedWebsocket.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/websocket/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/.gitignore b/seed/csharp-sdk/.gitignore deleted file mode 100644 index dfe1fb64d82..00000000000 --- a/seed/csharp-sdk/.gitignore +++ /dev/null @@ -1 +0,0 @@ -**/*.sln \ No newline at end of file diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs index e9f45b46a00..afe99daa324 100644 --- a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj index 84a91a23f46..a096140ec2c 100644 --- a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj +++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Unit/MockServer/BaseMockServerTest.cs index d996ae86bf2..5aa01804fae 100644 --- a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln new file mode 100644 index 00000000000..a9679fa2baf --- /dev/null +++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends", "SeedAliasExtends\SeedAliasExtends.csproj", "{60A2DB17-546C-48EE-8C0F-FE41C774A518}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends.Test", "SeedAliasExtends.Test\SeedAliasExtends.Test.csproj", "{CBBF564A-AFE4-4610-8A56-096A86B3F913}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Debug|Any CPU.Build.0 = Debug|Any CPU + {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Release|Any CPU.ActiveCfg = Release|Any CPU + {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Release|Any CPU.Build.0 = Release|Any CPU + {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj index e2ac4b36b8a..7a4688de872 100644 --- a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj +++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends/SeedAliasExtends.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/alias-extends/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs index 357a10f90ba..b48c2e6729a 100644 --- a/seed/csharp-sdk/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/alias/src/SeedAlias.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj b/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj index 6377029a16d..4c80df47000 100644 --- a/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj +++ b/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/alias/src/SeedAlias.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/alias/src/SeedAlias.Test/Unit/MockServer/BaseMockServerTest.cs index 09b636cd557..8ed2b3166c1 100644 --- a/seed/csharp-sdk/alias/src/SeedAlias.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/alias/src/SeedAlias.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/alias/src/SeedAlias.sln b/seed/csharp-sdk/alias/src/SeedAlias.sln new file mode 100644 index 00000000000..3fdae41af23 --- /dev/null +++ b/seed/csharp-sdk/alias/src/SeedAlias.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias", "SeedAlias\SeedAlias.csproj", "{ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias.Test", "SeedAlias.Test\SeedAlias.Test.csproj", "{F41CCDF4-487E-49EC-9682-651CF26D0204}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Release|Any CPU.Build.0 = Release|Any CPU + {F41CCDF4-487E-49EC-9682-651CF26D0204}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F41CCDF4-487E-49EC-9682-651CF26D0204}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F41CCDF4-487E-49EC-9682-651CF26D0204}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F41CCDF4-487E-49EC-9682-651CF26D0204}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/alias/src/SeedAlias/SeedAlias.csproj b/seed/csharp-sdk/alias/src/SeedAlias/SeedAlias.csproj index f6d9b711c37..d4455f0f175 100644 --- a/seed/csharp-sdk/alias/src/SeedAlias/SeedAlias.csproj +++ b/seed/csharp-sdk/alias/src/SeedAlias/SeedAlias.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/alias/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs index 66af8be386b..ebde0c81c13 100644 --- a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj index f68ccf13cf4..cb2298c52d3 100644 --- a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj +++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Unit/MockServer/BaseMockServerTest.cs index 5980372516e..4245d996491 100644 --- a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln new file mode 100644 index 00000000000..33c4aed105a --- /dev/null +++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth", "SeedAnyAuth\SeedAnyAuth.csproj", "{316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth.Test", "SeedAnyAuth.Test\SeedAnyAuth.Test.csproj", "{A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Release|Any CPU.Build.0 = Release|Any CPU + {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj b/seed/csharp-sdk/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj index 17833e03e63..39464d7ee08 100644 --- a/seed/csharp-sdk/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj +++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth/SeedAnyAuth.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/any-auth/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs index c7dd5409d21..5f7e85954a6 100644 --- a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj index 31487789fa2..330a9298b0a 100644 --- a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj +++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Unit/MockServer/BaseMockServerTest.cs index ed02b0921c5..b41e2b164e9 100644 --- a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln new file mode 100644 index 00000000000..81f1acf08fe --- /dev/null +++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath", "SeedApiWideBasePath\SeedApiWideBasePath.csproj", "{D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath.Test", "SeedApiWideBasePath.Test\SeedApiWideBasePath.Test.csproj", "{4B205E1F-6CC4-4D86-A8BE-093B77BB2942}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Release|Any CPU.Build.0 = Release|Any CPU + {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj index 1808b454685..1aaaab00485 100644 --- a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj +++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath/SeedApiWideBasePath.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/api-wide-base-path/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs index 5ccfdceadda..41441c252b5 100644 --- a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj index db284d1749e..efb76afe36f 100644 --- a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj +++ b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Unit/MockServer/BaseMockServerTest.cs index 6e2e8d889cb..3cd37a32cfa 100644 --- a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences.sln b/seed/csharp-sdk/audiences/src/SeedAudiences.sln new file mode 100644 index 00000000000..31ed6c13487 --- /dev/null +++ b/seed/csharp-sdk/audiences/src/SeedAudiences.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences", "SeedAudiences\SeedAudiences.csproj", "{5D68C4BB-2878-4803-99A0-046BAE14D749}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences.Test", "SeedAudiences.Test\SeedAudiences.Test.csproj", "{736E306C-9A16-4E07-B592-974BEE9D8408}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5D68C4BB-2878-4803-99A0-046BAE14D749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5D68C4BB-2878-4803-99A0-046BAE14D749}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5D68C4BB-2878-4803-99A0-046BAE14D749}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5D68C4BB-2878-4803-99A0-046BAE14D749}.Release|Any CPU.Build.0 = Release|Any CPU + {736E306C-9A16-4E07-B592-974BEE9D8408}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {736E306C-9A16-4E07-B592-974BEE9D8408}.Debug|Any CPU.Build.0 = Debug|Any CPU + {736E306C-9A16-4E07-B592-974BEE9D8408}.Release|Any CPU.ActiveCfg = Release|Any CPU + {736E306C-9A16-4E07-B592-974BEE9D8408}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences/SeedAudiences.csproj b/seed/csharp-sdk/audiences/src/SeedAudiences/SeedAudiences.csproj index fff370d06b0..d9dc702d8fa 100644 --- a/seed/csharp-sdk/audiences/src/SeedAudiences/SeedAudiences.csproj +++ b/seed/csharp-sdk/audiences/src/SeedAudiences/SeedAudiences.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/audiences/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs index 2e50e637c13..d4b033842fa 100644 --- a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj index 3107b4a3359..20f810ff4fd 100644 --- a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj +++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs index ad18d395835..5237995dbd0 100644 --- a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln new file mode 100644 index 00000000000..69d1486f418 --- /dev/null +++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables", "SeedAuthEnvironmentVariables\SeedAuthEnvironmentVariables.csproj", "{3DCE712D-E8E8-4980-8B8D-8CE266EA7437}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables.Test", "SeedAuthEnvironmentVariables.Test\SeedAuthEnvironmentVariables.Test.csproj", "{469B60A0-0055-4EB8-8E75-E9A8B7712841}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Release|Any CPU.Build.0 = Release|Any CPU + {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Debug|Any CPU.Build.0 = Debug|Any CPU + {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Release|Any CPU.ActiveCfg = Release|Any CPU + {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj index 4f710b64e39..04f9e5616be 100644 --- a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj +++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables/SeedAuthEnvironmentVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/auth-environment-variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs index 0ae1158e4e8..80254d3b829 100644 --- a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj index fb0674da98d..1c5ab5dcbfd 100644 --- a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj +++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs index 871c99017d9..41c0ed65fd0 100644 --- a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln new file mode 100644 index 00000000000..3e2f2e134ee --- /dev/null +++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables", "SeedBasicAuthEnvironmentVariables\SeedBasicAuthEnvironmentVariables.csproj", "{8816B054-1391-4BFE-8829-4FF262A99369}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables.Test", "SeedBasicAuthEnvironmentVariables.Test\SeedBasicAuthEnvironmentVariables.Test.csproj", "{8291080C-D6BD-496C-B973-AE9388DB6686}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8816B054-1391-4BFE-8829-4FF262A99369}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8816B054-1391-4BFE-8829-4FF262A99369}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8816B054-1391-4BFE-8829-4FF262A99369}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8816B054-1391-4BFE-8829-4FF262A99369}.Release|Any CPU.Build.0 = Release|Any CPU + {8291080C-D6BD-496C-B973-AE9388DB6686}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8291080C-D6BD-496C-B973-AE9388DB6686}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8291080C-D6BD-496C-B973-AE9388DB6686}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8291080C-D6BD-496C-B973-AE9388DB6686}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj index dc46ec3579a..a3eac4561ae 100644 --- a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj +++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables/SeedBasicAuthEnvironmentVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/basic-auth-environment-variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs index 1fbb498ecf2..88b2cd4defa 100644 --- a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj index 694b87130a8..33244ffe96a 100644 --- a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj +++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Unit/MockServer/BaseMockServerTest.cs index e1ae0bccb5b..8075b9b37ec 100644 --- a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln new file mode 100644 index 00000000000..1b2fa85f8f6 --- /dev/null +++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth", "SeedBasicAuth\SeedBasicAuth.csproj", "{7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth.Test", "SeedBasicAuth.Test\SeedBasicAuth.Test.csproj", "{67A6697D-FBD0-46C6-88B7-2781D5D403AD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Release|Any CPU.Build.0 = Release|Any CPU + {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj index 7706432bced..1f7fc53ae3c 100644 --- a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj +++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth/SeedBasicAuth.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/basic-auth/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs index 80ac0381b5f..3494293860b 100644 --- a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj index b9dc79be93f..c66ac7c4081 100644 --- a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj +++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Unit/MockServer/BaseMockServerTest.cs index 75ca9c833bd..c7fcd836368 100644 --- a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln new file mode 100644 index 00000000000..e8f3334f64e --- /dev/null +++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable", "SeedBearerTokenEnvironmentVariable\SeedBearerTokenEnvironmentVariable.csproj", "{F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable.Test", "SeedBearerTokenEnvironmentVariable.Test\SeedBearerTokenEnvironmentVariable.Test.csproj", "{45954C78-A122-4103-B28C-734906C81670}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Release|Any CPU.Build.0 = Release|Any CPU + {45954C78-A122-4103-B28C-734906C81670}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45954C78-A122-4103-B28C-734906C81670}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45954C78-A122-4103-B28C-734906C81670}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45954C78-A122-4103-B28C-734906C81670}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj index 4cb2a1bfe5b..865a9d18f8c 100644 --- a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj +++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable/SeedBearerTokenEnvironmentVariable.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/bearer-token-environment-variable/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs index 3365839e1f5..d208b0ed2a9 100644 --- a/seed/csharp-sdk/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/bytes/src/SeedBytes.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj b/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj index 731659024cf..40490560dbd 100644 --- a/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj +++ b/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/bytes/src/SeedBytes.sln b/seed/csharp-sdk/bytes/src/SeedBytes.sln new file mode 100644 index 00000000000..b6e6176900a --- /dev/null +++ b/seed/csharp-sdk/bytes/src/SeedBytes.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes", "SeedBytes\SeedBytes.csproj", "{51834093-D04C-4902-B445-EFA4FAF8B667}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes.Test", "SeedBytes.Test\SeedBytes.Test.csproj", "{37A341E2-4583-4A58-858E-A4E4CBC0993C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {51834093-D04C-4902-B445-EFA4FAF8B667}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51834093-D04C-4902-B445-EFA4FAF8B667}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51834093-D04C-4902-B445-EFA4FAF8B667}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51834093-D04C-4902-B445-EFA4FAF8B667}.Release|Any CPU.Build.0 = Release|Any CPU + {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/bytes/src/SeedBytes/SeedBytes.csproj b/seed/csharp-sdk/bytes/src/SeedBytes/SeedBytes.csproj index f0db1a65283..43238bb18b5 100644 --- a/seed/csharp-sdk/bytes/src/SeedBytes/SeedBytes.csproj +++ b/seed/csharp-sdk/bytes/src/SeedBytes/SeedBytes.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/bytes/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln new file mode 100644 index 00000000000..4269dfcbb23 --- /dev/null +++ b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{41565371-8E34-4D4F-8297-FB6929830513}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{12F846F9-9434-4FE5-9CD6-108A53E54987}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {41565371-8E34-4D4F-8297-FB6929830513}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {41565371-8E34-4D4F-8297-FB6929830513}.Debug|Any CPU.Build.0 = Debug|Any CPU + {41565371-8E34-4D4F-8297-FB6929830513}.Release|Any CPU.ActiveCfg = Release|Any CPU + {41565371-8E34-4D4F-8297-FB6929830513}.Release|Any CPU.Build.0 = Release|Any CPU + {12F846F9-9434-4FE5-9CD6-108A53E54987}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {12F846F9-9434-4FE5-9CD6-108A53E54987}.Debug|Any CPU.Build.0 = Debug|Any CPU + {12F846F9-9434-4FE5-9CD6-108A53E54987}.Release|Any CPU.ActiveCfg = Release|Any CPU + {12F846F9-9434-4FE5-9CD6-108A53E54987}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/circular-references-advanced/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/circular-references-advanced/src/SeedApi/SeedApi.csproj index e915f7a437d..0d98501b842 100644 --- a/seed/csharp-sdk/circular-references-advanced/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/circular-references-advanced/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/circular-references-advanced/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/circular-references/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/circular-references/src/SeedApi.sln b/seed/csharp-sdk/circular-references/src/SeedApi.sln new file mode 100644 index 00000000000..3bce22b0a8f --- /dev/null +++ b/seed/csharp-sdk/circular-references/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{F4310A92-4AC4-49D1-AF38-79D26371EE1B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{E18830F6-4B09-4717-94D0-7D52F22AB204}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Release|Any CPU.Build.0 = Release|Any CPU + {E18830F6-4B09-4717-94D0-7D52F22AB204}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E18830F6-4B09-4717-94D0-7D52F22AB204}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E18830F6-4B09-4717-94D0-7D52F22AB204}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E18830F6-4B09-4717-94D0-7D52F22AB204}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/circular-references/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/circular-references/src/SeedApi/SeedApi.csproj index a56f586f3c7..1f0abd20675 100644 --- a/seed/csharp-sdk/circular-references/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/circular-references/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/circular-references/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/code-samples/.github/workflows/ci.yml b/seed/csharp-sdk/code-samples/.github/workflows/ci.yml deleted file mode 100644 index 0ce8a0ff0f9..00000000000 --- a/seed/csharp-sdk/code-samples/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedCodeSamples/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/code-samples/.gitignore b/seed/csharp-sdk/code-samples/.gitignore deleted file mode 100644 index 5e57f18055d..00000000000 --- a/seed/csharp-sdk/code-samples/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from `dotnet new gitignore` - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/code-samples/.mock/definition/api.yml b/seed/csharp-sdk/code-samples/.mock/definition/api.yml deleted file mode 100644 index be7bbb0492a..00000000000 --- a/seed/csharp-sdk/code-samples/.mock/definition/api.yml +++ /dev/null @@ -1,3 +0,0 @@ -name: code-samples -error-discrimination: - strategy: status-code diff --git a/seed/csharp-sdk/code-samples/.mock/definition/service.yml b/seed/csharp-sdk/code-samples/.mock/definition/service.yml deleted file mode 100644 index a411feebe13..00000000000 --- a/seed/csharp-sdk/code-samples/.mock/definition/service.yml +++ /dev/null @@ -1,43 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json - -types: - MyResponse: - properties: - id: string - name: optional - -service: - auth: false - base-path: "" - endpoints: - hello: - path: /hello - method: POST - request: - name: MyRequest - body: - properties: - num_events: integer - response: - type: MyResponse - examples: - - request: - num_events: 5 - response: - body: - id: "123" - name: "hello" - code-samples: - - name: curl - sdk: curl - code: | - curl -X POST "http://localhost:8080/hello" - -H "Content-Type: application/json" - -d '{"num_events": 5}' - - name: python - sdk: python - code: | - import requests - response = requests.post("http://localhost:8080/hello", json={"num_events": 5}) - print(response.json()) - diff --git a/seed/csharp-sdk/code-samples/.mock/fern.config.json b/seed/csharp-sdk/code-samples/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/code-samples/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/code-samples/snippet-templates.json b/seed/csharp-sdk/code-samples/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/code-samples/snippet.json b/seed/csharp-sdk/code-samples/snippet.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/SeedCodeSamples.Test.csproj b/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/SeedCodeSamples.Test.csproj deleted file mode 100644 index f179bee1fb5..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/SeedCodeSamples.Test.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/TestClient.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/TestClient.cs deleted file mode 100644 index 850bb280cfb..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedCodeSamples.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/Unit/MockServer/BaseMockServerTest.cs deleted file mode 100644 index 505f12b6793..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/Unit/MockServer/BaseMockServerTest.cs +++ /dev/null @@ -1,39 +0,0 @@ -using NUnit.Framework; -using SeedCodeSamples; -using WireMock.Logging; -using WireMock.Server; -using WireMock.Settings; - -#nullable enable - -namespace SeedCodeSamples.Test.Unit.MockServer; - -[SetUpFixture] -public class BaseMockServerTest -{ - protected static WireMockServer Server { get; set; } = null!; - - protected static SeedCodeSamplesClient Client { get; set; } = null!; - - protected static RequestOptions RequestOptions { get; set; } = null!; - - [OneTimeSetUp] - public void GlobalSetup() - { - // Start the WireMock server - Server = WireMockServer.Start( - new WireMockServerSettings { Logger = new WireMockConsoleLogger() } - ); - - // Initialize the Client - Client = new SeedCodeSamplesClient(); - - RequestOptions = new RequestOptions { BaseUrl = Server.Urls[0] }; - } - - [OneTimeTearDown] - public void GlobalTeardown() - { - Server.Stop(); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/Unit/MockServer/HelloTest.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/Unit/MockServer/HelloTest.cs deleted file mode 100644 index bb3ccb71f69..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples.Test/Unit/MockServer/HelloTest.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System.Threading.Tasks; -using FluentAssertions.Json; -using Newtonsoft.Json.Linq; -using NUnit.Framework; -using SeedCodeSamples; -using SeedCodeSamples.Core; -using SeedCodeSamples.Test.Unit.MockServer; - -#nullable enable - -namespace SeedCodeSamples.Test; - -[TestFixture] -public class HelloTest : BaseMockServerTest -{ - [Test] - public async Task MockServerTest_1() - { - const string requestJson = """ - { - "num_events": 5 - } - """; - - const string mockResponse = """ - { - "id": "123", - "name": "hello" - } - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/hello") - .UsingPost() - .WithBodyAsJson(requestJson) - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = await Client.Service.HelloAsync( - new MyRequest { NumEvents = 5 }, - RequestOptions - ); - JToken - .Parse(mockResponse) - .Should() - .BeEquivalentTo(JToken.Parse(JsonUtils.Serialize(response))); - } - - [Test] - public async Task MockServerTest_2() - { - const string requestJson = """ - { - "num_events": 5 - } - """; - - const string mockResponse = """ - { - "id": "123", - "name": "hello" - } - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/hello") - .UsingPost() - .WithBodyAsJson(requestJson) - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = await Client.Service.HelloAsync( - new MyRequest { NumEvents = 5 }, - RequestOptions - ); - JToken - .Parse(mockResponse) - .Should() - .BeEquivalentTo(JToken.Parse(JsonUtils.Serialize(response))); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/CollectionItemSerializer.cs deleted file mode 100644 index a77d719d4b4..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedCodeSamples.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Constants.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Constants.cs deleted file mode 100644 index 8c8d1c0c849..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedCodeSamples.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/DateTimeSerializer.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/DateTimeSerializer.cs deleted file mode 100644 index 753a2886b1a..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedCodeSamples.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Extensions.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Extensions.cs deleted file mode 100644 index 7bbb8acb78d..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Extensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Runtime.Serialization; - -namespace SeedCodeSamples.Core; - -internal static class Extensions -{ - public static string Stringify(this Enum value) - { - var field = value.GetType().GetField(value.ToString()); - var attribute = (EnumMemberAttribute) - Attribute.GetCustomAttribute(field, typeof(EnumMemberAttribute)); - return attribute?.Value ?? value.ToString(); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/HttpMethodExtensions.cs deleted file mode 100644 index 9af84a3c647..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedCodeSamples.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/JsonConfiguration.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/JsonConfiguration.cs deleted file mode 100644 index 43858f0c18a..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedCodeSamples.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/OneOfSerializer.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/OneOfSerializer.cs deleted file mode 100644 index a0630c35dff..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedCodeSamples.Core; - -internal class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/ClientOptions.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/ClientOptions.cs deleted file mode 100644 index d50cf1c60db..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedCodeSamples; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/RequestOptions.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/RequestOptions.cs deleted file mode 100644 index 619d8c9b5af..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedCodeSamples; - -public partial class RequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/SeedCodeSamplesApiException.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/SeedCodeSamplesApiException.cs deleted file mode 100644 index a67ff007927..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/SeedCodeSamplesApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedCodeSamples; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedCodeSamplesApiException(string message, int statusCode, object body) - : SeedCodeSamplesException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body => body; -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/SeedCodeSamplesException.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/SeedCodeSamplesException.cs deleted file mode 100644 index 3ce069c97d3..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/Public/SeedCodeSamplesException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedCodeSamples; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedCodeSamplesException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/RawClient.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/RawClient.cs deleted file mode 100644 index de144f4ff00..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/RawClient.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System.Net.Http; -using System.Text; -using System.Threading; - -namespace SeedCodeSamples.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient( - Dictionary headers, - Dictionary> headerSuppliers, - ClientOptions clientOptions -) -{ - /// - /// The http client used to make requests. - /// - public readonly ClientOptions Options = clientOptions; - - /// - /// Global headers to be sent with every request. - /// - private readonly Dictionary _headers = headers; - - /// - /// Global headers to be sent with every request. These headers take - /// precedence over the others. - /// - private readonly Dictionary> _headerSuppliers = headerSuppliers; - - public async Task MakeRequestAsync( - BaseApiRequest request, - CancellationToken cancellationToken = default - ) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - // Add global headers to the request - foreach (var header in _headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add global headers to the request from supplier - foreach (var header in _headerSuppliers) - { - httpRequest.Headers.Add(header.Key, header.Value.Invoke()); - } - // Add request headers to the request - foreach (var header in request.Headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add the request body to the request - if (request is JsonApiRequest jsonRequest) - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - } - else if (request is StreamApiRequest { Body: not null } streamRequest) - { - httpRequest.Content = new StreamContent(streamRequest.Body); - } - // Send the request - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var response = await httpClient.SendAsync(httpRequest, cancellationToken); - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Dictionary Headers { get; init; } = new(); - - public RequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url.Substring(0, url.Length - 1); - return url; - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/StringEnumSerializer.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/StringEnumSerializer.cs deleted file mode 100644 index 009bead6998..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedCodeSamples.Core; - -internal class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/SeedCodeSamples.csproj b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/SeedCodeSamples.csproj deleted file mode 100644 index 84e1ad38e07..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/SeedCodeSamples.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/code-samples/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - <_Parameter1>SeedCodeSamples.Test - - - - diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/SeedCodeSamplesClient.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/SeedCodeSamplesClient.cs deleted file mode 100644 index f69f7828ee2..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/SeedCodeSamplesClient.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using SeedCodeSamples.Core; - -#nullable enable - -namespace SeedCodeSamples; - -public partial class SeedCodeSamplesClient -{ - private RawClient _client; - - public SeedCodeSamplesClient(ClientOptions? clientOptions = null) - { - _client = new RawClient( - new Dictionary() { { "X-Fern-Language", "C#" } }, - new Dictionary>(), - clientOptions ?? new ClientOptions() - ); - Service = new ServiceClient(_client); - } - - public ServiceClient Service { get; init; } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/Requests/MyRequest.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/Requests/MyRequest.cs deleted file mode 100644 index 979860410c9..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/Requests/MyRequest.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedCodeSamples; - -public record MyRequest -{ - [JsonPropertyName("num_events")] - public required int NumEvents { get; set; } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/ServiceClient.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/ServiceClient.cs deleted file mode 100644 index 26c2f2d4816..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/ServiceClient.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Net.Http; -using System.Text.Json; -using System.Threading; -using SeedCodeSamples.Core; - -#nullable enable - -namespace SeedCodeSamples; - -public partial class ServiceClient -{ - private RawClient _client; - - internal ServiceClient(RawClient client) - { - _client = client; - } - - public async Task HelloAsync( - MyRequest request, - RequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "hello", - Body = request, - Options = options, - }, - cancellationToken - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - try - { - return JsonUtils.Deserialize(responseBody)!; - } - catch (JsonException e) - { - throw new SeedCodeSamplesException("Failed to deserialize response", e); - } - } - - throw new SeedCodeSamplesApiException( - $"Error with status code {response.StatusCode}", - response.StatusCode, - responseBody - ); - } -} diff --git a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/Types/MyResponse.cs b/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/Types/MyResponse.cs deleted file mode 100644 index 17459c4b45a..00000000000 --- a/seed/csharp-sdk/code-samples/src/SeedCodeSamples/Service/Types/MyResponse.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedCodeSamples; - -public record MyResponse -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("name")] - public string? Name { get; set; } -} diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs index eaadc6b488c..28e1c388aef 100644 --- a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj index 137c57edfd9..7b7fe7b3690 100644 --- a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj +++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Unit/MockServer/BaseMockServerTest.cs index e21d9e05c87..0697fca6538 100644 --- a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln new file mode 100644 index 00000000000..b6c0efd44ea --- /dev/null +++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames", "SeedCrossPackageTypeNames\SeedCrossPackageTypeNames.csproj", "{11BFA751-0AE0-43A3-91C4-D0F4001496E1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames.Test", "SeedCrossPackageTypeNames.Test\SeedCrossPackageTypeNames.Test.csproj", "{989E53E1-E859-425C-A01C-FEF4FDBF92C4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Release|Any CPU.Build.0 = Release|Any CPU + {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj index 8f2ef56e991..05c930a2105 100644 --- a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj +++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames/SeedCrossPackageTypeNames.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/cross-package-type-names/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln new file mode 100644 index 00000000000..8f1910f1d9e --- /dev/null +++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{23086100-6515-4196-8B16-21034A67478F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {23086100-6515-4196-8B16-21034A67478F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {23086100-6515-4196-8B16-21034A67478F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {23086100-6515-4196-8B16-21034A67478F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {23086100-6515-4196-8B16-21034A67478F}.Release|Any CPU.Build.0 = Release|Any CPU + {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj index d1e83db655b..27e8ffa242d 100644 --- a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/csharp-grpc-proto-exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln new file mode 100644 index 00000000000..40efd2d8945 --- /dev/null +++ b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{153C27CF-2E6B-4FBB-A9EB-B1CB03601924}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{775C5F9A-236E-4509-8C92-557D53D87035}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Debug|Any CPU.Build.0 = Debug|Any CPU + {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Release|Any CPU.ActiveCfg = Release|Any CPU + {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Release|Any CPU.Build.0 = Release|Any CPU + {775C5F9A-236E-4509-8C92-557D53D87035}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {775C5F9A-236E-4509-8C92-557D53D87035}.Debug|Any CPU.Build.0 = Debug|Any CPU + {775C5F9A-236E-4509-8C92-557D53D87035}.Release|Any CPU.ActiveCfg = Release|Any CPU + {775C5F9A-236E-4509-8C92-557D53D87035}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi/SeedApi.csproj index 8fc89259558..9ee3df12ef3 100644 --- a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/csharp-grpc-proto/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs index 4cff59e7004..dfbfba5f6c5 100644 --- a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj index 1b69fae24ba..653ea9acc8e 100644 --- a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj +++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Unit/MockServer/BaseMockServerTest.cs index 111945bf71f..bfc6bd60871 100644 --- a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln new file mode 100644 index 00000000000..91a884906bc --- /dev/null +++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict", "SeedCsharpNamespaceConflict\SeedCsharpNamespaceConflict.csproj", "{32FD109B-D546-4251-8E36-053D24DD6407}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict.Test", "SeedCsharpNamespaceConflict.Test\SeedCsharpNamespaceConflict.Test.csproj", "{74CDC0DC-3A4F-4694-A458-64DE7C037198}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {32FD109B-D546-4251-8E36-053D24DD6407}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {32FD109B-D546-4251-8E36-053D24DD6407}.Debug|Any CPU.Build.0 = Debug|Any CPU + {32FD109B-D546-4251-8E36-053D24DD6407}.Release|Any CPU.ActiveCfg = Release|Any CPU + {32FD109B-D546-4251-8E36-053D24DD6407}.Release|Any CPU.Build.0 = Release|Any CPU + {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Debug|Any CPU.Build.0 = Debug|Any CPU + {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Release|Any CPU.ActiveCfg = Release|Any CPU + {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj index 501a86ce67e..3cbc7fffdb3 100644 --- a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj +++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict/SeedCsharpNamespaceConflict.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/csharp-namespace-conflict/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.github/workflows/ci.yml b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.gitignore b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.gitignore deleted file mode 100644 index 9965de29662..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.gitignore +++ /dev/null @@ -1,477 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/definition/api.yml b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/definition/api.yml deleted file mode 100644 index c437dc0ab29..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/definition/api.yml +++ /dev/null @@ -1,4 +0,0 @@ -name: api -error-discrimination: - strategy: status-code -auth: bearer diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/definition/imdb.yml b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/definition/imdb.yml deleted file mode 100644 index 7919173fe57..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/definition/imdb.yml +++ /dev/null @@ -1,42 +0,0 @@ -types: - MovieId: string - - Movie: - properties: - id: MovieId - title: string - rating: - type: double - docs: The rating scale is one to five stars - - CreateMovieRequest: - properties: - title: string - rating: double - -service: - auth: false - base-path: /movies - endpoints: - createMovie: - docs: Add a movie to the database - method: POST - path: /create-movie - request: CreateMovieRequest - response: - type: MovieId - status-code: 201 - - getMovie: - method: GET - path: /{movieId} - path-parameters: - movieId: MovieId - response: Movie - errors: - - MovieDoesNotExistError - -errors: - MovieDoesNotExistError: - status-code: 404 - type: MovieId diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/fern.config.json b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/generators.yml b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/generators.yml deleted file mode 100644 index 0967ef424bc..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/snippet-templates.json b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/snippet.json b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/snippet.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index fa0676afacd..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/ClientOptions.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/ClientOptions.cs deleted file mode 100644 index 573a96689a8..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/ClientOptions.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Net.Http; - -#nullable enable - -namespace SeedApi.Core; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request in seconds. - /// - public int TimeoutInSeconds { get; init; } = 30; -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index 2e1e0f550be..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -public class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/Constants.cs deleted file mode 100644 index 9a66ab2ea70..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi.Core; - -public static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ssK"; -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index 6861804d08a..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -public class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.ParseExact(reader.GetString()!, Constants.DateTimeFormat, null); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 66ee2e9d252..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -public static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 0c7db293eb9..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Text.Json; - -namespace SeedApi.Core; - -public static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer() }, - WriteIndented = true - }; - } -} - -public static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index d86f8e24e70..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -public class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index 437825ca198..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,129 +0,0 @@ -using System.Net.Http; -using System.Text; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -public class RawClient( - Dictionary headers, - Dictionary> headerSuppliers, - ClientOptions clientOptions -) -{ - /// - /// The http client used to make requests. - /// - public readonly ClientOptions Options = clientOptions; - - /// - /// Global headers to be sent with every request. - /// - private readonly Dictionary _headers = headers; - - public async Task MakeRequestAsync(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - // Add global headers to the request - foreach (var header in _headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add global headers to the request from supplier - foreach (var header in headerSuppliers) - { - httpRequest.Headers.Add(header.Key, header.Value.Invoke()); - } - // Add request headers to the request - foreach (var header in request.Headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add the request body to the request - if (request is JsonApiRequest jsonRequest) - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - } - else if (request is StreamApiRequest { Body: not null } streamRequest) - { - httpRequest.Content = new StreamContent(streamRequest.Body); - } - // Send the request - var response = await Options.HttpClient.SendAsync(httpRequest); - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Dictionary Headers { get; init; } = new(); - - public object? RequestOptions { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private string BuildUrl(BaseApiRequest request) - { - var trimmedBaseUrl = request.BaseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => current + $"{queryItem.Key}={queryItem.Value}&" - ); - url = url.Substring(0, url.Length - 1); - return url; - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/StringEnumSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/StringEnumSerializer.cs deleted file mode 100644 index fbaf79b865e..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -public class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/ImdbClient.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/ImdbClient.cs deleted file mode 100644 index a114db24389..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/ImdbClient.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System.Net.Http; -using SeedApi; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public class ImdbClient -{ - private RawClient _client; - - public ImdbClient(RawClient client) - { - _client = client; - } - - /// - /// Add a movie to the database - /// - public async Task CreateMovieAsync(CreateMovieRequest request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/movies/create-movie", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetMovieAsync(string movieId) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = $"/movies/{movieId}" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/Types/CreateMovieRequest.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/Types/CreateMovieRequest.cs deleted file mode 100644 index 12f46012d53..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/Types/CreateMovieRequest.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedApi; - -public record CreateMovieRequest -{ - [JsonPropertyName("title")] - public required string Title { get; init; } - - [JsonPropertyName("rating")] - public required double Rating { get; init; } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/Types/Movie.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/Types/Movie.cs deleted file mode 100644 index d31a4ecad78..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/Imdb/Types/Movie.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedApi; - -public record Movie -{ - [JsonPropertyName("id")] - public required string Id { get; init; } - - [JsonPropertyName("title")] - public required string Title { get; init; } - - /// - /// The rating scale is one to five stars - /// - [JsonPropertyName("rating")] - public required double Rating { get; init; } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/SeedApi.csproj deleted file mode 100644 index b3156331e7e..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,47 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/imdb/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - - diff --git a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index ec79ca35044..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/extra-dependencies/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using SeedApi; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(string token, ClientOptions? clientOptions = null) - { - _client = new RawClient( - new Dictionary() { { "X-Fern-Language", "C#" }, }, - new Dictionary>() { }, - clientOptions ?? new ClientOptions() - ); - Imdb = new ImdbClient(_client); - } - - public ImdbClient Imdb { get; init; } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.github/workflows/ci.yml b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.gitignore b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.gitignore deleted file mode 100644 index 9965de29662..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.gitignore +++ /dev/null @@ -1,477 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/definition/api.yml b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/definition/api.yml deleted file mode 100644 index c437dc0ab29..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/definition/api.yml +++ /dev/null @@ -1,4 +0,0 @@ -name: api -error-discrimination: - strategy: status-code -auth: bearer diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/definition/imdb.yml b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/definition/imdb.yml deleted file mode 100644 index 7919173fe57..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/definition/imdb.yml +++ /dev/null @@ -1,42 +0,0 @@ -types: - MovieId: string - - Movie: - properties: - id: MovieId - title: string - rating: - type: double - docs: The rating scale is one to five stars - - CreateMovieRequest: - properties: - title: string - rating: double - -service: - auth: false - base-path: /movies - endpoints: - createMovie: - docs: Add a movie to the database - method: POST - path: /create-movie - request: CreateMovieRequest - response: - type: MovieId - status-code: 201 - - getMovie: - method: GET - path: /{movieId} - path-parameters: - movieId: MovieId - response: Movie - errors: - - MovieDoesNotExistError - -errors: - MovieDoesNotExistError: - status-code: 404 - type: MovieId diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/fern.config.json b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/generators.yml b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/generators.yml deleted file mode 100644 index 0967ef424bc..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/snippet-templates.json b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/snippet.json b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/snippet.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index b782cb73082..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,25 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Utils/JsonDiffChecker.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Utils/JsonDiffChecker.cs deleted file mode 100644 index 3e0a25f94d9..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Utils/JsonDiffChecker.cs +++ /dev/null @@ -1,88 +0,0 @@ -namespace SeedApi.Test.Utils; - -using System.Collections.Generic; -using System.Collections.Generic; -using Newtonsoft.Json.Linq; -using Newtonsoft.Json.Linq; -using NUnit.Framework; - -public static class JsonDiffChecker -{ - public static void AssertJsonEquals(string jsonString1, string jsonString2) - { - var token1 = JToken.Parse(jsonString1); - var token2 = JToken.Parse(jsonString2); - var differences = GetJsonDifferences(token1, token2); - - Assert.That( - differences, - Is.Empty, - $"The JSON strings are not equal: {string.Join(", ", differences)}" - ); - } - - private static List GetJsonDifferences(JToken token1, JToken token2, string path = "") - { - var differences = new List(); - - if (token1.Type != token2.Type) - { - differences.Add($"{path} has different types: {token1.Type} vs {token2.Type}"); - return differences; - } - - if (token1 is JObject obj1 && token2 is JObject obj2) - { - foreach (var property in obj1.Properties()) - { - var newPath = string.IsNullOrEmpty(path) - ? property.Name - : $"{path}.{property.Name}"; - if (!obj2.TryGetValue(property.Name, out JToken token2Value)) - { - differences.Add($"{newPath} is missing in the second JSON"); - } - else - { - differences.AddRange(GetJsonDifferences(property.Value, token2Value, newPath)); - } - } - - foreach (var property in obj2.Properties()) - { - var newPath = string.IsNullOrEmpty(path) - ? property.Name - : $"{path}.{property.Name}"; - if (!obj1.TryGetValue(property.Name, out _)) - { - differences.Add($"{newPath} is missing in the first JSON"); - } - } - } - else if (token1 is JArray array1 && token2 is JArray array2) - { - for (var i = 0; i < Math.Max(array1.Count, array2.Count); i++) - { - var newPath = $"{path}[{i}]"; - if (i >= array1.Count) - { - differences.Add($"{newPath} is missing in the first JSON"); - } - else if (i >= array2.Count) - { - differences.Add($"{newPath} is missing in the second JSON"); - } - else - { - differences.AddRange(GetJsonDifferences(array1[i], array2[i], newPath)); - } - } - } - else if (!JToken.DeepEquals(token1, token2)) - { - differences.Add($"{path} has different values: {token1} vs {token2}"); - } - - return differences; - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Wire/GlobalTestSetup.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Wire/GlobalTestSetup.cs deleted file mode 100644 index b7648df3662..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Wire/GlobalTestSetup.cs +++ /dev/null @@ -1,32 +0,0 @@ -using NUnit.Framework; -using SeedApi.Core; -using WireMock.Logging; -using WireMock.Server; -using WireMock.Settings; - -namespace SeedApi.Test.Wire; - -[SetUpFixture] -public class GlobalTestSetup -{ - public static WireMockServer Server { get; private set; } = null!; - public static SeedApiClient Client { get; private set; } = null!; - - [OneTimeSetUp] - public void GlobalSetup() - { - // Start the WireMock server - Server = WireMockServer.Start( - new WireMockServerSettings { Logger = new WireMockConsoleLogger(), } - ); - - // Initialize the Client - Client = new SeedApiClient("API_KEY", new ClientOptions { BaseUrl = Server.Urls[0] }); - } - - [OneTimeTearDown] - public void GlobalTeardown() - { - Server.Stop(); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Wire/SampleTest.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Wire/SampleTest.cs deleted file mode 100644 index 26c67eec7fb..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi.Test/Wire/SampleTest.cs +++ /dev/null @@ -1,90 +0,0 @@ -using Newtonsoft.Json.Linq; -using NUnit.Framework; -using SeedApi.Core; -using SeedApi.Test.Utils; - -namespace SeedApi.Test.Wire; - -[TestFixture] -public class SampleTest -{ - private SeedApiClient _client; - - [SetUp] - public void SetUp() - { - _client = GlobalTestSetup.Client; - } - - [TearDown] - public void TearDown() - { - // Reset the WireMock server after each test - GlobalTestSetup.Server.Reset(); - } - - [Test] - public void Test_Post_Endpoint() - { - const string json = """ - { - "title": "Inception", - "rating": 8.8 - } - """; - - const string mockResponse = "\"MovieId123\""; - GlobalTestSetup - .Server.Given( - WireMock - .RequestBuilders.Request.Create() - .WithHeader("X-Fern-Language", "C#") - .WithPath("/movies/create-movie") - .UsingPost() - .WithBody(json) - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = _client - .Imdb.CreateMovieAsync(new CreateMovieRequest { Rating = 8.8, Title = "Inception" }) - .Result; - - JsonDiffChecker.AssertJsonEquals(mockResponse, JsonUtils.Serialize(response)); - } - - [Test] - public void Test_Get_Endpoint() - { - const string mockResponse = """ - { - "id": "idid", - "title": "Inception", - "rating": 4.8 - } - """; - - GlobalTestSetup - .Server.Given( - WireMock - .RequestBuilders.Request.Create() - .WithHeader("X-Fern-Language", "C#") - .WithPath("/movies/idid") - .UsingGet() - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = _client.Imdb.GetMovieAsync("idid").Result; - - JsonDiffChecker.AssertJsonEquals(mockResponse, JsonUtils.Serialize(response)); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/ClientOptions.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/ClientOptions.cs deleted file mode 100644 index 573a96689a8..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/ClientOptions.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Net.Http; - -#nullable enable - -namespace SeedApi.Core; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request in seconds. - /// - public int TimeoutInSeconds { get; init; } = 30; -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index 2e1e0f550be..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -public class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/Constants.cs deleted file mode 100644 index 9a66ab2ea70..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi.Core; - -public static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ssK"; -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index 6861804d08a..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -public class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.ParseExact(reader.GetString()!, Constants.DateTimeFormat, null); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 66ee2e9d252..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -public static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 0c7db293eb9..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Text.Json; - -namespace SeedApi.Core; - -public static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer() }, - WriteIndented = true - }; - } -} - -public static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index d86f8e24e70..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -public class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index 437825ca198..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,129 +0,0 @@ -using System.Net.Http; -using System.Text; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -public class RawClient( - Dictionary headers, - Dictionary> headerSuppliers, - ClientOptions clientOptions -) -{ - /// - /// The http client used to make requests. - /// - public readonly ClientOptions Options = clientOptions; - - /// - /// Global headers to be sent with every request. - /// - private readonly Dictionary _headers = headers; - - public async Task MakeRequestAsync(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - // Add global headers to the request - foreach (var header in _headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add global headers to the request from supplier - foreach (var header in headerSuppliers) - { - httpRequest.Headers.Add(header.Key, header.Value.Invoke()); - } - // Add request headers to the request - foreach (var header in request.Headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add the request body to the request - if (request is JsonApiRequest jsonRequest) - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - } - else if (request is StreamApiRequest { Body: not null } streamRequest) - { - httpRequest.Content = new StreamContent(streamRequest.Body); - } - // Send the request - var response = await Options.HttpClient.SendAsync(httpRequest); - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Dictionary Headers { get; init; } = new(); - - public object? RequestOptions { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private string BuildUrl(BaseApiRequest request) - { - var trimmedBaseUrl = request.BaseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => current + $"{queryItem.Key}={queryItem.Value}&" - ); - url = url.Substring(0, url.Length - 1); - return url; - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/StringEnumSerializer.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/StringEnumSerializer.cs deleted file mode 100644 index fbaf79b865e..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -public class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/ImdbClient.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/ImdbClient.cs deleted file mode 100644 index a114db24389..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/ImdbClient.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System.Net.Http; -using SeedApi; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public class ImdbClient -{ - private RawClient _client; - - public ImdbClient(RawClient client) - { - _client = client; - } - - /// - /// Add a movie to the database - /// - public async Task CreateMovieAsync(CreateMovieRequest request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/movies/create-movie", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetMovieAsync(string movieId) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = $"/movies/{movieId}" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/Types/CreateMovieRequest.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/Types/CreateMovieRequest.cs deleted file mode 100644 index 12f46012d53..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/Types/CreateMovieRequest.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedApi; - -public record CreateMovieRequest -{ - [JsonPropertyName("title")] - public required string Title { get; init; } - - [JsonPropertyName("rating")] - public required double Rating { get; init; } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/Types/Movie.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/Types/Movie.cs deleted file mode 100644 index d31a4ecad78..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/Imdb/Types/Movie.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedApi; - -public record Movie -{ - [JsonPropertyName("id")] - public required string Id { get; init; } - - [JsonPropertyName("title")] - public required string Title { get; init; } - - /// - /// The rating scale is one to five stars - /// - [JsonPropertyName("rating")] - public required double Rating { get; init; } -} diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/SeedApi.csproj deleted file mode 100644 index ef0a8db6f37..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,45 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/imdb/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - diff --git a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index ec79ca35044..00000000000 --- a/seed/csharp-sdk/csharp-wire-testing/no-custom-config/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using SeedApi; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(string token, ClientOptions? clientOptions = null) - { - _client = new RawClient( - new Dictionary() { { "X-Fern-Language", "C#" }, }, - new Dictionary>() { }, - clientOptions ?? new ClientOptions() - ); - Imdb = new ImdbClient(_client); - } - - public ImdbClient Imdb { get; init; } -} diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs index f33b6d6036b..4cc169e0b1e 100644 --- a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj index 276ad5d69f6..1138d192410 100644 --- a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj +++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Unit/MockServer/BaseMockServerTest.cs index 954848fb2f8..71d46dd24e3 100644 --- a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln new file mode 100644 index 00000000000..807deca2ccc --- /dev/null +++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth", "SeedCustomAuth\SeedCustomAuth.csproj", "{9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth.Test", "SeedCustomAuth.Test\SeedCustomAuth.Test.csproj", "{79EEA28D-7051-4054-A083-7C833BB3C1BF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Release|Any CPU.Build.0 = Release|Any CPU + {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj index 5ccc5ff3b27..73fe9306405 100644 --- a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj +++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth/SeedCustomAuth.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/custom-auth/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/enum/.github/workflows/ci.yml b/seed/csharp-sdk/enum/.github/workflows/ci.yml deleted file mode 100644 index 93b0b62c5cb..00000000000 --- a/seed/csharp-sdk/enum/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedEnum/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/enum/.gitignore b/seed/csharp-sdk/enum/.gitignore deleted file mode 100644 index 11014f2b33d..00000000000 --- a/seed/csharp-sdk/enum/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -## This is based on `dotnet new gitignore` and customized by Fern - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -# [Rr]elease/ (Ignored by Fern) -# [Rr]eleases/ (Ignored by Fern) -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -# [Ll]og/ (Ignored by Fern) -# [Ll]ogs/ (Ignored by Fern) - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/enum/.mock/definition/__package__.yml b/seed/csharp-sdk/enum/.mock/definition/__package__.yml deleted file mode 100644 index a72e076f94d..00000000000 --- a/seed/csharp-sdk/enum/.mock/definition/__package__.yml +++ /dev/null @@ -1,38 +0,0 @@ -types: - Operand: - docs: | - Tests enum name and value can be - different. - enum: - - value: ">" - name: GREATER_THAN - - value: "=" - name: EQUAL_TO - - value: "less_than" - docs: | - The name and value should be similar - are similar for less than. - examples: - - name: GreaterThan - value: ">" - - name: LessThan - value: "less_than" - - Color: - enum: - - value: "red" - name: RED - - value: "blue" - name: BLUE - examples: - - name: Red - value: "red" - - ColorOrOperand: - discriminated: false - union: - - Color - - Operand - examples: - - name: Red - value: "red" diff --git a/seed/csharp-sdk/enum/.mock/definition/api.yml b/seed/csharp-sdk/enum/.mock/definition/api.yml deleted file mode 100644 index 3e2ce7d17a8..00000000000 --- a/seed/csharp-sdk/enum/.mock/definition/api.yml +++ /dev/null @@ -1 +0,0 @@ -name: enum diff --git a/seed/csharp-sdk/enum/.mock/definition/inlined-request.yml b/seed/csharp-sdk/enum/.mock/definition/inlined-request.yml deleted file mode 100644 index f17deabdaaf..00000000000 --- a/seed/csharp-sdk/enum/.mock/definition/inlined-request.yml +++ /dev/null @@ -1,24 +0,0 @@ -imports: - root: __package__.yml - -service: - auth: false - base-path: "" - endpoints: - send: - path: /inlined - method: POST - request: - name: SendEnumInlinedRequest - body: - properties: - operand: - type: root.Operand - maybeOperand: optional - operandOrColor: root.ColorOrOperand - maybeOperandOrColor: optional - examples: - - request: - operand: $root.Operand.GreaterThan - operandOrColor: $root.ColorOrOperand.Red - \ No newline at end of file diff --git a/seed/csharp-sdk/enum/.mock/definition/path-param.yml b/seed/csharp-sdk/enum/.mock/definition/path-param.yml deleted file mode 100644 index 5afc7329f1e..00000000000 --- a/seed/csharp-sdk/enum/.mock/definition/path-param.yml +++ /dev/null @@ -1,17 +0,0 @@ -imports: - root: __package__.yml - -service: - auth: false - base-path: "" - endpoints: - send: - path: /path/{operand}/{operandOrColor} - method: POST - path-parameters: - operand: root.Operand - operandOrColor: root.ColorOrOperand - examples: - - path-parameters: - operand: $root.Operand.GreaterThan - operandOrColor: $root.ColorOrOperand.Red diff --git a/seed/csharp-sdk/enum/.mock/definition/query-param.yml b/seed/csharp-sdk/enum/.mock/definition/query-param.yml deleted file mode 100644 index 2b3724eba7e..00000000000 --- a/seed/csharp-sdk/enum/.mock/definition/query-param.yml +++ /dev/null @@ -1,40 +0,0 @@ -imports: - root: __package__.yml - -service: - auth: false - base-path: "" - endpoints: - send: - path: /query - method: POST - request: - name: SendEnumAsQueryParamRequest - query-parameters: - operand: root.Operand - maybeOperand: optional - operandOrColor: root.ColorOrOperand - maybeOperandOrColor: optional - examples: - - query-parameters: - operand: $root.Operand.GreaterThan - operandOrColor: $root.ColorOrOperand.Red - - sendList: - path: /query-list - method: POST - request: - name: SendEnumListAsQueryParamRequest - query-parameters: - operand: - type: root.Operand - allow-multiple: true - maybeOperand: - type: optional - allow-multiple: true - operandOrColor: - type: root.ColorOrOperand - allow-multiple: true - maybeOperandOrColor: - type: optional - allow-multiple: true diff --git a/seed/csharp-sdk/enum/.mock/fern.config.json b/seed/csharp-sdk/enum/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/enum/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/enum/.mock/generators.yml b/seed/csharp-sdk/enum/.mock/generators.yml deleted file mode 100644 index 0967ef424bc..00000000000 --- a/seed/csharp-sdk/enum/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/seed/csharp-sdk/enum/README.md b/seed/csharp-sdk/enum/README.md deleted file mode 100644 index f8ef4a6b64b..00000000000 --- a/seed/csharp-sdk/enum/README.md +++ /dev/null @@ -1,89 +0,0 @@ -# Seed C# Library - -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Seed%2FC%23) -[![nuget shield](https://img.shields.io/nuget/v/SeedEnum)](https://nuget.org/packages/SeedEnum) - -The Seed C# library provides convenient access to the Seed API from C#. - -## Installation - -```sh -nuget install SeedEnum -``` - -## Usage - -Instantiate and use the client with the following: - -```csharp -using SeedEnum; - -var client = new SeedEnumClient(); -await client.InlinedRequest.SendAsync( - new SendEnumInlinedRequest { Operand = Operand.GreaterThan, OperandOrColor = Color.Red } -); -``` - -## Exception Handling - -When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error -will be thrown. - -```csharp -using SeedEnum; - -try { - var response = await client.InlinedRequest.SendAsync(...); -} catch (SeedEnumApiException e) { - System.Console.WriteLine(e.Body); - System.Console.WriteLine(e.StatusCode); -} -``` - -## Advanced - -### Retries - -The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long -as the request is deemed retriable and the number of retry attempts has not grown larger than the configured -retry limit (default: 2). - -A request is deemed retriable when any of the following HTTP status codes is returned: - -- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) -- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) -- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) - -Use the `MaxRetries` request option to configure this behavior. - -```csharp -var response = await client.InlinedRequest.SendAsync( - ..., - new RequestOptions { - MaxRetries: 0 // Override MaxRetries at the request level - } -); -``` - -### Timeouts - -The SDK defaults to a 30 second timeout. Use the `Timeout` option to configure this behavior. - -```csharp -var response = await client.InlinedRequest.SendAsync( - ..., - new RequestOptions { - Timeout: TimeSpan.FromSeconds(3) // Override timeout to 3s - } -); -``` - -## Contributing - -While we value open-source contributions to this SDK, this library is generated programmatically. -Additions made directly to this library would have to be moved over to our generation code, -otherwise they would be overwritten upon the next generated release. Feel free to open a PR as -a proof of concept, but know that we will not be able to merge it as-is. We suggest opening -an issue first to discuss with us! - -On the other hand, contributions to the README are always very welcome! \ No newline at end of file diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs index e5fdf24fe97..7bfa7756e3e 100644 --- a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs +++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Core/StringEnumSerializerTests.cs @@ -49,7 +49,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2)); @@ -62,7 +62,7 @@ public void ShouldSerializeUnknownEnum() new DummyObject { EnumProperty = UnknownEnumValue }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(UnknownEnumValue)); diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj index 73fdda15ae5..d6faf892575 100644 --- a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj +++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs index ae2423e0d5f..fd55b8e46cd 100644 --- a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln new file mode 100644 index 00000000000..0ee001ac72f --- /dev/null +++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{3B18E52F-E22F-4861-BE31-DBDDB57A447A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{F5983278-F802-461F-8625-CA36D8E1E077}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Release|Any CPU.Build.0 = Release|Any CPU + {F5983278-F802-461F-8625-CA36D8E1E077}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F5983278-F802-461F-8625-CA36D8E1E077}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F5983278-F802-461F-8625-CA36D8E1E077}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F5983278-F802-461F-8625-CA36D8E1E077}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj index 1ac5726bfa8..a29863a52f4 100644 --- a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj +++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum/SeedEnum.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/enum/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs index 3128d125c3c..3df258e0757 100644 --- a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj index 73fdda15ae5..d6faf892575 100644 --- a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj +++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs index ae2423e0d5f..fd55b8e46cd 100644 --- a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln new file mode 100644 index 00000000000..e1579593238 --- /dev/null +++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{5055C1DB-AB10-4F88-BA46-1FD9C1D21160}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Release|Any CPU.Build.0 = Release|Any CPU + {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum/SeedEnum.csproj b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum/SeedEnum.csproj index 1ac5726bfa8..a29863a52f4 100644 --- a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum/SeedEnum.csproj +++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum/SeedEnum.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/enum/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/enum/reference.md b/seed/csharp-sdk/enum/reference.md deleted file mode 100644 index 0f6bf0a2b23..00000000000 --- a/seed/csharp-sdk/enum/reference.md +++ /dev/null @@ -1,183 +0,0 @@ -# Reference -## InlinedRequest -
client.InlinedRequest.SendAsync(SendEnumInlinedRequest { ... }) -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.InlinedRequest.SendAsync( - new SendEnumInlinedRequest { Operand = Operand.GreaterThan, OperandOrColor = Color.Red } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `SendEnumInlinedRequest` - -
-
-
-
- - -
-
-
- -## PathParam -
client.PathParam.SendAsync(operand, operandOrColor) -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.PathParam.SendAsync(Operand.GreaterThan, Color.Red); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**operand:** `Operand` - -
-
- -
-
- -**operandOrColor:** `OneOf` - -
-
-
-
- - -
-
-
- -## QueryParam -
client.QueryParam.SendAsync(SendEnumAsQueryParamRequest { ... }) -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.QueryParam.SendAsync( - new SendEnumAsQueryParamRequest { Operand = Operand.GreaterThan, OperandOrColor = Color.Red } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `SendEnumAsQueryParamRequest` - -
-
-
-
- - -
-
-
- -
client.QueryParam.SendListAsync(SendEnumListAsQueryParamRequest { ... }) -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.QueryParam.SendListAsync( - new SendEnumListAsQueryParamRequest - { - Operand = [Operand.GreaterThan], - MaybeOperand = [Operand.GreaterThan], - OperandOrColor = [Color.Red], - MaybeOperandOrColor = [null], - } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `SendEnumListAsQueryParamRequest` - -
-
-
-
- - -
-
-
diff --git a/seed/csharp-sdk/enum/snippet-templates.json b/seed/csharp-sdk/enum/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/enum/snippet.json b/seed/csharp-sdk/enum/snippet.json deleted file mode 100644 index bc426a5d09e..00000000000 --- a/seed/csharp-sdk/enum/snippet.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "types": {}, - "endpoints": [ - { - "example_identifier": null, - "id": { - "path": "/inlined", - "method": "POST", - "identifier_override": "endpoint_inlined-request.send" - }, - "snippet": { - "type": "typescript", - "client": "using SeedEnum;\n\nvar client = new SeedEnumClient();\nawait client.InlinedRequest.SendAsync(\n new SendEnumInlinedRequest { Operand = Operand.GreaterThan, OperandOrColor = Color.Red }\n);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/path/{operand}/{operandOrColor}", - "method": "POST", - "identifier_override": "endpoint_path-param.send" - }, - "snippet": { - "type": "typescript", - "client": "using SeedEnum;\n\nvar client = new SeedEnumClient();\nawait client.PathParam.SendAsync(Operand.GreaterThan, Color.Red);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/query", - "method": "POST", - "identifier_override": "endpoint_query-param.send" - }, - "snippet": { - "type": "typescript", - "client": "using SeedEnum;\n\nvar client = new SeedEnumClient();\nawait client.QueryParam.SendAsync(\n new SendEnumAsQueryParamRequest { Operand = Operand.GreaterThan, OperandOrColor = Color.Red }\n);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/query-list", - "method": "POST", - "identifier_override": "endpoint_query-param.sendList" - }, - "snippet": { - "type": "typescript", - "client": "using SeedEnum;\n\nvar client = new SeedEnumClient();\nawait client.QueryParam.SendListAsync(\n new SendEnumListAsQueryParamRequest\n {\n Operand = [Operand.GreaterThan],\n MaybeOperand = [Operand.GreaterThan],\n OperandOrColor = [Color.Red],\n MaybeOperandOrColor = [null],\n }\n);\n" - } - } - ] -} \ No newline at end of file diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs index eddabd432bc..15f6b535439 100644 --- a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj index 13149bb05d8..0afa998e413 100644 --- a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj +++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Unit/MockServer/BaseMockServerTest.cs index 86c1c7f5c25..13d0fa449ae 100644 --- a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln b/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln new file mode 100644 index 00000000000..c27c344178a --- /dev/null +++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty", "SeedErrorProperty\SeedErrorProperty.csproj", "{769E0182-D360-42ED-8D2F-DA4C4733774A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty.Test", "SeedErrorProperty.Test\SeedErrorProperty.Test.csproj", "{E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {769E0182-D360-42ED-8D2F-DA4C4733774A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {769E0182-D360-42ED-8D2F-DA4C4733774A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {769E0182-D360-42ED-8D2F-DA4C4733774A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {769E0182-D360-42ED-8D2F-DA4C4733774A}.Release|Any CPU.Build.0 = Release|Any CPU + {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj b/seed/csharp-sdk/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj index 343237f8e57..5904847a2c1 100644 --- a/seed/csharp-sdk/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj +++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty/SeedErrorProperty.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/error-property/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs index 68963fdc852..054ee62a369 100644 --- a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj index 53949d76225..dbba8aeb890 100644 --- a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj +++ b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln new file mode 100644 index 00000000000..1978a3ada4b --- /dev/null +++ b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{732AA9DF-4C01-4225-B88A-4500074EEF02}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {732AA9DF-4C01-4225-B88A-4500074EEF02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {732AA9DF-4C01-4225-B88A-4500074EEF02}.Debug|Any CPU.Build.0 = Debug|Any CPU + {732AA9DF-4C01-4225-B88A-4500074EEF02}.Release|Any CPU.ActiveCfg = Release|Any CPU + {732AA9DF-4C01-4225-B88A-4500074EEF02}.Release|Any CPU.Build.0 = Release|Any CPU + {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples/SeedExamples.csproj b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples/SeedExamples.csproj index fea22d69c78..019799fa845 100644 --- a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples/SeedExamples.csproj +++ b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples/SeedExamples.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/examples/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs index 68963fdc852..054ee62a369 100644 --- a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj index 53949d76225..dbba8aeb890 100644 --- a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj +++ b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln new file mode 100644 index 00000000000..e9c2507c070 --- /dev/null +++ b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{AAFBC544-7E3D-49C9-A259-FFC208B3D398}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{A5F5C628-A3E1-48B5-B103-6CC7F6A06635}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Release|Any CPU.Build.0 = Release|Any CPU + {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/examples/readme-config/src/SeedExamples/SeedExamples.csproj b/seed/csharp-sdk/examples/readme-config/src/SeedExamples/SeedExamples.csproj index fea22d69c78..019799fa845 100644 --- a/seed/csharp-sdk/examples/readme-config/src/SeedExamples/SeedExamples.csproj +++ b/seed/csharp-sdk/examples/readme-config/src/SeedExamples/SeedExamples.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/examples/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/exhaustive/.github/workflows/ci.yml b/seed/csharp-sdk/exhaustive/.github/workflows/ci.yml deleted file mode 100644 index f57a57e3b37..00000000000 --- a/seed/csharp-sdk/exhaustive/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedExhaustive/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/exhaustive/.gitignore b/seed/csharp-sdk/exhaustive/.gitignore deleted file mode 100644 index 9965de29662..00000000000 --- a/seed/csharp-sdk/exhaustive/.gitignore +++ /dev/null @@ -1,477 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/api.yml b/seed/csharp-sdk/exhaustive/.mock/definition/api.yml deleted file mode 100644 index dd65915538f..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/api.yml +++ /dev/null @@ -1,4 +0,0 @@ -name: exhaustive -auth: bearer -error-discrimination: - strategy: status-code diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/container.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/container.yml deleted file mode 100644 index 165a039dc65..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/container.yml +++ /dev/null @@ -1,48 +0,0 @@ -imports: - objects: ../types/object.yml - -service: - auth: true - base-path: /container - endpoints: - getAndReturnListOfPrimitives: - path: /list-of-primitives - method: POST - request: list - response: list - - getAndReturnListOfObjects: - path: /list-of-objects - method: POST - request: list - response: list - - getAndReturnSetOfPrimitives: - path: /set-of-primitives - method: POST - request: set - response: set - - getAndReturnSetOfObjects: - path: /set-of-objects - method: POST - request: set - response: set - - getAndReturnMapPrimToPrim: - path: /map-prim-to-prim - method: POST - request: map - response: map - - getAndReturnMapOfPrimToObject: - path: /map-prim-to-object - method: POST - request: map - response: map - - getAndReturnOptional: - path: /opt-objects - method: POST - request: optional - response: optional diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/enum.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/enum.yml deleted file mode 100644 index 335a0889cc7..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/enum.yml +++ /dev/null @@ -1,12 +0,0 @@ -imports: - enums: ../types/enum.yml - -service: - auth: true - base-path: /enum - endpoints: - getAndReturnEnum: - method: POST - path: "" - request: enums.WeatherReport - response: enums.WeatherReport diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/http-methods.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/http-methods.yml deleted file mode 100644 index 51a54c0802c..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/http-methods.yml +++ /dev/null @@ -1,43 +0,0 @@ -imports: - objects: ../types/object.yml - -service: - auth: true - base-path: /http-methods - - endpoints: - testGet: - method: GET - path: /{id} - path-parameters: - id: string - response: string - - testPost: - method: POST - path: "" - request: objects.ObjectWithRequiredField - response: objects.ObjectWithOptionalField - - testPut: - method: PUT - path: /{id} - path-parameters: - id: string - request: objects.ObjectWithRequiredField - response: objects.ObjectWithOptionalField - - testPatch: - method: PATCH - path: /{id} - path-parameters: - id: string - request: objects.ObjectWithOptionalField - response: objects.ObjectWithOptionalField - - testDelete: - method: DELETE - path: /{id} - path-parameters: - id: string - response: boolean diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/object.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/object.yml deleted file mode 100644 index 9fad6aa2776..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/object.yml +++ /dev/null @@ -1,44 +0,0 @@ -imports: - objects: ../types/object.yml - -service: - auth: true - base-path: /object - endpoints: - getAndReturnWithOptionalField: - path: /get-and-return-with-optional-field - method: POST - request: objects.ObjectWithOptionalField - response: objects.ObjectWithOptionalField - - getAndReturnWithRequiredField: - path: /get-and-return-with-required-field - method: POST - request: objects.ObjectWithRequiredField - response: objects.ObjectWithRequiredField - - getAndReturnWithMapOfMap: - path: /get-and-return-with-map-of-map - method: POST - request: objects.ObjectWithMapOfMap - response: objects.ObjectWithMapOfMap - - getAndReturnNestedWithOptionalField: - path: /get-and-return-nested-with-optional-field - method: POST - request: objects.NestedObjectWithOptionalField - response: objects.NestedObjectWithOptionalField - - getAndReturnNestedWithRequiredField: - path: /get-and-return-nested-with-required-field/{string} - method: POST - path-parameters: - string: string - request: objects.NestedObjectWithRequiredField - response: objects.NestedObjectWithRequiredField - - getAndReturnNestedWithRequiredFieldAsList: - path: /get-and-return-nested-with-required-field-list - method: POST - request: list - response: objects.NestedObjectWithRequiredField diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/params.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/params.yml deleted file mode 100644 index 7766547ad79..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/params.yml +++ /dev/null @@ -1,57 +0,0 @@ -service: - auth: true - base-path: /params - endpoints: - getWithPath: - docs: GET with path param - path: /path/{param} - path-parameters: - param: string - method: GET - response: string - - getWithQuery: - docs: GET with query param - path: "" - method: GET - request: - name: GetWithQuery - query-parameters: - query: string #mandatory for test - number: integer - - getWithAllowMultipleQuery: - docs: GET with multiple of same query param - path: "" - method: GET - request: - name: GetWithMultipleQuery - query-parameters: - query: - type: string - allow-multiple: true - numer: - type: integer - allow-multiple: true - - getWithPathAndQuery: - docs: GET with path and query params - path: /path-query/{param} - path-parameters: - param: string - method: GET - request: - name: GetWithPathAndQuery - query-parameters: - query: string #mandatory for test - - modifyWithPath: - docs: PUT to update with path param - path: /path/{param} - path-parameters: - param: string - method: PUT - request: - name: ModifyResourceAtPath - body: string - response: string diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/primitive.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/primitive.yml deleted file mode 100644 index 8dd7674164c..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/primitive.yml +++ /dev/null @@ -1,60 +0,0 @@ -imports: - objects: ../types/object.yml - -service: - auth: true - base-path: /primitive - endpoints: - getAndReturnString: - path: /string - method: POST - request: string - response: string - - getAndReturnInt: - path: /integer - method: POST - request: integer - response: integer - - getAndReturnLong: - path: /long - method: POST - request: long - response: long - - getAndReturnDouble: - path: /double - method: POST - request: double - response: double - - getAndReturnBool: - path: /boolean - method: POST - request: boolean - response: boolean - - getAndReturnDatetime: - path: /datetime - method: POST - request: datetime - response: datetime - - getAndReturnDate: - path: /date - method: POST - request: date - response: date - - getAndReturnUUID: - path: /uuid - method: POST - request: uuid - response: uuid - - getAndReturnBase64: - path: /base64 - method: POST - request: base64 - response: base64 diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/union.yml b/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/union.yml deleted file mode 100644 index ce9021160d7..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/endpoints/union.yml +++ /dev/null @@ -1,12 +0,0 @@ -imports: - unions: ../types/union.yml - -service: - auth: true - base-path: /union - endpoints: - getAndReturnUnion: - method: POST - path: "" - request: unions.Animal - response: unions.Animal diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/general-errors.yml b/seed/csharp-sdk/exhaustive/.mock/definition/general-errors.yml deleted file mode 100644 index 5fbf9cfc417..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/general-errors.yml +++ /dev/null @@ -1,9 +0,0 @@ -errors: - BadRequestBody: - status-code: 400 - type: BadObjectRequestInfo - -types: - BadObjectRequestInfo: - properties: - message: string diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/inlined-requests.yml b/seed/csharp-sdk/exhaustive/.mock/definition/inlined-requests.yml deleted file mode 100644 index 9347fe7e335..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/inlined-requests.yml +++ /dev/null @@ -1,25 +0,0 @@ -imports: - objects: ./types/object.yml - errors: ./general-errors.yml - -# test req bodies, path params, query params, multiple query params, etc. -# test union and enum as well - -service: - auth: false - base-path: /req-bodies - endpoints: - postWithObjectBodyandResponse: - docs: POST with custom object in request body, response is an object - path: /object - method: POST - request: - name: PostWithObjectBody - body: - properties: - string: string - integer: integer - NestedObject: objects.ObjectWithOptionalField - response: objects.ObjectWithOptionalField - errors: - - errors.BadRequestBody diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/no-auth.yml b/seed/csharp-sdk/exhaustive/.mock/definition/no-auth.yml deleted file mode 100644 index e3c33ed7fab..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/no-auth.yml +++ /dev/null @@ -1,20 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json - -imports: - general-errors: ./general-errors.yml - -service: - auth: false - base-path: /no-auth - endpoints: - postWithNoAuth: - auth: false - docs: POST request with no auth - path: "" - method: POST - request: - name: PostWithNoAuth - body: unknown - response: boolean - errors: - - general-errors.BadRequestBody diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/no-req-body.yml b/seed/csharp-sdk/exhaustive/.mock/definition/no-req-body.yml deleted file mode 100644 index daffd9a495c..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/no-req-body.yml +++ /dev/null @@ -1,16 +0,0 @@ -imports: - objects: ./types/object.yml - -service: - auth: true - base-path: /no-req-body - endpoints: - getWithNoRequestBody: - path: "" - method: GET - response: objects.ObjectWithOptionalField - - postWithNoRequestBody: - path: "" - method: POST - response: string diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/req-with-headers.yml b/seed/csharp-sdk/exhaustive/.mock/definition/req-with-headers.yml deleted file mode 100644 index 9e49725782f..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/req-with-headers.yml +++ /dev/null @@ -1,14 +0,0 @@ -service: - base-path: /test-headers - auth: true - headers: - X-TEST-SERVICE-HEADER: string - endpoints: - getWithCustomHeader: - path: /custom-header - method: POST - request: - name: ReqWithHeaders - headers: - X-TEST-ENDPOINT-HEADER: string - body: string diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/types/enum.yml b/seed/csharp-sdk/exhaustive/.mock/definition/types/enum.yml deleted file mode 100644 index a90686092e9..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/types/enum.yml +++ /dev/null @@ -1,12 +0,0 @@ -types: - WeatherReport: - enum: - - SUNNY - - CLOUDY - - RAINING - - SNOWING - -errors: - ErrorWithEnumBody: - status-code: 400 - type: WeatherReport #does this even make sense? the type of the error body would be enum, and it could only be one of the 4 values? diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/types/object.yml b/seed/csharp-sdk/exhaustive/.mock/definition/types/object.yml deleted file mode 100644 index a165ed94cfe..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/types/object.yml +++ /dev/null @@ -1,59 +0,0 @@ -types: - ObjectWithOptionalField: #generic object that supports any type, makes it easier to use when testing - properties: - string: - type: optional - docs: This is a rather long descriptor of this single field in a more complex type. If you ask me I think this is a pretty good description for this field all things considered. - integer: optional - long: optional - double: optional - bool: optional - datetime: optional - date: optional - uuid: optional - base64: optional - list: optional> - set: optional> - map: optional> - bigint: optional - - ObjectWithRequiredField: - properties: - string: string - - ObjectWithMapOfMap: - properties: - map: map> - - NestedObjectWithOptionalField: - properties: - string: optional - NestedObject: optional - - NestedObjectWithRequiredField: - properties: - string: string - NestedObject: ObjectWithOptionalField - - DoubleOptional: - properties: - optionalAlias: optional - - OptionalAlias: optional - -errors: - ObjectWithOptionalFieldError: - status-code: 400 - type: ObjectWithOptionalField - - ObjectWithRequiredFieldError: - status-code: 400 - type: ObjectWithRequiredField - - NestedObjectWithOptionalFieldError: - status-code: 400 - type: NestedObjectWithOptionalField - - NestedObjectWithRequiredFieldError: - status-code: 400 - type: NestedObjectWithRequiredField diff --git a/seed/csharp-sdk/exhaustive/.mock/definition/types/union.yml b/seed/csharp-sdk/exhaustive/.mock/definition/types/union.yml deleted file mode 100644 index 99ce8c75ed0..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/definition/types/union.yml +++ /dev/null @@ -1,21 +0,0 @@ -types: - Animal: - discriminant: animal - union: - dog: Dog - cat: Cat - - Dog: - properties: - name: string - likesToWoof: boolean - - Cat: - properties: - name: string - likesToMeow: boolean - -errors: - ErrorWithUnionBody: - status-code: 400 - type: Animal #has to send either dog or cat object in error body diff --git a/seed/csharp-sdk/exhaustive/.mock/fern.config.json b/seed/csharp-sdk/exhaustive/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/exhaustive/.mock/generators.yml b/seed/csharp-sdk/exhaustive/.mock/generators.yml deleted file mode 100644 index 0967ef424bc..00000000000 --- a/seed/csharp-sdk/exhaustive/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs index a24f6e78ff6..5572de663e2 100644 --- a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj index 6079b5642c6..cc628bfe61c 100644 --- a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj +++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs index 432e53acf06..39f52430b49 100644 --- a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln new file mode 100644 index 00000000000..96a4273789b --- /dev/null +++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{064477CB-3E62-4EBC-9AA0-914FF46059FB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{0890D69E-197E-4691-B1F5-39405824BA85}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Release|Any CPU.Build.0 = Release|Any CPU + {0890D69E-197E-4691-B1F5-39405824BA85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0890D69E-197E-4691-B1F5-39405824BA85}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0890D69E-197E-4691-B1F5-39405824BA85}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0890D69E-197E-4691-B1F5-39405824BA85}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive/SeedExhaustive.csproj b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive/SeedExhaustive.csproj index 5c9a6517d3f..9a606e36c56 100644 --- a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive/SeedExhaustive.csproj +++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive/SeedExhaustive.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs index a24f6e78ff6..5572de663e2 100644 --- a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj index 6079b5642c6..cc628bfe61c 100644 --- a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj +++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs index 432e53acf06..39f52430b49 100644 --- a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln new file mode 100644 index 00000000000..04eced60f12 --- /dev/null +++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{74CF4D2F-7503-47EB-AC4A-75EDE80488E6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{9D825F7B-31CA-4BB5-88F0-390E48206AA9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Release|Any CPU.Build.0 = Release|Any CPU + {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive/SeedExhaustive.csproj b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive/SeedExhaustive.csproj index 5c9a6517d3f..9a606e36c56 100644 --- a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive/SeedExhaustive.csproj +++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive/SeedExhaustive.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs index a24f6e78ff6..5572de663e2 100644 --- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj index 6079b5642c6..cc628bfe61c 100644 --- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj +++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs index aacc3575004..1ea66db04d3 100644 --- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/Unit/MockServer/BaseMockServerTest.cs @@ -36,5 +36,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln new file mode 100644 index 00000000000..998b00e03d8 --- /dev/null +++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{3AF88E47-A07E-4912-B468-52A858509D82}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Release|Any CPU.Build.0 = Release|Any CPU + {3AF88E47-A07E-4912-B468-52A858509D82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3AF88E47-A07E-4912-B468-52A858509D82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3AF88E47-A07E-4912-B468-52A858509D82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3AF88E47-A07E-4912-B468-52A858509D82}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive/SeedExhaustive.csproj b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive/SeedExhaustive.csproj index 5c9a6517d3f..9a606e36c56 100644 --- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive/SeedExhaustive.csproj +++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive/SeedExhaustive.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/exhaustive/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/exhaustive/snippet-templates.json b/seed/csharp-sdk/exhaustive/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/exhaustive/snippet.json b/seed/csharp-sdk/exhaustive/snippet.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj deleted file mode 100644 index de634df8c3f..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive.Test/TestClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive.Test/TestClient.cs deleted file mode 100644 index acd74bcc5fd..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedExhaustive.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/ClientOptions.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/ClientOptions.cs deleted file mode 100644 index 46bacbeeede..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/ClientOptions.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Net.Http; - -#nullable enable - -namespace SeedExhaustive.Core; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request in seconds. - /// - public int TimeoutInSeconds { get; init; } = 30; -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/CollectionItemSerializer.cs deleted file mode 100644 index 8395b72b680..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedExhaustive.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -public class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/Constants.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/Constants.cs deleted file mode 100644 index 71df1cc4a74..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/Constants.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedExhaustive.Core; - -public static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/DateTimeSerializer.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/DateTimeSerializer.cs deleted file mode 100644 index 9ae8e088585..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedExhaustive.Core; - -public class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/HttpMethodExtensions.cs deleted file mode 100644 index 3b2d73dd40b..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedExhaustive.Core; - -public static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/JsonConfiguration.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/JsonConfiguration.cs deleted file mode 100644 index c4a7baf237d..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/JsonConfiguration.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Text.Json; - -namespace SeedExhaustive.Core; - -public static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer() }, - WriteIndented = true - }; - } -} - -public static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/OneOfSerializer.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/OneOfSerializer.cs deleted file mode 100644 index 436e818be12..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedExhaustive.Core; - -public class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/RawClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/RawClient.cs deleted file mode 100644 index 3d5e0af6ca3..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/RawClient.cs +++ /dev/null @@ -1,129 +0,0 @@ -using System.Net.Http; -using System.Text; - -namespace SeedExhaustive.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -public class RawClient( - Dictionary headers, - Dictionary> headerSuppliers, - ClientOptions clientOptions -) -{ - /// - /// The http client used to make requests. - /// - public readonly ClientOptions Options = clientOptions; - - /// - /// Global headers to be sent with every request. - /// - private readonly Dictionary _headers = headers; - - public async Task MakeRequestAsync(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - // Add global headers to the request - foreach (var header in _headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add global headers to the request from supplier - foreach (var header in headerSuppliers) - { - httpRequest.Headers.Add(header.Key, header.Value.Invoke()); - } - // Add request headers to the request - foreach (var header in request.Headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add the request body to the request - if (request is JsonApiRequest jsonRequest) - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - } - else if (request is StreamApiRequest { Body: not null } streamRequest) - { - httpRequest.Content = new StreamContent(streamRequest.Body); - } - // Send the request - var response = await Options.HttpClient.SendAsync(httpRequest); - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Dictionary Headers { get; init; } = new(); - - public object? RequestOptions { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private string BuildUrl(BaseApiRequest request) - { - var trimmedBaseUrl = request.BaseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => current + $"{queryItem.Key}={queryItem.Value}&" - ); - url = url.Substring(0, url.Length - 1); - return url; - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/StringEnumSerializer.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/StringEnumSerializer.cs deleted file mode 100644 index b5eabf20de4..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedExhaustive.Core; - -public class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Container/ContainerClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Container/ContainerClient.cs deleted file mode 100644 index cee9cde0f41..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Container/ContainerClient.cs +++ /dev/null @@ -1,164 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class ContainerClient -{ - private RawClient _client; - - public ContainerClient(RawClient client) - { - _client = client; - } - - public async Task> GetAndReturnListOfPrimitivesAsync( - IEnumerable request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/list-of-primitives", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize>(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task> GetAndReturnListOfObjectsAsync( - IEnumerable request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/list-of-objects", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize>(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task> GetAndReturnSetOfPrimitivesAsync(HashSet request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/set-of-primitives", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize>(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task> GetAndReturnSetOfObjectsAsync( - HashSet request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/set-of-objects", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize>(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task> GetAndReturnMapPrimToPrimAsync( - Dictionary request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/map-prim-to-prim", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize>(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task< - Dictionary - > GetAndReturnMapOfPrimToObjectAsync(Dictionary request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/map-prim-to-object", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize>( - responseBody - )!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnOptionalAsync( - ObjectWithRequiredField? request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/container/opt-objects", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/EndpointsClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/EndpointsClient.cs deleted file mode 100644 index b40de4b41dc..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/EndpointsClient.cs +++ /dev/null @@ -1,37 +0,0 @@ -using SeedExhaustive.Core; -using SeedExhaustive.Endpoints; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class EndpointsClient -{ - private RawClient _client; - - public EndpointsClient(RawClient client) - { - _client = client; - Container = new ContainerClient(_client); - Enum = new EnumClient(_client); - HttpMethods = new HttpMethodsClient(_client); - Object = new ObjectClient(_client); - Params = new ParamsClient(_client); - Primitive = new PrimitiveClient(_client); - Union = new UnionClient(_client); - } - - public ContainerClient Container { get; } - - public EnumClient Enum { get; } - - public HttpMethodsClient HttpMethods { get; } - - public ObjectClient Object { get; } - - public ParamsClient Params { get; } - - public PrimitiveClient Primitive { get; } - - public UnionClient Union { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Enum/EnumClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Enum/EnumClient.cs deleted file mode 100644 index c8ce8e0a258..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Enum/EnumClient.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class EnumClient -{ - private RawClient _client; - - public EnumClient(RawClient client) - { - _client = client; - } - - public async Task GetAndReturnEnumAsync(WeatherReport request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/enum", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/HttpMethods/HttpMethodsClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/HttpMethods/HttpMethodsClient.cs deleted file mode 100644 index 9c92e5581fc..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/HttpMethods/HttpMethodsClient.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class HttpMethodsClient -{ - private RawClient _client; - - public HttpMethodsClient(RawClient client) - { - _client = client; - } - - public async Task TestGetAsync(string id) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = $"/http-methods/{id}" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task TestPostAsync(ObjectWithRequiredField request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/http-methods", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task TestPutAsync( - string id, - ObjectWithRequiredField request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Put, - Path = $"/http-methods/{id}", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task TestPatchAsync( - string id, - ObjectWithOptionalField request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethodExtensions.Patch, - Path = $"/http-methods/{id}", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task TestDeleteAsync(string id) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Delete, - Path = $"/http-methods/{id}" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Object/ObjectClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Object/ObjectClient.cs deleted file mode 100644 index 5830657471b..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Object/ObjectClient.cs +++ /dev/null @@ -1,142 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class ObjectClient -{ - private RawClient _client; - - public ObjectClient(RawClient client) - { - _client = client; - } - - public async Task GetAndReturnWithOptionalFieldAsync( - ObjectWithOptionalField request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/object/get-and-return-with-optional-field", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnWithRequiredFieldAsync( - ObjectWithRequiredField request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/object/get-and-return-with-required-field", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnWithMapOfMapAsync(ObjectWithMapOfMap request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/object/get-and-return-with-map-of-map", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnNestedWithOptionalFieldAsync( - NestedObjectWithOptionalField request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/object/get-and-return-nested-with-optional-field", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnNestedWithRequiredFieldAsync( - string string_, - NestedObjectWithRequiredField request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = $"/object/get-and-return-nested-with-required-field/{string_}", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnNestedWithRequiredFieldAsListAsync( - IEnumerable request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/object/get-and-return-nested-with-required-field-list", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/ParamsClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/ParamsClient.cs deleted file mode 100644 index edce85b0b21..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/ParamsClient.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; -using SeedExhaustive.Endpoints; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class ParamsClient -{ - private RawClient _client; - - public ParamsClient(RawClient client) - { - _client = client; - } - - /// - /// GET with path param - /// - public async Task GetWithPathAsync(string param) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = $"/params/path/{param}" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - /// - /// GET with query param - /// - public async Task GetWithQueryAsync(GetWithQuery request) - { - var _query = new Dictionary() - { - { "query", request.Query }, - { "number", request.Number.ToString() }, - }; - await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = "/params", - Query = _query - } - ); - } - - /// - /// GET with multiple of same query param - /// - public async Task GetWithAllowMultipleQueryAsync(GetWithMultipleQuery request) - { - var _query = new Dictionary() - { - { "query", request.Query }, - { "numer", request.Numer.ToString() }, - }; - await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = "/params", - Query = _query - } - ); - } - - /// - /// GET with path and query params - /// - public async Task GetWithPathAndQueryAsync(string param, GetWithPathAndQuery request) - { - var _query = new Dictionary() { { "query", request.Query }, }; - await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = $"/params/path-query/{param}", - Query = _query - } - ); - } - - /// - /// PUT to update with path param - /// - public async Task ModifyWithPathAsync(string param, string request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Put, - Path = $"/params/path/{param}", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithMultipleQuery.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithMultipleQuery.cs deleted file mode 100644 index ac0b70ce277..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithMultipleQuery.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace SeedExhaustive.Endpoints; - -public record GetWithMultipleQuery -{ - public required string Query { get; } - - public required int Numer { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithPathAndQuery.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithPathAndQuery.cs deleted file mode 100644 index 4a1bbcaa204..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithPathAndQuery.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedExhaustive.Endpoints; - -public record GetWithPathAndQuery -{ - public required string Query { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithQuery.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithQuery.cs deleted file mode 100644 index 1e79c7d5ae0..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Params/Requests/GetWithQuery.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace SeedExhaustive.Endpoints; - -public record GetWithQuery -{ - public required string Query { get; } - - public required int Number { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Primitive/PrimitiveClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Primitive/PrimitiveClient.cs deleted file mode 100644 index c1fab3833be..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Primitive/PrimitiveClient.cs +++ /dev/null @@ -1,187 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class PrimitiveClient -{ - private RawClient _client; - - public PrimitiveClient(RawClient client) - { - _client = client; - } - - public async Task GetAndReturnStringAsync(string request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/string", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnIntAsync(int request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/integer", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnLongAsync(long request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/long", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnDoubleAsync(double request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/double", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnBoolAsync(bool request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/boolean", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnDatetimeAsync(DateTime request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/datetime", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnDateAsync(DateOnly request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/date", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnUuidAsync(string request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/uuid", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task GetAndReturnBase64Async(string request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/primitive/base64", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Union/UnionClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Union/UnionClient.cs deleted file mode 100644 index d09941b201c..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Endpoints/Union/UnionClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive.Endpoints; - -public class UnionClient -{ - private RawClient _client; - - public UnionClient(RawClient client) - { - _client = client; - } - - public async Task GetAndReturnUnionAsync(object request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/union", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/GeneralErrors/GeneralErrorsClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/GeneralErrors/GeneralErrorsClient.cs deleted file mode 100644 index 75a09dcdaf0..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/GeneralErrors/GeneralErrorsClient.cs +++ /dev/null @@ -1,15 +0,0 @@ -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive; - -public class GeneralErrorsClient -{ - private RawClient _client; - - public GeneralErrorsClient(RawClient client) - { - _client = client; - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/GeneralErrors/Types/BadObjectRequestInfo.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/GeneralErrors/Types/BadObjectRequestInfo.cs deleted file mode 100644 index cdafeb2bede..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/GeneralErrors/Types/BadObjectRequestInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive; - -public record BadObjectRequestInfo -{ - [JsonPropertyName("message")] - public required string Message { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/InlinedRequests/InlinedRequestsClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/InlinedRequests/InlinedRequestsClient.cs deleted file mode 100644 index 3340b88746e..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/InlinedRequests/InlinedRequestsClient.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Net.Http; -using SeedExhaustive; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive; - -public class InlinedRequestsClient -{ - private RawClient _client; - - public InlinedRequestsClient(RawClient client) - { - _client = client; - } - - /// - /// POST with custom object in request body, response is an object - /// - public async Task PostWithObjectBodyandResponseAsync( - PostWithObjectBody request - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/req-bodies/object", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/InlinedRequests/Requests/PostWithObjectBody.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/InlinedRequests/Requests/PostWithObjectBody.cs deleted file mode 100644 index e2991e8ff16..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/InlinedRequests/Requests/PostWithObjectBody.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Text.Json.Serialization; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive; - -public record PostWithObjectBody -{ - [JsonPropertyName("string")] - public required string String { get; } - - [JsonPropertyName("integer")] - public required int Integer { get; } - - [JsonPropertyName("NestedObject")] - public required ObjectWithOptionalField NestedObject { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/NoAuth/NoAuthClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/NoAuth/NoAuthClient.cs deleted file mode 100644 index 338818bac46..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/NoAuth/NoAuthClient.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive; - -public class NoAuthClient -{ - private RawClient _client; - - public NoAuthClient(RawClient client) - { - _client = client; - } - - /// - /// POST request with no auth - /// - public async Task PostWithNoAuthAsync(object request) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/no-auth", - Body = request - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/NoReqBody/NoReqBodyClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/NoReqBody/NoReqBodyClient.cs deleted file mode 100644 index b57ef85a21b..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/NoReqBody/NoReqBodyClient.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Net.Http; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive; - -public class NoReqBodyClient -{ - private RawClient _client; - - public NoReqBodyClient(RawClient client) - { - _client = client; - } - - public async Task GetWithNoRequestBodyAsync() - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = "/no-req-body" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } - - public async Task PostWithNoRequestBodyAsync() - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/no-req-body" - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - return JsonUtils.Deserialize(responseBody)!; - } - throw new Exception(responseBody); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/ReqWithHeaders/ReqWithHeadersClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/ReqWithHeaders/ReqWithHeadersClient.cs deleted file mode 100644 index f082d6a37aa..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/ReqWithHeaders/ReqWithHeadersClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Net.Http; -using SeedExhaustive; -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive; - -public class ReqWithHeadersClient -{ - private RawClient _client; - - public ReqWithHeadersClient(RawClient client) - { - _client = client; - } - - public async Task GetWithCustomHeaderAsync(ReqWithHeaders request) - { - var _headers = new Dictionary() - { - { "X-TEST-ENDPOINT-HEADER", request.XTestEndpointHeader }, - }; - await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/test-headers/custom-header", - Body = request.Body, - Headers = _headers - } - ); - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/ReqWithHeaders/Requests/ReqWithHeaders.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/ReqWithHeaders/Requests/ReqWithHeaders.cs deleted file mode 100644 index 5516510d2d3..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/ReqWithHeaders/Requests/ReqWithHeaders.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace SeedExhaustive; - -public record ReqWithHeaders -{ - public required string XTestEndpointHeader { get; } - - public required string Body { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj deleted file mode 100644 index 2b10d803a14..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/SeedExhaustive.csproj +++ /dev/null @@ -1,45 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/exhaustive/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/SeedExhaustiveClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/SeedExhaustiveClient.cs deleted file mode 100644 index 65dbcc2d7c3..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/SeedExhaustiveClient.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using SeedExhaustive; -using SeedExhaustive.Core; -using SeedExhaustive.Endpoints; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive; - -public partial class SeedExhaustiveClient -{ - private RawClient _client; - - public SeedExhaustiveClient(string token, ClientOptions? clientOptions = null) - { - _client = new RawClient( - new Dictionary() { { "X-Fern-Language", "C#" }, }, - new Dictionary>() { }, - clientOptions ?? new ClientOptions() - ); - Endpoints = new EndpointsClient(_client); - GeneralErrors = new GeneralErrorsClient(_client); - InlinedRequests = new InlinedRequestsClient(_client); - NoAuth = new NoAuthClient(_client); - NoReqBody = new NoReqBodyClient(_client); - ReqWithHeaders = new ReqWithHeadersClient(_client); - Types = new TypesClient(_client); - } - - public EndpointsClient Endpoints { get; init; } - - public GeneralErrorsClient GeneralErrors { get; init; } - - public InlinedRequestsClient InlinedRequests { get; init; } - - public NoAuthClient NoAuth { get; init; } - - public NoReqBodyClient NoReqBody { get; init; } - - public ReqWithHeadersClient ReqWithHeaders { get; init; } - - public TypesClient Types { get; init; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Enum/EnumClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Enum/EnumClient.cs deleted file mode 100644 index b5043ed15df..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Enum/EnumClient.cs +++ /dev/null @@ -1,15 +0,0 @@ -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive.Types; - -public class EnumClient -{ - private RawClient _client; - - public EnumClient(RawClient client) - { - _client = client; - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Enum/Types/WeatherReport.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Enum/Types/WeatherReport.cs deleted file mode 100644 index f767ce9ebf8..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Enum/Types/WeatherReport.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json.Serialization; -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Types; - -[JsonConverter(typeof(StringEnumSerializer))] -public enum WeatherReport -{ - [EnumMember(Value = "SUNNY")] - Sunny, - - [EnumMember(Value = "CLOUDY")] - Cloudy, - - [EnumMember(Value = "RAINING")] - Raining, - - [EnumMember(Value = "SNOWING")] - Snowing -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/ObjectClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/ObjectClient.cs deleted file mode 100644 index 39ffac3b94f..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/ObjectClient.cs +++ /dev/null @@ -1,15 +0,0 @@ -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive.Types; - -public class ObjectClient -{ - private RawClient _client; - - public ObjectClient(RawClient client) - { - _client = client; - } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/DoubleOptional.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/DoubleOptional.cs deleted file mode 100644 index c3507857f05..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/DoubleOptional.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record DoubleOptional -{ - [JsonPropertyName("optionalAlias")] - public string? OptionalAlias { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/NestedObjectWithOptionalField.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/NestedObjectWithOptionalField.cs deleted file mode 100644 index 31ffb59795c..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/NestedObjectWithOptionalField.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Text.Json.Serialization; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record NestedObjectWithOptionalField -{ - [JsonPropertyName("string")] - public string? String { get; } - - [JsonPropertyName("NestedObject")] - public ObjectWithOptionalField? NestedObject { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/NestedObjectWithRequiredField.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/NestedObjectWithRequiredField.cs deleted file mode 100644 index e3649063778..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/NestedObjectWithRequiredField.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Text.Json.Serialization; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record NestedObjectWithRequiredField -{ - [JsonPropertyName("string")] - public required string String { get; } - - [JsonPropertyName("NestedObject")] - public required ObjectWithOptionalField NestedObject { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithMapOfMap.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithMapOfMap.cs deleted file mode 100644 index c00fe82600e..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithMapOfMap.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record ObjectWithMapOfMap -{ - [JsonPropertyName("map")] - public Dictionary> Map { get; } = - new Dictionary>(); -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithOptionalField.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithOptionalField.cs deleted file mode 100644 index 3220701e9ad..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithOptionalField.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record ObjectWithOptionalField -{ - /// - /// This is a rather long descriptor of this single field in a more complex type. If you ask me I think this is a pretty good description for this field all things considered. - /// - [JsonPropertyName("string")] - public string? String { get; } - - [JsonPropertyName("integer")] - public int? Integer { get; } - - [JsonPropertyName("long")] - public long? Long { get; } - - [JsonPropertyName("double")] - public double? Double { get; } - - [JsonPropertyName("bool")] - public bool? Bool { get; } - - [JsonPropertyName("datetime")] - public DateTime? Datetime { get; } - - [JsonPropertyName("date")] - public DateOnly? Date { get; } - - [JsonPropertyName("uuid")] - public string? Uuid { get; } - - [JsonPropertyName("base64")] - public string? Base64 { get; } - - [JsonPropertyName("list")] - public IEnumerable? List { get; } - - [JsonPropertyName("set")] - public HashSet? Set { get; } - - [JsonPropertyName("map")] - public Dictionary? Map { get; } - - [JsonPropertyName("bigint")] - public int? Bigint { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithRequiredField.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithRequiredField.cs deleted file mode 100644 index f05ffe2e23a..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Object/Types/ObjectWithRequiredField.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record ObjectWithRequiredField -{ - [JsonPropertyName("string")] - public required string String { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/TypesClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/TypesClient.cs deleted file mode 100644 index 607f1e1b3c0..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/TypesClient.cs +++ /dev/null @@ -1,25 +0,0 @@ -using SeedExhaustive.Core; -using SeedExhaustive.Types; - -#nullable enable - -namespace SeedExhaustive.Types; - -public class TypesClient -{ - private RawClient _client; - - public TypesClient(RawClient client) - { - _client = client; - Enum = new EnumClient(_client); - Object = new ObjectClient(_client); - Union = new UnionClient(_client); - } - - public EnumClient Enum { get; } - - public ObjectClient Object { get; } - - public UnionClient Union { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/Types/Cat.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/Types/Cat.cs deleted file mode 100644 index 4ec3e3d0982..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/Types/Cat.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record Cat -{ - [JsonPropertyName("name")] - public required string Name { get; } - - [JsonPropertyName("likesToMeow")] - public required bool LikesToMeow { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/Types/Dog.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/Types/Dog.cs deleted file mode 100644 index ac225b420ed..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/Types/Dog.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedExhaustive.Types; - -public record Dog -{ - [JsonPropertyName("name")] - public required string Name { get; } - - [JsonPropertyName("likesToWoof")] - public required bool LikesToWoof { get; } -} diff --git a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/UnionClient.cs b/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/UnionClient.cs deleted file mode 100644 index c15404ad06b..00000000000 --- a/seed/csharp-sdk/exhaustive/src/SeedExhaustive/Types/Union/UnionClient.cs +++ /dev/null @@ -1,15 +0,0 @@ -using SeedExhaustive.Core; - -#nullable enable - -namespace SeedExhaustive.Types; - -public class UnionClient -{ - private RawClient _client; - - public UnionClient(RawClient client) - { - _client = client; - } -} diff --git a/seed/csharp-sdk/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs index b0c49d38916..6d9b555b690 100644 --- a/seed/csharp-sdk/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/extends/src/SeedExtends.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj b/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj index 205ec201666..b460424eab6 100644 --- a/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj +++ b/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/extends/src/SeedExtends.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/extends/src/SeedExtends.Test/Unit/MockServer/BaseMockServerTest.cs index 196a480e02f..4e8e2b940a9 100644 --- a/seed/csharp-sdk/extends/src/SeedExtends.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/extends/src/SeedExtends.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/extends/src/SeedExtends.sln b/seed/csharp-sdk/extends/src/SeedExtends.sln new file mode 100644 index 00000000000..3c2cff7ba2a --- /dev/null +++ b/seed/csharp-sdk/extends/src/SeedExtends.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends", "SeedExtends\SeedExtends.csproj", "{3CD221B7-7324-47A6-BF4E-11CA297C5DA0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends.Test", "SeedExtends.Test\SeedExtends.Test.csproj", "{1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Release|Any CPU.Build.0 = Release|Any CPU + {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/extends/src/SeedExtends/SeedExtends.csproj b/seed/csharp-sdk/extends/src/SeedExtends/SeedExtends.csproj index 7d332e1d634..51cd1db405a 100644 --- a/seed/csharp-sdk/extends/src/SeedExtends/SeedExtends.csproj +++ b/seed/csharp-sdk/extends/src/SeedExtends/SeedExtends.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/extends/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs index b0d546572c6..7c571946c86 100644 --- a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj index 1339409021f..4b6eae5a36b 100644 --- a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj +++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Unit/MockServer/BaseMockServerTest.cs index f2781dc9f58..ed9ff2d8d16 100644 --- a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln new file mode 100644 index 00000000000..55734c4faa9 --- /dev/null +++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties", "SeedExtraProperties\SeedExtraProperties.csproj", "{3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties.Test", "SeedExtraProperties.Test\SeedExtraProperties.Test.csproj", "{B80588D0-9DB9-42FA-A0C5-0959A863F749}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Release|Any CPU.Build.0 = Release|Any CPU + {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj index a45da639e5e..b085b4751cd 100644 --- a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj +++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties/SeedExtraProperties.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/extra-properties/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs index c0a4997b9de..43ce3eef991 100644 --- a/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj b/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj index 4ce7f332a68..92f414fcfb7 100644 --- a/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj +++ b/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/file-download/src/SeedFileDownload.sln b/seed/csharp-sdk/file-download/src/SeedFileDownload.sln new file mode 100644 index 00000000000..30d83ad70fe --- /dev/null +++ b/seed/csharp-sdk/file-download/src/SeedFileDownload.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload", "SeedFileDownload\SeedFileDownload.csproj", "{21138A61-F968-4882-B2F7-7DE4FB2C76D6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload.Test", "SeedFileDownload.Test\SeedFileDownload.Test.csproj", "{EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Release|Any CPU.Build.0 = Release|Any CPU + {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/file-download/src/SeedFileDownload/SeedFileDownload.csproj b/seed/csharp-sdk/file-download/src/SeedFileDownload/SeedFileDownload.csproj index 18ebe40da16..5e7a5f0b9b3 100644 --- a/seed/csharp-sdk/file-download/src/SeedFileDownload/SeedFileDownload.csproj +++ b/seed/csharp-sdk/file-download/src/SeedFileDownload/SeedFileDownload.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/file-download/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs index 0ead8f79135..a97647b8b1b 100644 --- a/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj b/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj index a11db87a960..e17786a850b 100644 --- a/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj +++ b/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln b/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln new file mode 100644 index 00000000000..21e37fe81e4 --- /dev/null +++ b/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload", "SeedFileUpload\SeedFileUpload.csproj", "{70B530A2-76D5-41C5-A411-FE2F1E3F2057}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload.Test", "SeedFileUpload.Test\SeedFileUpload.Test.csproj", "{72743831-35C1-4775-9A80-0668AB1E20E3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Debug|Any CPU.Build.0 = Debug|Any CPU + {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Release|Any CPU.ActiveCfg = Release|Any CPU + {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Release|Any CPU.Build.0 = Release|Any CPU + {72743831-35C1-4775-9A80-0668AB1E20E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {72743831-35C1-4775-9A80-0668AB1E20E3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {72743831-35C1-4775-9A80-0668AB1E20E3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {72743831-35C1-4775-9A80-0668AB1E20E3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/file-upload/src/SeedFileUpload/SeedFileUpload.csproj b/seed/csharp-sdk/file-upload/src/SeedFileUpload/SeedFileUpload.csproj index ee9fbfc593c..c1d87b48256 100644 --- a/seed/csharp-sdk/file-upload/src/SeedFileUpload/SeedFileUpload.csproj +++ b/seed/csharp-sdk/file-upload/src/SeedFileUpload/SeedFileUpload.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/file-upload/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/folders/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/folders/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/folders/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs index d60f783110a..564aee6a060 100644 --- a/seed/csharp-sdk/folders/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/folders/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/folders/src/SeedApi.sln b/seed/csharp-sdk/folders/src/SeedApi.sln new file mode 100644 index 00000000000..06433c06a50 --- /dev/null +++ b/seed/csharp-sdk/folders/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{5890DAD8-F59C-4F33-9905-14E98184752F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{7D7E4342-7B94-4284-948F-A77E6C10B14C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5890DAD8-F59C-4F33-9905-14E98184752F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5890DAD8-F59C-4F33-9905-14E98184752F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5890DAD8-F59C-4F33-9905-14E98184752F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5890DAD8-F59C-4F33-9905-14E98184752F}.Release|Any CPU.Build.0 = Release|Any CPU + {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/folders/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/folders/src/SeedApi/SeedApi.csproj index bba6a3d60b7..5c67ac4ddd0 100644 --- a/seed/csharp-sdk/folders/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/folders/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/folders/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.github/workflows/ci.yml b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.gitignore b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.gitignore deleted file mode 100644 index 11014f2b33d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -## This is based on `dotnet new gitignore` and customized by Fern - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -# [Rr]elease/ (Ignored by Fern) -# [Rr]eleases/ (Ignored by Fern) -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -# [Ll]og/ (Ignored by Fern) -# [Ll]ogs/ (Ignored by Fern) - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/fern.config.json b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml deleted file mode 100644 index 972ed6d7b73..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/generators.yml +++ /dev/null @@ -1,6 +0,0 @@ -api: - - proto: - root: proto - target: proto/data/v1/data.proto - overrides: overrides.yml - local-generation: true \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/overrides.yml b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/overrides.yml deleted file mode 100644 index 062b98c2ccb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/overrides.yml +++ /dev/null @@ -1,56 +0,0 @@ - -paths: - /data/fetch: - get: - x-fern-request-name: FetchRequest - /data/list: - get: - x-fern-request-name: ListRequest -components: - schemas: - Metadata: - oneOf: - - type: object - additionalProperties: - $ref: '#/components/schemas/MetadataValue' - - type: object - x-fern-encoding: - proto: - type: google.protobuf.Struct - MetadataValue: - oneOf: - - type: number - format: double - - type: string - - type: boolean - x-fern-encoding: - proto: - type: google.protobuf.Value - DeleteRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - DescribeRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - QueryRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - QueryColumn: - properties: - filter: - $ref: '#/components/schemas/Metadata' - ScoredColumn: - properties: - metadata: - $ref: '#/components/schemas/Metadata' - UpdateRequest: - properties: - setMetadata: - $ref: '#/components/schemas/Metadata' - Column: - properties: - metadata: - $ref: '#/components/schemas/Metadata' \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/data/v1/data.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/data/v1/data.proto deleted file mode 100644 index dc3b07ece42..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/data/v1/data.proto +++ /dev/null @@ -1,213 +0,0 @@ -syntax = "proto3"; - -package data.v1; - -import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Data.V1.Grpc"; -option go_package = "github.com/acme.co/data-go-grpc"; - -message IndexedData { - repeated uint32 indices = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; -} - -message Column { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct metadata = 3; - IndexedData indexed_data = 4; -} - -message ScoredColumn { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - float score = 2; - repeated float values = 3; - google.protobuf.Struct metadata = 4; - IndexedData indexed_data = 5; -} - -message UploadRequest { - repeated Column columns = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message UploadResponse { - uint32 count = 1; -} - -message DeleteRequest { - repeated string ids = 1; - bool delete_all = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; -} - -message DeleteResponse {} - -message FetchRequest { - repeated string ids = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message FetchResponse { - map columns = 1; - string namespace = 2; - optional Usage usage = 3; -} - -message ListRequest { - optional string prefix = 1; - optional uint32 limit = 2; - optional string pagination_token = 3; - string namespace = 4; -} - -message Pagination { - string next = 1; -} - -message ListElement { - string id = 1; -} - -message ListResponse { - repeated ListElement columns = 1; - optional Pagination pagination = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message QueryColumn { - repeated float values = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - uint32 top_k = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; - IndexedData indexed_data = 5; -} - -message QueryRequest { - string namespace = 1; - uint32 top_k = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct filter = 3; - bool include_values = 4; - bool include_metadata = 5; - repeated QueryColumn queries = 6 [ - deprecated = true - ]; - repeated float column = 7; - string id = 8; - IndexedData indexed_data = 9; -} - -message QueryResult { - repeated ScoredColumn matches = 1; - string namespace = 2; -} - -message QueryResponse { - repeated QueryResult results = 1 [deprecated=true]; - repeated ScoredColumn matches = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message Usage { - optional uint32 units = 1; -} - -message UpdateRequest { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2; - google.protobuf.Struct set_metadata = 3; - string namespace = 4; - IndexedData indexed_data = 5; -} - -message UpdateResponse {} - -message DescribeRequest { - google.protobuf.Struct filter = 1; -} - -message NamespaceSummary { - uint32 count = 1; -} - -message DescribeResponse { - map namespaces = 1; - uint32 dimension = 2; - float fullness = 3; - uint32 total_count = 4; -} - -service DataService { - rpc Upload(UploadRequest) returns (UploadResponse) { - option (google.api.http) = { - post: "/data" - body: "*" - }; - } - - rpc Delete(DeleteRequest) returns (DeleteResponse) { - option (google.api.http) = { - post: "/data/delete" - body: "*" - }; - } - - rpc Fetch(FetchRequest) returns (FetchResponse) { - option (google.api.http) = { - get: "/data/fetch" - }; - } - - rpc List(ListRequest) returns (ListResponse) { - option (google.api.http) = { - get: "/data/list" - }; - } - - rpc Query(QueryRequest) returns (QueryResponse) { - option (google.api.http) = { - post: "/data/query" - body: "*" - }; - } - - rpc Update(UpdateRequest) returns (UpdateResponse) { - option (google.api.http) = { - post: "/data/update" - body: "*" - }; - } - - rpc Describe(DescribeRequest) returns (DescribeResponse) { - option (google.api.http) = { - post: "/data/describe" - body: "*" - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/field_behavior.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/field_behavior.proto deleted file mode 100644 index 128799c558d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/field_behavior.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "FieldBehaviorProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.FieldOptions { - // A designation of a specific field behavior (required, output only, etc.) - // in protobuf messages. - // - // Examples: - // - // string name = 1 [(google.api.field_behavior) = REQUIRED]; - // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // google.protobuf.Duration ttl = 1 - // [(google.api.field_behavior) = INPUT_ONLY]; - // google.protobuf.Timestamp expire_time = 1 - // [(google.api.field_behavior) = OUTPUT_ONLY, - // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; -} - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -enum FieldBehavior { - // Conventional default for enums. Do not use this. - FIELD_BEHAVIOR_UNSPECIFIED = 0; - - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - OPTIONAL = 1; - - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - REQUIRED = 2; - - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - OUTPUT_ONLY = 3; - - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - INPUT_ONLY = 4; - - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - IMMUTABLE = 5; - - // Denotes that a (repeated) field is an unordered list. - // This indicates that the service may provide the elements of the list - // in any arbitrary order, rather than the order the user originally - // provided. Additionally, the list's order may or may not be stable. - UNORDERED_LIST = 6; - - // Denotes that this field returns a non-empty default value if not set. - // This indicates that if the user provides the empty value in a request, - // a non-empty value will be returned. The user will not be aware of what - // non-empty value to expect. - NON_EMPTY_DEFAULT = 7; - - // Denotes that the field in a resource (a message annotated with - // google.api.resource) is used in the resource name to uniquely identify the - // resource. For AIP-compliant APIs, this should only be applied to the - // `name` field on the resource. - // - // This behavior should not be applied to references to other resources within - // the message. - // - // The identifier field of resources often have different field behavior - // depending on the request it is embedded in (e.g. for Create methods name - // is optional and unused, while for Update methods it is required). Instead - // of method-specific annotations, only `IDENTIFIER` is required. - IDENTIFIER = 8; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/.mock/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/README.md b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/README.md deleted file mode 100644 index a605ad810d0..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/README.md +++ /dev/null @@ -1,99 +0,0 @@ -# Seed C# Library - -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Seed%2FC%23) -[![nuget shield](https://img.shields.io/nuget/v/SeedApi)](https://nuget.org/packages/SeedApi) - -The Seed C# library provides convenient access to the Seed API from C#. - -## Installation - -```sh -nuget install SeedApi -``` - -## Usage - -Instantiate and use the client with the following: - -```csharp -using SeedApi; - -var client = new SeedApiClient(); -await client.Dataservice.UploadAsync( - new UploadRequest - { - Columns = new List() - { - new Column - { - Id = "id", - Values = new List() { 1.1f }, - }, - }, - } -); -``` - -## Exception Handling - -When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error -will be thrown. - -```csharp -using SeedApi; - -try { - var response = await client.Dataservice.UploadAsync(...); -} catch (SeedApiApiException e) { - System.Console.WriteLine(e.Body); - System.Console.WriteLine(e.StatusCode); -} -``` - -## Advanced - -### Retries - -The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long -as the request is deemed retriable and the number of retry attempts has not grown larger than the configured -retry limit (default: 2). - -A request is deemed retriable when any of the following HTTP status codes is returned: - -- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) -- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) -- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) - -Use the `MaxRetries` request option to configure this behavior. - -```csharp -var response = await client.Dataservice.UploadAsync( - ..., - new RequestOptions { - MaxRetries: 0 // Override MaxRetries at the request level - } -); -``` - -### Timeouts - -The SDK defaults to a 30 second timeout. Use the `Timeout` option to configure this behavior. - -```csharp -var response = await client.Dataservice.UploadAsync( - ..., - new RequestOptions { - Timeout: TimeSpan.FromSeconds(3) // Override timeout to 3s - } -); -``` - -## Contributing - -While we value open-source contributions to this SDK, this library is generated programmatically. -Additions made directly to this library would have to be moved over to our generation code, -otherwise they would be overwritten upon the next generated release. Feel free to open a PR as -a proof of concept, but know that we will not be able to merge it as-is. We suggest opening -an issue first to discuss with us! - -On the other hand, contributions to the README are always very welcome! \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/data/v1/data.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/data/v1/data.proto deleted file mode 100644 index dc3b07ece42..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/data/v1/data.proto +++ /dev/null @@ -1,213 +0,0 @@ -syntax = "proto3"; - -package data.v1; - -import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Data.V1.Grpc"; -option go_package = "github.com/acme.co/data-go-grpc"; - -message IndexedData { - repeated uint32 indices = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; -} - -message Column { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct metadata = 3; - IndexedData indexed_data = 4; -} - -message ScoredColumn { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - float score = 2; - repeated float values = 3; - google.protobuf.Struct metadata = 4; - IndexedData indexed_data = 5; -} - -message UploadRequest { - repeated Column columns = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message UploadResponse { - uint32 count = 1; -} - -message DeleteRequest { - repeated string ids = 1; - bool delete_all = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; -} - -message DeleteResponse {} - -message FetchRequest { - repeated string ids = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message FetchResponse { - map columns = 1; - string namespace = 2; - optional Usage usage = 3; -} - -message ListRequest { - optional string prefix = 1; - optional uint32 limit = 2; - optional string pagination_token = 3; - string namespace = 4; -} - -message Pagination { - string next = 1; -} - -message ListElement { - string id = 1; -} - -message ListResponse { - repeated ListElement columns = 1; - optional Pagination pagination = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message QueryColumn { - repeated float values = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - uint32 top_k = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; - IndexedData indexed_data = 5; -} - -message QueryRequest { - string namespace = 1; - uint32 top_k = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct filter = 3; - bool include_values = 4; - bool include_metadata = 5; - repeated QueryColumn queries = 6 [ - deprecated = true - ]; - repeated float column = 7; - string id = 8; - IndexedData indexed_data = 9; -} - -message QueryResult { - repeated ScoredColumn matches = 1; - string namespace = 2; -} - -message QueryResponse { - repeated QueryResult results = 1 [deprecated=true]; - repeated ScoredColumn matches = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message Usage { - optional uint32 units = 1; -} - -message UpdateRequest { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2; - google.protobuf.Struct set_metadata = 3; - string namespace = 4; - IndexedData indexed_data = 5; -} - -message UpdateResponse {} - -message DescribeRequest { - google.protobuf.Struct filter = 1; -} - -message NamespaceSummary { - uint32 count = 1; -} - -message DescribeResponse { - map namespaces = 1; - uint32 dimension = 2; - float fullness = 3; - uint32 total_count = 4; -} - -service DataService { - rpc Upload(UploadRequest) returns (UploadResponse) { - option (google.api.http) = { - post: "/data" - body: "*" - }; - } - - rpc Delete(DeleteRequest) returns (DeleteResponse) { - option (google.api.http) = { - post: "/data/delete" - body: "*" - }; - } - - rpc Fetch(FetchRequest) returns (FetchResponse) { - option (google.api.http) = { - get: "/data/fetch" - }; - } - - rpc List(ListRequest) returns (ListResponse) { - option (google.api.http) = { - get: "/data/list" - }; - } - - rpc Query(QueryRequest) returns (QueryResponse) { - option (google.api.http) = { - post: "/data/query" - body: "*" - }; - } - - rpc Update(UpdateRequest) returns (UpdateResponse) { - option (google.api.http) = { - post: "/data/update" - body: "*" - }; - } - - rpc Describe(DescribeRequest) returns (DescribeResponse) { - option (google.api.http) = { - post: "/data/describe" - body: "*" - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/field_behavior.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/field_behavior.proto deleted file mode 100644 index 128799c558d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/field_behavior.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "FieldBehaviorProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.FieldOptions { - // A designation of a specific field behavior (required, output only, etc.) - // in protobuf messages. - // - // Examples: - // - // string name = 1 [(google.api.field_behavior) = REQUIRED]; - // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // google.protobuf.Duration ttl = 1 - // [(google.api.field_behavior) = INPUT_ONLY]; - // google.protobuf.Timestamp expire_time = 1 - // [(google.api.field_behavior) = OUTPUT_ONLY, - // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; -} - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -enum FieldBehavior { - // Conventional default for enums. Do not use this. - FIELD_BEHAVIOR_UNSPECIFIED = 0; - - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - OPTIONAL = 1; - - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - REQUIRED = 2; - - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - OUTPUT_ONLY = 3; - - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - INPUT_ONLY = 4; - - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - IMMUTABLE = 5; - - // Denotes that a (repeated) field is an unordered list. - // This indicates that the service may provide the elements of the list - // in any arbitrary order, rather than the order the user originally - // provided. Additionally, the list's order may or may not be stable. - UNORDERED_LIST = 6; - - // Denotes that this field returns a non-empty default value if not set. - // This indicates that if the user provides the empty value in a request, - // a non-empty value will be returned. The user will not be aware of what - // non-empty value to expect. - NON_EMPTY_DEFAULT = 7; - - // Denotes that the field in a resource (a message annotated with - // google.api.resource) is used in the resource name to uniquely identify the - // resource. For AIP-compliant APIs, this should only be applied to the - // `name` field on the resource. - // - // This behavior should not be applied to references to other resources within - // the message. - // - // The identifier field of resources often have different field behavior - // depending on the request it is embedded in (e.g. for Create methods name - // is optional and unused, while for Update methods it is required). Instead - // of method-specific annotations, only `IDENTIFIER` is required. - IDENTIFIER = 8; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/reference.md b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/reference.md deleted file mode 100644 index 830bacdc726..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/reference.md +++ /dev/null @@ -1,293 +0,0 @@ -# Reference -## DataService -
client.Dataservice.UploadAsync(UploadRequest { ... }) -> UploadResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.UploadAsync( - new UploadRequest - { - Columns = new List() - { - new Column - { - Id = "id", - Values = new List() { 1.1f }, - }, - }, - } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `UploadRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.DeleteAsync(DeleteRequest { ... }) -> DeleteResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.DeleteAsync(new DeleteRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DeleteRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.DescribeAsync(DescribeRequest { ... }) -> DescribeResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.DescribeAsync(new DescribeRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DescribeRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.FetchAsync(FetchRequest { ... }) -> FetchResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.FetchAsync(new FetchRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `FetchRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.ListAsync(ListRequest { ... }) -> ListResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.ListAsync(new ListRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `ListRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.QueryAsync(QueryRequest { ... }) -> QueryResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 }); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `QueryRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.UpdateAsync(UpdateRequest { ... }) -> UpdateResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.UpdateAsync(new UpdateRequest { Id = "id" }); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `UpdateRequest` - -
-
-
-
- - -
-
-
diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/snippet-templates.json b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/snippet.json b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/snippet.json deleted file mode 100644 index 546b49b57ee..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/snippet.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "types": {}, - "endpoints": [ - { - "example_identifier": null, - "id": { - "path": "/data", - "method": "POST", - "identifier_override": "endpoint_dataservice.upload" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.UploadAsync(\n new UploadRequest\n {\n Columns = new List()\n {\n new Column\n {\n Id = \"id\",\n Values = new List() { 1.1f },\n },\n },\n }\n);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/delete", - "method": "POST", - "identifier_override": "endpoint_dataservice.delete" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.DeleteAsync(new DeleteRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/describe", - "method": "POST", - "identifier_override": "endpoint_dataservice.describe" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.DescribeAsync(new DescribeRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/fetch", - "method": "GET", - "identifier_override": "endpoint_dataservice.fetch" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.FetchAsync(new FetchRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/list", - "method": "GET", - "identifier_override": "endpoint_dataservice.list" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.ListAsync(new ListRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/query", - "method": "POST", - "identifier_override": "endpoint_dataservice.query" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 });\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/update", - "method": "POST", - "identifier_override": "endpoint_dataservice.update" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.UpdateAsync(new UpdateRequest { Id = \"id\" });\n" - } - } - ] -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs deleted file mode 100644 index 532d182486b..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; -using NUnit.Framework; -using SeedApi.Core; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class StringEnumSerializerTests - { - private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true }; - - private const DummyEnum KnownEnumValue2 = DummyEnum.KnownValue2; - private const string KnownEnumValue2String = "known_value2"; - - private static readonly string JsonWithKnownEnum2 = $$""" - { - "enum_property": "{{KnownEnumValue2String}}" - } - """; - - [Test] - public void ShouldParseKnownEnumValue2() - { - var obj = JsonSerializer.Deserialize(JsonWithKnownEnum2, JsonOptions); - Assert.That(obj, Is.Not.Null); - Assert.That(obj.EnumProperty, Is.EqualTo(KnownEnumValue2)); - } - - [Test] - public void ShouldSerializeKnownEnumValue2() - { - var json = JsonSerializer.SerializeToElement( - new DummyObject { EnumProperty = KnownEnumValue2 }, - JsonOptions - ); - TestContext.WriteLine("Serialized JSON: \n" + json); - var enumString = json.GetProperty("enum_property").GetString(); - Assert.That(enumString, Is.Not.Null); - Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); - } - } - - public class DummyObject - { - [JsonPropertyName("enum_property")] - public DummyEnum EnumProperty { get; set; } - } - - [JsonConverter(typeof(EnumSerializer))] - public enum DummyEnum - { - [EnumMember(Value = "known_value1")] - KnownValue1, - - [EnumMember(Value = "known_value2")] - KnownValue2, - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/RawClientTests.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/RawClientTests.cs deleted file mode 100644 index df141253267..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/Core/RawClientTests.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Net.Http; -using FluentAssertions; -using NUnit.Framework; -using SeedApi.Core; -using WireMock.Server; -using SystemTask = System.Threading.Tasks.Task; -using WireMockRequest = WireMock.RequestBuilders.Request; -using WireMockResponse = WireMock.ResponseBuilders.Response; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class RawClientTests - { - private WireMockServer _server; - private HttpClient _httpClient; - private RawClient _rawClient; - private string _baseUrl; - private const int _maxRetries = 3; - - [SetUp] - public void SetUp() - { - _server = WireMockServer.Start(); - _baseUrl = _server.Url ?? ""; - _httpClient = new HttpClient { BaseAddress = new Uri(_baseUrl) }; - _rawClient = new RawClient( - new ClientOptions() { HttpClient = _httpClient, MaxRetries = _maxRetries } - ); - } - - [Test] - [TestCase(408)] - [TestCase(429)] - [TestCase(500)] - [TestCase(504)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnRetryableStatusCodes(int statusCode) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Server Error") - .WillSetStateTo("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(200).WithBody("Success")); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(200)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Success")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(_maxRetries)); - } - - [Test] - [TestCase(400)] - [TestCase(409)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnNonRetryableStatusCodes( - int statusCode - ) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith( - WireMockResponse.Create().WithStatusCode(statusCode).WithBody("Failure") - ); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(statusCode)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Failure")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(1)); - } - - [TearDown] - public void TearDown() - { - _server.Dispose(); - _httpClient.Dispose(); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index fd7b07f82e5..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.sln b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.sln new file mode 100644 index 00000000000..41898496581 --- /dev/null +++ b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{2347DC3D-4E74-4B0A-B3C2-48CC5E7749DB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{D1E5054D-1C19-4EC9-9E92-7316F0EDA1B1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2347DC3D-4E74-4B0A-B3C2-48CC5E7749DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2347DC3D-4E74-4B0A-B3C2-48CC5E7749DB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2347DC3D-4E74-4B0A-B3C2-48CC5E7749DB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2347DC3D-4E74-4B0A-B3C2-48CC5E7749DB}.Release|Any CPU.Build.0 = Release|Any CPU + {D1E5054D-1C19-4EC9-9E92-7316F0EDA1B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D1E5054D-1C19-4EC9-9E92-7316F0EDA1B1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1E5054D-1C19-4EC9-9E92-7316F0EDA1B1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D1E5054D-1C19-4EC9-9E92-7316F0EDA1B1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index af2c9adf7a7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Constants.cs deleted file mode 100644 index ccf4e963cc8..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedApi.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index a39de9c28d7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/EnumSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/EnumSerializer.cs deleted file mode 100644 index ac5c0792fbe..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/EnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class EnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public EnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Extensions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Extensions.cs deleted file mode 100644 index 2e70f2719a2..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Extensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Runtime.Serialization; - -namespace SeedApi.Core; - -internal static class Extensions -{ - public static string Stringify(this Enum value) - { - var field = value.GetType().GetField(value.ToString()); - var attribute = (EnumMemberAttribute) - Attribute.GetCustomAttribute(field, typeof(EnumMemberAttribute)); - return attribute?.Value ?? value.ToString(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/HeaderValue.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/HeaderValue.cs deleted file mode 100644 index 30df1c51646..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/HeaderValue.cs +++ /dev/null @@ -1,17 +0,0 @@ -using OneOf; - -namespace SeedApi.Core; - -internal sealed class HeaderValue(OneOf> value) - : OneOfBase>(value) -{ - public static implicit operator HeaderValue(string value) - { - return new HeaderValue(value); - } - - public static implicit operator HeaderValue(Func value) - { - return new HeaderValue(value); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Headers.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Headers.cs deleted file mode 100644 index 24bf3179299..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Headers.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace SeedApi.Core; - -internal sealed class Headers : Dictionary -{ - public Headers() { } - - public Headers(Dictionary value) - { - foreach (var kvp in value) - { - this[kvp.Key] = new HeaderValue(kvp.Value); - } - } - - public Headers(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 130464dace1..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/IRequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/IRequestOptions.cs deleted file mode 100644 index e365cd162f0..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/IRequestOptions.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedApi.Core; - -internal interface IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 13a05f5111f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer(), new OneOfSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index 24ee9268e48..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -internal class OneOfSerializer : JsonConverter -{ - public override IOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in GetOneOfTypes(typeToConvert)) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (IOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - public override void Write(Utf8JsonWriter writer, IOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes(System.Type typeToConvert) - { - var casts = typeToConvert - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeToConvert; - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{type} isn't OneOf or OneOfBase"); - } - - public override bool CanConvert(System.Type typeToConvert) - { - return typeof(IOneOf).IsAssignableFrom(typeToConvert); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/ClientOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/ClientOptions.cs deleted file mode 100644 index 5c12019c489..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Net.Client; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); - - /// - /// The options used for gRPC client endpoints. - /// - public GrpcChannelOptions? GrpcOptions { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } = new(); - - /// - /// Clones this and returns a new instance - /// - internal ClientOptions Clone() - { - return new ClientOptions - { - BaseUrl = BaseUrl, - HttpClient = HttpClient, - MaxRetries = MaxRetries, - Timeout = Timeout, - Headers = new Headers(new Dictionary(Headers)), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/GrpcRequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/GrpcRequestOptions.cs deleted file mode 100644 index 48c37927ea1..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/GrpcRequestOptions.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Core; -using SeedApi.Core; - -namespace SeedApi; - -#nullable enable - -public partial class GrpcRequestOptions -{ - /// - /// The maximum number of retry attempts. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// Options for write operations. - /// - public WriteOptions? WriteOptions { get; init; } - - /// - /// Client-side call credentials. Provide authorization with per-call granularity. - /// - public CallCredentials? CallCredentials { get; init; } - - /// - /// Headers to be sent with this particular request. - /// - internal Headers Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/RequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/RequestOptions.cs deleted file mode 100644 index 4d560f8337a..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Net.Http; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class RequestOptions : IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// The http headers sent with the request. - /// - Headers IRequestOptions.Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/SeedApiApiException.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/SeedApiApiException.cs deleted file mode 100644 index 8c81259a788..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/SeedApiApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedApi; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedApiApiException(string message, int statusCode, object body) - : SeedApiException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body => body; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/SeedApiException.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/SeedApiException.cs deleted file mode 100644 index 14d9b8d9ddd..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/SeedApiException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedApi; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedApiException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/Version.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/Version.cs deleted file mode 100644 index f430a1bf84c..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/Public/Version.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi; - -internal class Version -{ - public const string Current = "0.0.1"; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index 8cff8b09a01..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System.Net.Http; -using System.Net.Http.Headers; -using System.Text; -using System.Threading; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient(ClientOptions clientOptions) -{ - private const int InitialRetryDelayMs = 1000; - private const int MaxRetryDelayMs = 60000; - - private readonly Lazy _grpc = new(() => new RawGrpcClient(clientOptions)); - - /// - /// The gRPC client used to make requests. - /// - public RawGrpcClient Grpc => _grpc.Value; - - /// - /// The client options applied on every request. - /// - public readonly ClientOptions Options = clientOptions; - - public async Task MakeRequestAsync( - BaseApiRequest request, - CancellationToken cancellationToken = default - ) - { - // Apply the request timeout. - var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - var timeout = request.Options?.Timeout ?? Options.Timeout; - cts.CancelAfter(timeout); - - // Send the request. - return await SendWithRetriesAsync(request, cts.Token); - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Headers Headers { get; init; } = new(); - - public IRequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private async Task SendWithRetriesAsync( - BaseApiRequest request, - CancellationToken cancellationToken - ) - { - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var maxRetries = request.Options?.MaxRetries ?? Options.MaxRetries; - var response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - for (var i = 0; i < maxRetries; i++) - { - if (!ShouldRetry(response)) - { - break; - } - var delayMs = Math.Min(InitialRetryDelayMs * (int)Math.Pow(2, i), MaxRetryDelayMs); - await System.Threading.Tasks.Task.Delay(delayMs, cancellationToken); - response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - } - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - private static bool ShouldRetry(HttpResponseMessage response) - { - var statusCode = (int)response.StatusCode; - return statusCode is 408 or 429 or >= 500; - } - - private HttpRequestMessage BuildHttpRequest(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - switch (request) - { - // Add the request body to the request. - case JsonApiRequest jsonRequest: - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - break; - } - case StreamApiRequest { Body: not null } streamRequest: - httpRequest.Content = new StreamContent(streamRequest.Body); - break; - } - if (request.ContentType != null) - { - httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse( - request.ContentType - ); - } - SetHeaders(httpRequest, Options.Headers); - SetHeaders(httpRequest, request.Headers); - SetHeaders(httpRequest, request.Options?.Headers ?? new Headers()); - - return httpRequest; - } - - private static string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url[..^1]; - return url; - } - - private static void SetHeaders(HttpRequestMessage httpRequest, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - httpRequest.Headers.TryAddWithoutValidation(header.Key, value); - } - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/RawGrpcClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/RawGrpcClient.cs deleted file mode 100644 index 657be1d946d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Core/RawGrpcClient.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Grpc.Core; -using Grpc.Net.Client; - -namespace SeedApi.Core; - -/// -/// Utility class for making gRPC requests to the API. -/// -internal class RawGrpcClient -{ - /// - /// The gRPC channel used to make requests. - /// - public readonly GrpcChannel Channel; - - private readonly ClientOptions _clientOptions; - - public RawGrpcClient(ClientOptions clientOptions) - { - _clientOptions = clientOptions; - - var grpcOptions = PrepareGrpcChannelOptions(); - Channel = - grpcOptions != null - ? GrpcChannel.ForAddress(_clientOptions.BaseUrl, grpcOptions) - : GrpcChannel.ForAddress(_clientOptions.BaseUrl); - } - - /// - /// Prepares the gRPC metadata associated with the given request. - /// The provided request headers take precedence over the headers - /// associated with this client (which are sent on _every_ request). - /// - public CallOptions CreateCallOptions( - GrpcRequestOptions options, - CancellationToken cancellationToken = default - ) - { - var metadata = new global::Grpc.Core.Metadata(); - SetHeaders(metadata, _clientOptions.Headers); - SetHeaders(metadata, options.Headers); - - var timeout = options.Timeout ?? _clientOptions.Timeout; - var deadline = DateTime.UtcNow.Add(timeout); - return new CallOptions( - metadata, - deadline, - cancellationToken, - options.WriteOptions, - null, - options.CallCredentials - ); - } - - private void SetHeaders(global::Grpc.Core.Metadata metadata, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - metadata.Add(header.Key, value); - } - } - } - - private GrpcChannelOptions? PrepareGrpcChannelOptions() - { - var grpcChannelOptions = _clientOptions.GrpcOptions; - if (grpcChannelOptions == null) - { - return null; - } - grpcChannelOptions.HttpClient ??= _clientOptions.HttpClient; - grpcChannelOptions.MaxRetryAttempts ??= _clientOptions.MaxRetries; - return grpcChannelOptions; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/DataserviceClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/DataserviceClient.cs deleted file mode 100644 index 8da06ffed93..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/DataserviceClient.cs +++ /dev/null @@ -1,288 +0,0 @@ -using System.Threading; -using Data.V1.Grpc; -using Grpc.Core; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class DataserviceClient -{ - private RawClient _client; - - private RawGrpcClient _grpc; - - private DataService.DataServiceClient _dataService; - - internal DataserviceClient(RawClient client) - { - _client = client; - _grpc = _client.Grpc; - _dataService = new DataService.DataServiceClient(_grpc.Channel); - } - - /// - /// - /// await client.Dataservice.UploadAsync( - /// new UploadRequest - /// { - /// Columns = new List<Column>() - /// { - /// new Column - /// { - /// Id = "id", - /// Values = new List<float>() { 1.1f }, - /// }, - /// }, - /// } - /// ); - /// - /// - public async Task UploadAsync( - UploadRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.UploadAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return UploadResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.DeleteAsync(new DeleteRequest()); - /// - /// - public async Task DeleteAsync( - DeleteRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.DeleteAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return DeleteResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.DescribeAsync(new DescribeRequest()); - /// - /// - public async Task DescribeAsync( - DescribeRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.DescribeAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return DescribeResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.FetchAsync(new FetchRequest()); - /// - /// - public async Task FetchAsync( - FetchRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.FetchAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return FetchResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.ListAsync(new ListRequest()); - /// - /// - public async Task ListAsync( - ListRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.ListAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return ListResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 }); - /// - /// - public async Task QueryAsync( - QueryRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.QueryAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return QueryResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.UpdateAsync(new UpdateRequest { Id = "id" }); - /// - /// - public async Task UpdateAsync( - UpdateRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.UpdateAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return UpdateResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/DeleteRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/DeleteRequest.cs deleted file mode 100644 index 10d785c72b7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/DeleteRequest.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DeleteRequest -{ - [JsonPropertyName("ids")] - public IEnumerable? Ids { get; set; } - - [JsonPropertyName("deleteAll")] - public bool? DeleteAll { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DeleteRequest type into its Protobuf-equivalent representation. - /// - internal Proto.DeleteRequest ToProto() - { - var result = new Proto.DeleteRequest(); - if (Ids != null && Ids.Any()) - { - result.Ids.AddRange(Ids); - } - if (DeleteAll != null) - { - result.DeleteAll = DeleteAll ?? false; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/DescribeRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/DescribeRequest.cs deleted file mode 100644 index a9de06c69f4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/DescribeRequest.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DescribeRequest -{ - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DescribeRequest type into its Protobuf-equivalent representation. - /// - internal Proto.DescribeRequest ToProto() - { - var result = new Proto.DescribeRequest(); - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/FetchRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/FetchRequest.cs deleted file mode 100644 index 70ea06edfc4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/FetchRequest.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record FetchRequest -{ - public IEnumerable Ids { get; set; } = new List(); - - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the FetchRequest type into its Protobuf-equivalent representation. - /// - internal Proto.FetchRequest ToProto() - { - var result = new Proto.FetchRequest(); - if (Ids.Any()) - { - result.Ids.AddRange(Ids); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/ListRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/ListRequest.cs deleted file mode 100644 index afc15a6b93d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/ListRequest.cs +++ /dev/null @@ -1,47 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListRequest -{ - public string? Prefix { get; set; } - - public uint? Limit { get; set; } - - public string? PaginationToken { get; set; } - - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListRequest type into its Protobuf-equivalent representation. - /// - internal Proto.ListRequest ToProto() - { - var result = new Proto.ListRequest(); - if (Prefix != null) - { - result.Prefix = Prefix ?? ""; - } - if (Limit != null) - { - result.Limit = Limit ?? 0; - } - if (PaginationToken != null) - { - result.PaginationToken = PaginationToken ?? ""; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/QueryRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/QueryRequest.cs deleted file mode 100644 index a47fc99c7a4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/QueryRequest.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryRequest -{ - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("topK")] - public required uint TopK { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - [JsonPropertyName("includeValues")] - public bool? IncludeValues { get; set; } - - [JsonPropertyName("includeMetadata")] - public bool? IncludeMetadata { get; set; } - - [JsonPropertyName("queries")] - public IEnumerable? Queries { get; set; } - - [JsonPropertyName("column")] - public IEnumerable? Column { get; set; } - - [JsonPropertyName("id")] - public string? Id { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryRequest type into its Protobuf-equivalent representation. - /// - internal Proto.QueryRequest ToProto() - { - var result = new Proto.QueryRequest(); - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - result.TopK = TopK; - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - if (IncludeValues != null) - { - result.IncludeValues = IncludeValues ?? false; - } - if (IncludeMetadata != null) - { - result.IncludeMetadata = IncludeMetadata ?? false; - } - if (Queries != null && Queries.Any()) - { - result.Queries.AddRange(Queries.Select(elem => elem.ToProto())); - } - if (Column != null && Column.Any()) - { - result.Column.AddRange(Column); - } - if (Id != null) - { - result.Id = Id ?? ""; - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/UpdateRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/UpdateRequest.cs deleted file mode 100644 index 4f4977cddc3..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/UpdateRequest.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UpdateRequest -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("values")] - public IEnumerable? Values { get; set; } - - [JsonPropertyName("setMetadata")] - public Metadata? SetMetadata { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UpdateRequest type into its Protobuf-equivalent representation. - /// - internal Proto.UpdateRequest ToProto() - { - var result = new Proto.UpdateRequest(); - result.Id = Id; - if (Values != null && Values.Any()) - { - result.Values.AddRange(Values); - } - if (SetMetadata != null) - { - result.SetMetadata = SetMetadata.ToProto(); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/UploadRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/UploadRequest.cs deleted file mode 100644 index 8421016d0df..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Dataservice/Requests/UploadRequest.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UploadRequest -{ - [JsonPropertyName("columns")] - public IEnumerable Columns { get; set; } = new List(); - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UploadRequest type into its Protobuf-equivalent representation. - /// - internal Proto.UploadRequest ToProto() - { - var result = new Proto.UploadRequest(); - if (Columns.Any()) - { - result.Columns.AddRange(Columns.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj deleted file mode 100644 index 9b70c3847bf..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,74 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - $(Version) - $(Version) - README.md - https://github.com/grpc-proto-exhaustive/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - - - - - - <_Parameter1>SeedApi.Test - - - - - diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index 017ab8726ca..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(ClientOptions? clientOptions = null) - { - var defaultHeaders = new Headers( - new Dictionary() - { - { "X-Fern-Language", "C#" }, - { "X-Fern-SDK-Name", "SeedApi" }, - { "X-Fern-SDK-Version", Version.Current }, - { "User-Agent", "Ferngrpc-proto-exhaustive/0.0.1" }, - } - ); - clientOptions ??= new ClientOptions(); - foreach (var header in defaultHeaders) - { - if (!clientOptions.Headers.ContainsKey(header.Key)) - { - clientOptions.Headers[header.Key] = header.Value; - } - } - _client = new RawClient(clientOptions); - Dataservice = new DataserviceClient(_client); - } - - public DataserviceClient Dataservice { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Column.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Column.cs deleted file mode 100644 index 602200b6dfb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Column.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Column -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("values")] - public IEnumerable Values { get; set; } = new List(); - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Column type into its Protobuf-equivalent representation. - /// - internal Proto.Column ToProto() - { - var result = new Proto.Column(); - result.Id = Id; - if (Values.Any()) - { - result.Values.AddRange(Values); - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new Column type from its Protobuf-equivalent representation. - /// - internal static Column FromProto(Proto.Column value) - { - return new Column - { - Id = value.Id, - Values = value.Values?.ToList() ?? new List(), - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/DeleteResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/DeleteResponse.cs deleted file mode 100644 index def64fbd896..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/DeleteResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DeleteResponse -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DeleteResponse type into its Protobuf-equivalent representation. - /// - internal Proto.DeleteResponse ToProto() - { - return new Proto.DeleteResponse(); - } - - /// - /// Returns a new DeleteResponse type from its Protobuf-equivalent representation. - /// - internal static DeleteResponse FromProto(Proto.DeleteResponse value) - { - return new DeleteResponse(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/DescribeResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/DescribeResponse.cs deleted file mode 100644 index fbd45c674b7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/DescribeResponse.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DescribeResponse -{ - [JsonPropertyName("namespaces")] - public Dictionary? Namespaces { get; set; } - - [JsonPropertyName("dimension")] - public uint? Dimension { get; set; } - - [JsonPropertyName("fullness")] - public float? Fullness { get; set; } - - [JsonPropertyName("totalCount")] - public uint? TotalCount { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DescribeResponse type into its Protobuf-equivalent representation. - /// - internal Proto.DescribeResponse ToProto() - { - var result = new Proto.DescribeResponse(); - if (Namespaces != null && Namespaces.Any()) - { - foreach (var kvp in Namespaces) - { - result.Namespaces.Add(kvp.Key, kvp.Value.ToProto()); - } - ; - } - if (Dimension != null) - { - result.Dimension = Dimension ?? 0; - } - if (Fullness != null) - { - result.Fullness = Fullness ?? 0.0f; - } - if (TotalCount != null) - { - result.TotalCount = TotalCount ?? 0; - } - return result; - } - - /// - /// Returns a new DescribeResponse type from its Protobuf-equivalent representation. - /// - internal static DescribeResponse FromProto(Proto.DescribeResponse value) - { - return new DescribeResponse - { - Namespaces = value.Namespaces?.ToDictionary( - kvp => kvp.Key, - kvp => NamespaceSummary.FromProto(kvp.Value) - ), - Dimension = value.Dimension, - Fullness = value.Fullness, - TotalCount = value.TotalCount, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/FetchResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/FetchResponse.cs deleted file mode 100644 index ae595dfdc41..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/FetchResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record FetchResponse -{ - [JsonPropertyName("columns")] - public Dictionary? Columns { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the FetchResponse type into its Protobuf-equivalent representation. - /// - internal Proto.FetchResponse ToProto() - { - var result = new Proto.FetchResponse(); - if (Columns != null && Columns.Any()) - { - foreach (var kvp in Columns) - { - result.Columns.Add(kvp.Key, kvp.Value.ToProto()); - } - ; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new FetchResponse type from its Protobuf-equivalent representation. - /// - internal static FetchResponse FromProto(Proto.FetchResponse value) - { - return new FetchResponse - { - Columns = value.Columns?.ToDictionary( - kvp => kvp.Key, - kvp => Column.FromProto(kvp.Value) - ), - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/IndexedData.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/IndexedData.cs deleted file mode 100644 index 242c4d0b135..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/IndexedData.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record IndexedData -{ - [JsonPropertyName("indices")] - public IEnumerable Indices { get; set; } = new List(); - - [JsonPropertyName("values")] - public IEnumerable Values { get; set; } = new List(); - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the IndexedData type into its Protobuf-equivalent representation. - /// - internal Proto.IndexedData ToProto() - { - var result = new Proto.IndexedData(); - if (Indices.Any()) - { - result.Indices.AddRange(Indices); - } - if (Values.Any()) - { - result.Values.AddRange(Values); - } - return result; - } - - /// - /// Returns a new IndexedData type from its Protobuf-equivalent representation. - /// - internal static IndexedData FromProto(Proto.IndexedData value) - { - return new IndexedData - { - Indices = value.Indices?.ToList() ?? new List(), - Values = value.Values?.ToList() ?? new List(), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ListElement.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ListElement.cs deleted file mode 100644 index 2044bd62e56..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ListElement.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListElement -{ - [JsonPropertyName("id")] - public string? Id { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListElement type into its Protobuf-equivalent representation. - /// - internal Proto.ListElement ToProto() - { - var result = new Proto.ListElement(); - if (Id != null) - { - result.Id = Id ?? ""; - } - return result; - } - - /// - /// Returns a new ListElement type from its Protobuf-equivalent representation. - /// - internal static ListElement FromProto(Proto.ListElement value) - { - return new ListElement { Id = value.Id }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ListResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ListResponse.cs deleted file mode 100644 index 9d691519a85..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ListResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListResponse -{ - [JsonPropertyName("columns")] - public IEnumerable? Columns { get; set; } - - [JsonPropertyName("pagination")] - public Pagination? Pagination { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListResponse type into its Protobuf-equivalent representation. - /// - internal Proto.ListResponse ToProto() - { - var result = new Proto.ListResponse(); - if (Columns != null && Columns.Any()) - { - result.Columns.AddRange(Columns.Select(elem => elem.ToProto())); - } - if (Pagination != null) - { - result.Pagination = Pagination.ToProto(); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new ListResponse type from its Protobuf-equivalent representation. - /// - internal static ListResponse FromProto(Proto.ListResponse value) - { - return new ListResponse - { - Columns = value.Columns?.Select(ListElement.FromProto), - Pagination = value.Pagination != null ? Pagination.FromProto(value.Pagination) : null, - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Metadata.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Metadata.cs deleted file mode 100644 index 2e16aa50b3f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Metadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class Metadata : Dictionary -{ - public Metadata() { } - - public Metadata(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Struct ToProto() - { - var result = new Proto.Struct(); - foreach (var kvp in this) - { - result.Fields[kvp.Key] = kvp.Value?.ToProto(); - } - return result; - } - - internal static Metadata FromProto(Proto.Struct value) - { - var result = new Metadata(); - foreach (var kvp in value.Fields) - { - result[kvp.Key] = kvp.Value != null ? MetadataValue.FromProto(kvp.Value) : null; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/MetadataValue.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/MetadataValue.cs deleted file mode 100644 index 2308676e891..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/MetadataValue.cs +++ /dev/null @@ -1,91 +0,0 @@ -using OneOf; -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class MetadataValue( - OneOf, Metadata> value -) : OneOfBase, Metadata>(value) -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Value ToProto() - { - return Match( - Proto.Value.ForString, - Proto.Value.ForNumber, - Proto.Value.ForBool, - list => new Proto.Value - { - ListValue = new Proto.ListValue - { - Values = { list.Select(item => item?.ToProto()) }, - }, - }, - nested => new Proto.Value { StructValue = nested.ToProto() } - ); - } - - internal static MetadataValue? FromProto(Proto.Value value) - { - return value.KindCase switch - { - Proto.Value.KindOneofCase.StringValue => value.StringValue, - Proto.Value.KindOneofCase.NumberValue => value.NumberValue, - Proto.Value.KindOneofCase.BoolValue => value.BoolValue, - Proto.Value.KindOneofCase.ListValue => value - .ListValue.Values.Select(FromProto) - .ToList(), - Proto.Value.KindOneofCase.StructValue => Metadata.FromProto(value.StructValue), - _ => null, - }; - } - - public static implicit operator MetadataValue(string value) => new(value); - - public static implicit operator MetadataValue(bool value) => new(value); - - public static implicit operator MetadataValue(double value) => new(value); - - public static implicit operator MetadataValue(Metadata value) => new(value); - - public static implicit operator MetadataValue(MetadataValue?[] value) => new(value); - - public static implicit operator MetadataValue(List value) => new(value); - - public static implicit operator MetadataValue(string[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(bool[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(bool?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/NamespaceSummary.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/NamespaceSummary.cs deleted file mode 100644 index da0573827da..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/NamespaceSummary.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record NamespaceSummary -{ - [JsonPropertyName("count")] - public uint? Count { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the NamespaceSummary type into its Protobuf-equivalent representation. - /// - internal Proto.NamespaceSummary ToProto() - { - var result = new Proto.NamespaceSummary(); - if (Count != null) - { - result.Count = Count ?? 0; - } - return result; - } - - /// - /// Returns a new NamespaceSummary type from its Protobuf-equivalent representation. - /// - internal static NamespaceSummary FromProto(Proto.NamespaceSummary value) - { - return new NamespaceSummary { Count = value.Count }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Pagination.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Pagination.cs deleted file mode 100644 index 87a67db48af..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Pagination.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Pagination -{ - [JsonPropertyName("next")] - public string? Next { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Pagination type into its Protobuf-equivalent representation. - /// - internal Proto.Pagination ToProto() - { - var result = new Proto.Pagination(); - if (Next != null) - { - result.Next = Next ?? ""; - } - return result; - } - - /// - /// Returns a new Pagination type from its Protobuf-equivalent representation. - /// - internal static Pagination FromProto(Proto.Pagination value) - { - return new Pagination { Next = value.Next }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryColumn.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryColumn.cs deleted file mode 100644 index 94c3d4f14af..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryColumn.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryColumn -{ - [JsonPropertyName("values")] - public IEnumerable Values { get; set; } = new List(); - - [JsonPropertyName("topK")] - public uint? TopK { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryColumn type into its Protobuf-equivalent representation. - /// - internal Proto.QueryColumn ToProto() - { - var result = new Proto.QueryColumn(); - if (Values.Any()) - { - result.Values.AddRange(Values); - } - if (TopK != null) - { - result.TopK = TopK ?? 0; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new QueryColumn type from its Protobuf-equivalent representation. - /// - internal static QueryColumn FromProto(Proto.QueryColumn value) - { - return new QueryColumn - { - Values = value.Values?.ToList() ?? new List(), - TopK = value.TopK, - Namespace = value.Namespace, - Filter = value.Filter != null ? Metadata.FromProto(value.Filter) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryResponse.cs deleted file mode 100644 index c4786b94639..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryResponse -{ - [JsonPropertyName("results")] - public IEnumerable? Results { get; set; } - - [JsonPropertyName("matches")] - public IEnumerable? Matches { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryResponse type into its Protobuf-equivalent representation. - /// - internal Proto.QueryResponse ToProto() - { - var result = new Proto.QueryResponse(); - if (Results != null && Results.Any()) - { - result.Results.AddRange(Results.Select(elem => elem.ToProto())); - } - if (Matches != null && Matches.Any()) - { - result.Matches.AddRange(Matches.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new QueryResponse type from its Protobuf-equivalent representation. - /// - internal static QueryResponse FromProto(Proto.QueryResponse value) - { - return new QueryResponse - { - Results = value.Results?.Select(QueryResult.FromProto), - Matches = value.Matches?.Select(ScoredColumn.FromProto), - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryResult.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryResult.cs deleted file mode 100644 index 8c8988af1fd..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/QueryResult.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryResult -{ - [JsonPropertyName("matches")] - public IEnumerable? Matches { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryResult type into its Protobuf-equivalent representation. - /// - internal Proto.QueryResult ToProto() - { - var result = new Proto.QueryResult(); - if (Matches != null && Matches.Any()) - { - result.Matches.AddRange(Matches.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } - - /// - /// Returns a new QueryResult type from its Protobuf-equivalent representation. - /// - internal static QueryResult FromProto(Proto.QueryResult value) - { - return new QueryResult - { - Matches = value.Matches?.Select(ScoredColumn.FromProto), - Namespace = value.Namespace, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ScoredColumn.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ScoredColumn.cs deleted file mode 100644 index 5ca5fa6e2f6..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/ScoredColumn.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ScoredColumn -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("score")] - public float? Score { get; set; } - - [JsonPropertyName("values")] - public IEnumerable? Values { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ScoredColumn type into its Protobuf-equivalent representation. - /// - internal Proto.ScoredColumn ToProto() - { - var result = new Proto.ScoredColumn(); - result.Id = Id; - if (Score != null) - { - result.Score = Score ?? 0.0f; - } - if (Values != null && Values.Any()) - { - result.Values.AddRange(Values); - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new ScoredColumn type from its Protobuf-equivalent representation. - /// - internal static ScoredColumn FromProto(Proto.ScoredColumn value) - { - return new ScoredColumn - { - Id = value.Id, - Score = value.Score, - Values = value.Values?.ToList(), - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/UpdateResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/UpdateResponse.cs deleted file mode 100644 index 0d7e3f61b18..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/UpdateResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UpdateResponse -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UpdateResponse type into its Protobuf-equivalent representation. - /// - internal Proto.UpdateResponse ToProto() - { - return new Proto.UpdateResponse(); - } - - /// - /// Returns a new UpdateResponse type from its Protobuf-equivalent representation. - /// - internal static UpdateResponse FromProto(Proto.UpdateResponse value) - { - return new UpdateResponse(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/UploadResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/UploadResponse.cs deleted file mode 100644 index 23286a04145..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/UploadResponse.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UploadResponse -{ - [JsonPropertyName("count")] - public uint? Count { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UploadResponse type into its Protobuf-equivalent representation. - /// - internal Proto.UploadResponse ToProto() - { - var result = new Proto.UploadResponse(); - if (Count != null) - { - result.Count = Count ?? 0; - } - return result; - } - - /// - /// Returns a new UploadResponse type from its Protobuf-equivalent representation. - /// - internal static UploadResponse FromProto(Proto.UploadResponse value) - { - return new UploadResponse { Count = value.Count }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Usage.cs b/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Usage.cs deleted file mode 100644 index e5921bf2191..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/no-custom-config/src/SeedApi/Types/Usage.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Usage -{ - [JsonPropertyName("units")] - public uint? Units { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Usage type into its Protobuf-equivalent representation. - /// - internal Proto.Usage ToProto() - { - var result = new Proto.Usage(); - if (Units != null) - { - result.Units = Units ?? 0; - } - return result; - } - - /// - /// Returns a new Usage type from its Protobuf-equivalent representation. - /// - internal static Usage FromProto(Proto.Usage value) - { - return new Usage { Units = value.Units }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.github/workflows/ci.yml b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.gitignore b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.gitignore deleted file mode 100644 index 11014f2b33d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -## This is based on `dotnet new gitignore` and customized by Fern - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -# [Rr]elease/ (Ignored by Fern) -# [Rr]eleases/ (Ignored by Fern) -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -# [Ll]og/ (Ignored by Fern) -# [Ll]ogs/ (Ignored by Fern) - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/fern.config.json b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/generators.yml b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/generators.yml deleted file mode 100644 index 972ed6d7b73..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/generators.yml +++ /dev/null @@ -1,6 +0,0 @@ -api: - - proto: - root: proto - target: proto/data/v1/data.proto - overrides: overrides.yml - local-generation: true \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/overrides.yml b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/overrides.yml deleted file mode 100644 index 062b98c2ccb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/overrides.yml +++ /dev/null @@ -1,56 +0,0 @@ - -paths: - /data/fetch: - get: - x-fern-request-name: FetchRequest - /data/list: - get: - x-fern-request-name: ListRequest -components: - schemas: - Metadata: - oneOf: - - type: object - additionalProperties: - $ref: '#/components/schemas/MetadataValue' - - type: object - x-fern-encoding: - proto: - type: google.protobuf.Struct - MetadataValue: - oneOf: - - type: number - format: double - - type: string - - type: boolean - x-fern-encoding: - proto: - type: google.protobuf.Value - DeleteRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - DescribeRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - QueryRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - QueryColumn: - properties: - filter: - $ref: '#/components/schemas/Metadata' - ScoredColumn: - properties: - metadata: - $ref: '#/components/schemas/Metadata' - UpdateRequest: - properties: - setMetadata: - $ref: '#/components/schemas/Metadata' - Column: - properties: - metadata: - $ref: '#/components/schemas/Metadata' \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/data/v1/data.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/data/v1/data.proto deleted file mode 100644 index dc3b07ece42..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/data/v1/data.proto +++ /dev/null @@ -1,213 +0,0 @@ -syntax = "proto3"; - -package data.v1; - -import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Data.V1.Grpc"; -option go_package = "github.com/acme.co/data-go-grpc"; - -message IndexedData { - repeated uint32 indices = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; -} - -message Column { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct metadata = 3; - IndexedData indexed_data = 4; -} - -message ScoredColumn { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - float score = 2; - repeated float values = 3; - google.protobuf.Struct metadata = 4; - IndexedData indexed_data = 5; -} - -message UploadRequest { - repeated Column columns = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message UploadResponse { - uint32 count = 1; -} - -message DeleteRequest { - repeated string ids = 1; - bool delete_all = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; -} - -message DeleteResponse {} - -message FetchRequest { - repeated string ids = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message FetchResponse { - map columns = 1; - string namespace = 2; - optional Usage usage = 3; -} - -message ListRequest { - optional string prefix = 1; - optional uint32 limit = 2; - optional string pagination_token = 3; - string namespace = 4; -} - -message Pagination { - string next = 1; -} - -message ListElement { - string id = 1; -} - -message ListResponse { - repeated ListElement columns = 1; - optional Pagination pagination = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message QueryColumn { - repeated float values = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - uint32 top_k = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; - IndexedData indexed_data = 5; -} - -message QueryRequest { - string namespace = 1; - uint32 top_k = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct filter = 3; - bool include_values = 4; - bool include_metadata = 5; - repeated QueryColumn queries = 6 [ - deprecated = true - ]; - repeated float column = 7; - string id = 8; - IndexedData indexed_data = 9; -} - -message QueryResult { - repeated ScoredColumn matches = 1; - string namespace = 2; -} - -message QueryResponse { - repeated QueryResult results = 1 [deprecated=true]; - repeated ScoredColumn matches = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message Usage { - optional uint32 units = 1; -} - -message UpdateRequest { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2; - google.protobuf.Struct set_metadata = 3; - string namespace = 4; - IndexedData indexed_data = 5; -} - -message UpdateResponse {} - -message DescribeRequest { - google.protobuf.Struct filter = 1; -} - -message NamespaceSummary { - uint32 count = 1; -} - -message DescribeResponse { - map namespaces = 1; - uint32 dimension = 2; - float fullness = 3; - uint32 total_count = 4; -} - -service DataService { - rpc Upload(UploadRequest) returns (UploadResponse) { - option (google.api.http) = { - post: "/data" - body: "*" - }; - } - - rpc Delete(DeleteRequest) returns (DeleteResponse) { - option (google.api.http) = { - post: "/data/delete" - body: "*" - }; - } - - rpc Fetch(FetchRequest) returns (FetchResponse) { - option (google.api.http) = { - get: "/data/fetch" - }; - } - - rpc List(ListRequest) returns (ListResponse) { - option (google.api.http) = { - get: "/data/list" - }; - } - - rpc Query(QueryRequest) returns (QueryResponse) { - option (google.api.http) = { - post: "/data/query" - body: "*" - }; - } - - rpc Update(UpdateRequest) returns (UpdateResponse) { - option (google.api.http) = { - post: "/data/update" - body: "*" - }; - } - - rpc Describe(DescribeRequest) returns (DescribeResponse) { - option (google.api.http) = { - post: "/data/describe" - body: "*" - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/field_behavior.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/field_behavior.proto deleted file mode 100644 index 128799c558d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/field_behavior.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "FieldBehaviorProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.FieldOptions { - // A designation of a specific field behavior (required, output only, etc.) - // in protobuf messages. - // - // Examples: - // - // string name = 1 [(google.api.field_behavior) = REQUIRED]; - // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // google.protobuf.Duration ttl = 1 - // [(google.api.field_behavior) = INPUT_ONLY]; - // google.protobuf.Timestamp expire_time = 1 - // [(google.api.field_behavior) = OUTPUT_ONLY, - // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; -} - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -enum FieldBehavior { - // Conventional default for enums. Do not use this. - FIELD_BEHAVIOR_UNSPECIFIED = 0; - - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - OPTIONAL = 1; - - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - REQUIRED = 2; - - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - OUTPUT_ONLY = 3; - - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - INPUT_ONLY = 4; - - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - IMMUTABLE = 5; - - // Denotes that a (repeated) field is an unordered list. - // This indicates that the service may provide the elements of the list - // in any arbitrary order, rather than the order the user originally - // provided. Additionally, the list's order may or may not be stable. - UNORDERED_LIST = 6; - - // Denotes that this field returns a non-empty default value if not set. - // This indicates that if the user provides the empty value in a request, - // a non-empty value will be returned. The user will not be aware of what - // non-empty value to expect. - NON_EMPTY_DEFAULT = 7; - - // Denotes that the field in a resource (a message annotated with - // google.api.resource) is used in the resource name to uniquely identify the - // resource. For AIP-compliant APIs, this should only be applied to the - // `name` field on the resource. - // - // This behavior should not be applied to references to other resources within - // the message. - // - // The identifier field of resources often have different field behavior - // depending on the request it is embedded in (e.g. for Create methods name - // is optional and unused, while for Update methods it is required). Instead - // of method-specific annotations, only `IDENTIFIER` is required. - IDENTIFIER = 8; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/.mock/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/README.md b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/README.md deleted file mode 100644 index 605573c3e5f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/README.md +++ /dev/null @@ -1,99 +0,0 @@ -# Seed C# Library - -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Seed%2FC%23) -[![nuget shield](https://img.shields.io/nuget/v/Seed.Client)](https://nuget.org/packages/Seed.Client) - -The Seed C# library provides convenient access to the Seed API from C#. - -## Installation - -```sh -nuget install Seed.Client -``` - -## Usage - -Instantiate and use the client with the following: - -```csharp -using SeedApi; - -var client = new SeedApiClient(); -await client.Dataservice.UploadAsync( - new UploadRequest - { - Columns = new List() - { - new Column - { - Id = "id", - Values = new List() { 1.1f }, - }, - }, - } -); -``` - -## Exception Handling - -When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error -will be thrown. - -```csharp -using SeedApi; - -try { - var response = await client.Dataservice.UploadAsync(...); -} catch (SeedApiApiException e) { - System.Console.WriteLine(e.Body); - System.Console.WriteLine(e.StatusCode); -} -``` - -## Advanced - -### Retries - -The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long -as the request is deemed retriable and the number of retry attempts has not grown larger than the configured -retry limit (default: 2). - -A request is deemed retriable when any of the following HTTP status codes is returned: - -- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) -- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) -- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) - -Use the `MaxRetries` request option to configure this behavior. - -```csharp -var response = await client.Dataservice.UploadAsync( - ..., - new RequestOptions { - MaxRetries: 0 // Override MaxRetries at the request level - } -); -``` - -### Timeouts - -The SDK defaults to a 30 second timeout. Use the `Timeout` option to configure this behavior. - -```csharp -var response = await client.Dataservice.UploadAsync( - ..., - new RequestOptions { - Timeout: TimeSpan.FromSeconds(3) // Override timeout to 3s - } -); -``` - -## Contributing - -While we value open-source contributions to this SDK, this library is generated programmatically. -Additions made directly to this library would have to be moved over to our generation code, -otherwise they would be overwritten upon the next generated release. Feel free to open a PR as -a proof of concept, but know that we will not be able to merge it as-is. We suggest opening -an issue first to discuss with us! - -On the other hand, contributions to the README are always very welcome! \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/data/v1/data.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/data/v1/data.proto deleted file mode 100644 index dc3b07ece42..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/data/v1/data.proto +++ /dev/null @@ -1,213 +0,0 @@ -syntax = "proto3"; - -package data.v1; - -import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Data.V1.Grpc"; -option go_package = "github.com/acme.co/data-go-grpc"; - -message IndexedData { - repeated uint32 indices = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; -} - -message Column { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct metadata = 3; - IndexedData indexed_data = 4; -} - -message ScoredColumn { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - float score = 2; - repeated float values = 3; - google.protobuf.Struct metadata = 4; - IndexedData indexed_data = 5; -} - -message UploadRequest { - repeated Column columns = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message UploadResponse { - uint32 count = 1; -} - -message DeleteRequest { - repeated string ids = 1; - bool delete_all = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; -} - -message DeleteResponse {} - -message FetchRequest { - repeated string ids = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message FetchResponse { - map columns = 1; - string namespace = 2; - optional Usage usage = 3; -} - -message ListRequest { - optional string prefix = 1; - optional uint32 limit = 2; - optional string pagination_token = 3; - string namespace = 4; -} - -message Pagination { - string next = 1; -} - -message ListElement { - string id = 1; -} - -message ListResponse { - repeated ListElement columns = 1; - optional Pagination pagination = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message QueryColumn { - repeated float values = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - uint32 top_k = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; - IndexedData indexed_data = 5; -} - -message QueryRequest { - string namespace = 1; - uint32 top_k = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct filter = 3; - bool include_values = 4; - bool include_metadata = 5; - repeated QueryColumn queries = 6 [ - deprecated = true - ]; - repeated float column = 7; - string id = 8; - IndexedData indexed_data = 9; -} - -message QueryResult { - repeated ScoredColumn matches = 1; - string namespace = 2; -} - -message QueryResponse { - repeated QueryResult results = 1 [deprecated=true]; - repeated ScoredColumn matches = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message Usage { - optional uint32 units = 1; -} - -message UpdateRequest { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2; - google.protobuf.Struct set_metadata = 3; - string namespace = 4; - IndexedData indexed_data = 5; -} - -message UpdateResponse {} - -message DescribeRequest { - google.protobuf.Struct filter = 1; -} - -message NamespaceSummary { - uint32 count = 1; -} - -message DescribeResponse { - map namespaces = 1; - uint32 dimension = 2; - float fullness = 3; - uint32 total_count = 4; -} - -service DataService { - rpc Upload(UploadRequest) returns (UploadResponse) { - option (google.api.http) = { - post: "/data" - body: "*" - }; - } - - rpc Delete(DeleteRequest) returns (DeleteResponse) { - option (google.api.http) = { - post: "/data/delete" - body: "*" - }; - } - - rpc Fetch(FetchRequest) returns (FetchResponse) { - option (google.api.http) = { - get: "/data/fetch" - }; - } - - rpc List(ListRequest) returns (ListResponse) { - option (google.api.http) = { - get: "/data/list" - }; - } - - rpc Query(QueryRequest) returns (QueryResponse) { - option (google.api.http) = { - post: "/data/query" - body: "*" - }; - } - - rpc Update(UpdateRequest) returns (UpdateResponse) { - option (google.api.http) = { - post: "/data/update" - body: "*" - }; - } - - rpc Describe(DescribeRequest) returns (DescribeResponse) { - option (google.api.http) = { - post: "/data/describe" - body: "*" - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/field_behavior.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/field_behavior.proto deleted file mode 100644 index 128799c558d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/field_behavior.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "FieldBehaviorProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.FieldOptions { - // A designation of a specific field behavior (required, output only, etc.) - // in protobuf messages. - // - // Examples: - // - // string name = 1 [(google.api.field_behavior) = REQUIRED]; - // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // google.protobuf.Duration ttl = 1 - // [(google.api.field_behavior) = INPUT_ONLY]; - // google.protobuf.Timestamp expire_time = 1 - // [(google.api.field_behavior) = OUTPUT_ONLY, - // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; -} - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -enum FieldBehavior { - // Conventional default for enums. Do not use this. - FIELD_BEHAVIOR_UNSPECIFIED = 0; - - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - OPTIONAL = 1; - - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - REQUIRED = 2; - - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - OUTPUT_ONLY = 3; - - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - INPUT_ONLY = 4; - - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - IMMUTABLE = 5; - - // Denotes that a (repeated) field is an unordered list. - // This indicates that the service may provide the elements of the list - // in any arbitrary order, rather than the order the user originally - // provided. Additionally, the list's order may or may not be stable. - UNORDERED_LIST = 6; - - // Denotes that this field returns a non-empty default value if not set. - // This indicates that if the user provides the empty value in a request, - // a non-empty value will be returned. The user will not be aware of what - // non-empty value to expect. - NON_EMPTY_DEFAULT = 7; - - // Denotes that the field in a resource (a message annotated with - // google.api.resource) is used in the resource name to uniquely identify the - // resource. For AIP-compliant APIs, this should only be applied to the - // `name` field on the resource. - // - // This behavior should not be applied to references to other resources within - // the message. - // - // The identifier field of resources often have different field behavior - // depending on the request it is embedded in (e.g. for Create methods name - // is optional and unused, while for Update methods it is required). Instead - // of method-specific annotations, only `IDENTIFIER` is required. - IDENTIFIER = 8; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/reference.md b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/reference.md deleted file mode 100644 index 830bacdc726..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/reference.md +++ /dev/null @@ -1,293 +0,0 @@ -# Reference -## DataService -
client.Dataservice.UploadAsync(UploadRequest { ... }) -> UploadResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.UploadAsync( - new UploadRequest - { - Columns = new List() - { - new Column - { - Id = "id", - Values = new List() { 1.1f }, - }, - }, - } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `UploadRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.DeleteAsync(DeleteRequest { ... }) -> DeleteResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.DeleteAsync(new DeleteRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DeleteRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.DescribeAsync(DescribeRequest { ... }) -> DescribeResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.DescribeAsync(new DescribeRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DescribeRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.FetchAsync(FetchRequest { ... }) -> FetchResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.FetchAsync(new FetchRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `FetchRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.ListAsync(ListRequest { ... }) -> ListResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.ListAsync(new ListRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `ListRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.QueryAsync(QueryRequest { ... }) -> QueryResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 }); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `QueryRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.UpdateAsync(UpdateRequest { ... }) -> UpdateResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.UpdateAsync(new UpdateRequest { Id = "id" }); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `UpdateRequest` - -
-
-
-
- - -
-
-
diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/snippet-templates.json b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/snippet.json b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/snippet.json deleted file mode 100644 index 546b49b57ee..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/snippet.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "types": {}, - "endpoints": [ - { - "example_identifier": null, - "id": { - "path": "/data", - "method": "POST", - "identifier_override": "endpoint_dataservice.upload" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.UploadAsync(\n new UploadRequest\n {\n Columns = new List()\n {\n new Column\n {\n Id = \"id\",\n Values = new List() { 1.1f },\n },\n },\n }\n);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/delete", - "method": "POST", - "identifier_override": "endpoint_dataservice.delete" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.DeleteAsync(new DeleteRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/describe", - "method": "POST", - "identifier_override": "endpoint_dataservice.describe" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.DescribeAsync(new DescribeRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/fetch", - "method": "GET", - "identifier_override": "endpoint_dataservice.fetch" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.FetchAsync(new FetchRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/list", - "method": "GET", - "identifier_override": "endpoint_dataservice.list" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.ListAsync(new ListRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/query", - "method": "POST", - "identifier_override": "endpoint_dataservice.query" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 });\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/update", - "method": "POST", - "identifier_override": "endpoint_dataservice.update" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.UpdateAsync(new UpdateRequest { Id = \"id\" });\n" - } - } - ] -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/Core/EnumSerializerTests.cs deleted file mode 100644 index 532d182486b..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; -using NUnit.Framework; -using SeedApi.Core; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class StringEnumSerializerTests - { - private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true }; - - private const DummyEnum KnownEnumValue2 = DummyEnum.KnownValue2; - private const string KnownEnumValue2String = "known_value2"; - - private static readonly string JsonWithKnownEnum2 = $$""" - { - "enum_property": "{{KnownEnumValue2String}}" - } - """; - - [Test] - public void ShouldParseKnownEnumValue2() - { - var obj = JsonSerializer.Deserialize(JsonWithKnownEnum2, JsonOptions); - Assert.That(obj, Is.Not.Null); - Assert.That(obj.EnumProperty, Is.EqualTo(KnownEnumValue2)); - } - - [Test] - public void ShouldSerializeKnownEnumValue2() - { - var json = JsonSerializer.SerializeToElement( - new DummyObject { EnumProperty = KnownEnumValue2 }, - JsonOptions - ); - TestContext.WriteLine("Serialized JSON: \n" + json); - var enumString = json.GetProperty("enum_property").GetString(); - Assert.That(enumString, Is.Not.Null); - Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); - } - } - - public class DummyObject - { - [JsonPropertyName("enum_property")] - public DummyEnum EnumProperty { get; set; } - } - - [JsonConverter(typeof(EnumSerializer))] - public enum DummyEnum - { - [EnumMember(Value = "known_value1")] - KnownValue1, - - [EnumMember(Value = "known_value2")] - KnownValue2, - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/Core/RawClientTests.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/Core/RawClientTests.cs deleted file mode 100644 index df141253267..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/Core/RawClientTests.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Net.Http; -using FluentAssertions; -using NUnit.Framework; -using SeedApi.Core; -using WireMock.Server; -using SystemTask = System.Threading.Tasks.Task; -using WireMockRequest = WireMock.RequestBuilders.Request; -using WireMockResponse = WireMock.ResponseBuilders.Response; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class RawClientTests - { - private WireMockServer _server; - private HttpClient _httpClient; - private RawClient _rawClient; - private string _baseUrl; - private const int _maxRetries = 3; - - [SetUp] - public void SetUp() - { - _server = WireMockServer.Start(); - _baseUrl = _server.Url ?? ""; - _httpClient = new HttpClient { BaseAddress = new Uri(_baseUrl) }; - _rawClient = new RawClient( - new ClientOptions() { HttpClient = _httpClient, MaxRetries = _maxRetries } - ); - } - - [Test] - [TestCase(408)] - [TestCase(429)] - [TestCase(500)] - [TestCase(504)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnRetryableStatusCodes(int statusCode) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Server Error") - .WillSetStateTo("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(200).WithBody("Success")); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(200)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Success")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(_maxRetries)); - } - - [Test] - [TestCase(400)] - [TestCase(409)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnNonRetryableStatusCodes( - int statusCode - ) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith( - WireMockResponse.Create().WithStatusCode(statusCode).WithBody("Failure") - ); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(statusCode)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Failure")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(1)); - } - - [TearDown] - public void TearDown() - { - _server.Dispose(); - _httpClient.Dispose(); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index fd7b07f82e5..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.sln b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.sln new file mode 100644 index 00000000000..96df241210f --- /dev/null +++ b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{6E7FDF37-F5E9-4103-B402-68FFEE034AF9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{C504266E-B247-4BA1-BA35-675C433AF4EC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6E7FDF37-F5E9-4103-B402-68FFEE034AF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6E7FDF37-F5E9-4103-B402-68FFEE034AF9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6E7FDF37-F5E9-4103-B402-68FFEE034AF9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6E7FDF37-F5E9-4103-B402-68FFEE034AF9}.Release|Any CPU.Build.0 = Release|Any CPU + {C504266E-B247-4BA1-BA35-675C433AF4EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C504266E-B247-4BA1-BA35-675C433AF4EC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C504266E-B247-4BA1-BA35-675C433AF4EC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C504266E-B247-4BA1-BA35-675C433AF4EC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index af2c9adf7a7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Constants.cs deleted file mode 100644 index ccf4e963cc8..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedApi.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index a39de9c28d7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/EnumSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/EnumSerializer.cs deleted file mode 100644 index ac5c0792fbe..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/EnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class EnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public EnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Extensions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Extensions.cs deleted file mode 100644 index 2e70f2719a2..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Extensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Runtime.Serialization; - -namespace SeedApi.Core; - -internal static class Extensions -{ - public static string Stringify(this Enum value) - { - var field = value.GetType().GetField(value.ToString()); - var attribute = (EnumMemberAttribute) - Attribute.GetCustomAttribute(field, typeof(EnumMemberAttribute)); - return attribute?.Value ?? value.ToString(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/HeaderValue.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/HeaderValue.cs deleted file mode 100644 index 30df1c51646..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/HeaderValue.cs +++ /dev/null @@ -1,17 +0,0 @@ -using OneOf; - -namespace SeedApi.Core; - -internal sealed class HeaderValue(OneOf> value) - : OneOfBase>(value) -{ - public static implicit operator HeaderValue(string value) - { - return new HeaderValue(value); - } - - public static implicit operator HeaderValue(Func value) - { - return new HeaderValue(value); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Headers.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Headers.cs deleted file mode 100644 index 24bf3179299..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Headers.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace SeedApi.Core; - -internal sealed class Headers : Dictionary -{ - public Headers() { } - - public Headers(Dictionary value) - { - foreach (var kvp in value) - { - this[kvp.Key] = new HeaderValue(kvp.Value); - } - } - - public Headers(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 130464dace1..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/IRequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/IRequestOptions.cs deleted file mode 100644 index e365cd162f0..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/IRequestOptions.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedApi.Core; - -internal interface IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 13a05f5111f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer(), new OneOfSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index 24ee9268e48..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -internal class OneOfSerializer : JsonConverter -{ - public override IOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in GetOneOfTypes(typeToConvert)) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (IOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - public override void Write(Utf8JsonWriter writer, IOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes(System.Type typeToConvert) - { - var casts = typeToConvert - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeToConvert; - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{type} isn't OneOf or OneOfBase"); - } - - public override bool CanConvert(System.Type typeToConvert) - { - return typeof(IOneOf).IsAssignableFrom(typeToConvert); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/ClientOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/ClientOptions.cs deleted file mode 100644 index 5c12019c489..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Net.Client; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); - - /// - /// The options used for gRPC client endpoints. - /// - public GrpcChannelOptions? GrpcOptions { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } = new(); - - /// - /// Clones this and returns a new instance - /// - internal ClientOptions Clone() - { - return new ClientOptions - { - BaseUrl = BaseUrl, - HttpClient = HttpClient, - MaxRetries = MaxRetries, - Timeout = Timeout, - Headers = new Headers(new Dictionary(Headers)), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/GrpcRequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/GrpcRequestOptions.cs deleted file mode 100644 index 48c37927ea1..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/GrpcRequestOptions.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Core; -using SeedApi.Core; - -namespace SeedApi; - -#nullable enable - -public partial class GrpcRequestOptions -{ - /// - /// The maximum number of retry attempts. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// Options for write operations. - /// - public WriteOptions? WriteOptions { get; init; } - - /// - /// Client-side call credentials. Provide authorization with per-call granularity. - /// - public CallCredentials? CallCredentials { get; init; } - - /// - /// Headers to be sent with this particular request. - /// - internal Headers Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/RequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/RequestOptions.cs deleted file mode 100644 index 4d560f8337a..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Net.Http; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class RequestOptions : IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// The http headers sent with the request. - /// - Headers IRequestOptions.Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/SeedApiApiException.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/SeedApiApiException.cs deleted file mode 100644 index 8c81259a788..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/SeedApiApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedApi; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedApiApiException(string message, int statusCode, object body) - : SeedApiException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body => body; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/SeedApiException.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/SeedApiException.cs deleted file mode 100644 index 14d9b8d9ddd..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/SeedApiException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedApi; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedApiException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/Version.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/Version.cs deleted file mode 100644 index f430a1bf84c..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/Public/Version.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi; - -internal class Version -{ - public const string Current = "0.0.1"; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index 8cff8b09a01..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System.Net.Http; -using System.Net.Http.Headers; -using System.Text; -using System.Threading; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient(ClientOptions clientOptions) -{ - private const int InitialRetryDelayMs = 1000; - private const int MaxRetryDelayMs = 60000; - - private readonly Lazy _grpc = new(() => new RawGrpcClient(clientOptions)); - - /// - /// The gRPC client used to make requests. - /// - public RawGrpcClient Grpc => _grpc.Value; - - /// - /// The client options applied on every request. - /// - public readonly ClientOptions Options = clientOptions; - - public async Task MakeRequestAsync( - BaseApiRequest request, - CancellationToken cancellationToken = default - ) - { - // Apply the request timeout. - var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - var timeout = request.Options?.Timeout ?? Options.Timeout; - cts.CancelAfter(timeout); - - // Send the request. - return await SendWithRetriesAsync(request, cts.Token); - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Headers Headers { get; init; } = new(); - - public IRequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private async Task SendWithRetriesAsync( - BaseApiRequest request, - CancellationToken cancellationToken - ) - { - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var maxRetries = request.Options?.MaxRetries ?? Options.MaxRetries; - var response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - for (var i = 0; i < maxRetries; i++) - { - if (!ShouldRetry(response)) - { - break; - } - var delayMs = Math.Min(InitialRetryDelayMs * (int)Math.Pow(2, i), MaxRetryDelayMs); - await System.Threading.Tasks.Task.Delay(delayMs, cancellationToken); - response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - } - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - private static bool ShouldRetry(HttpResponseMessage response) - { - var statusCode = (int)response.StatusCode; - return statusCode is 408 or 429 or >= 500; - } - - private HttpRequestMessage BuildHttpRequest(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - switch (request) - { - // Add the request body to the request. - case JsonApiRequest jsonRequest: - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - break; - } - case StreamApiRequest { Body: not null } streamRequest: - httpRequest.Content = new StreamContent(streamRequest.Body); - break; - } - if (request.ContentType != null) - { - httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse( - request.ContentType - ); - } - SetHeaders(httpRequest, Options.Headers); - SetHeaders(httpRequest, request.Headers); - SetHeaders(httpRequest, request.Options?.Headers ?? new Headers()); - - return httpRequest; - } - - private static string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url[..^1]; - return url; - } - - private static void SetHeaders(HttpRequestMessage httpRequest, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - httpRequest.Headers.TryAddWithoutValidation(header.Key, value); - } - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/RawGrpcClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/RawGrpcClient.cs deleted file mode 100644 index 657be1d946d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Core/RawGrpcClient.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Grpc.Core; -using Grpc.Net.Client; - -namespace SeedApi.Core; - -/// -/// Utility class for making gRPC requests to the API. -/// -internal class RawGrpcClient -{ - /// - /// The gRPC channel used to make requests. - /// - public readonly GrpcChannel Channel; - - private readonly ClientOptions _clientOptions; - - public RawGrpcClient(ClientOptions clientOptions) - { - _clientOptions = clientOptions; - - var grpcOptions = PrepareGrpcChannelOptions(); - Channel = - grpcOptions != null - ? GrpcChannel.ForAddress(_clientOptions.BaseUrl, grpcOptions) - : GrpcChannel.ForAddress(_clientOptions.BaseUrl); - } - - /// - /// Prepares the gRPC metadata associated with the given request. - /// The provided request headers take precedence over the headers - /// associated with this client (which are sent on _every_ request). - /// - public CallOptions CreateCallOptions( - GrpcRequestOptions options, - CancellationToken cancellationToken = default - ) - { - var metadata = new global::Grpc.Core.Metadata(); - SetHeaders(metadata, _clientOptions.Headers); - SetHeaders(metadata, options.Headers); - - var timeout = options.Timeout ?? _clientOptions.Timeout; - var deadline = DateTime.UtcNow.Add(timeout); - return new CallOptions( - metadata, - deadline, - cancellationToken, - options.WriteOptions, - null, - options.CallCredentials - ); - } - - private void SetHeaders(global::Grpc.Core.Metadata metadata, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - metadata.Add(header.Key, value); - } - } - } - - private GrpcChannelOptions? PrepareGrpcChannelOptions() - { - var grpcChannelOptions = _clientOptions.GrpcOptions; - if (grpcChannelOptions == null) - { - return null; - } - grpcChannelOptions.HttpClient ??= _clientOptions.HttpClient; - grpcChannelOptions.MaxRetryAttempts ??= _clientOptions.MaxRetries; - return grpcChannelOptions; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/DataserviceClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/DataserviceClient.cs deleted file mode 100644 index 8da06ffed93..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/DataserviceClient.cs +++ /dev/null @@ -1,288 +0,0 @@ -using System.Threading; -using Data.V1.Grpc; -using Grpc.Core; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class DataserviceClient -{ - private RawClient _client; - - private RawGrpcClient _grpc; - - private DataService.DataServiceClient _dataService; - - internal DataserviceClient(RawClient client) - { - _client = client; - _grpc = _client.Grpc; - _dataService = new DataService.DataServiceClient(_grpc.Channel); - } - - /// - /// - /// await client.Dataservice.UploadAsync( - /// new UploadRequest - /// { - /// Columns = new List<Column>() - /// { - /// new Column - /// { - /// Id = "id", - /// Values = new List<float>() { 1.1f }, - /// }, - /// }, - /// } - /// ); - /// - /// - public async Task UploadAsync( - UploadRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.UploadAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return UploadResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.DeleteAsync(new DeleteRequest()); - /// - /// - public async Task DeleteAsync( - DeleteRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.DeleteAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return DeleteResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.DescribeAsync(new DescribeRequest()); - /// - /// - public async Task DescribeAsync( - DescribeRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.DescribeAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return DescribeResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.FetchAsync(new FetchRequest()); - /// - /// - public async Task FetchAsync( - FetchRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.FetchAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return FetchResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.ListAsync(new ListRequest()); - /// - /// - public async Task ListAsync( - ListRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.ListAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return ListResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 }); - /// - /// - public async Task QueryAsync( - QueryRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.QueryAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return QueryResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.UpdateAsync(new UpdateRequest { Id = "id" }); - /// - /// - public async Task UpdateAsync( - UpdateRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.UpdateAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return UpdateResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/DeleteRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/DeleteRequest.cs deleted file mode 100644 index 10d785c72b7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/DeleteRequest.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DeleteRequest -{ - [JsonPropertyName("ids")] - public IEnumerable? Ids { get; set; } - - [JsonPropertyName("deleteAll")] - public bool? DeleteAll { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DeleteRequest type into its Protobuf-equivalent representation. - /// - internal Proto.DeleteRequest ToProto() - { - var result = new Proto.DeleteRequest(); - if (Ids != null && Ids.Any()) - { - result.Ids.AddRange(Ids); - } - if (DeleteAll != null) - { - result.DeleteAll = DeleteAll ?? false; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/DescribeRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/DescribeRequest.cs deleted file mode 100644 index a9de06c69f4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/DescribeRequest.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DescribeRequest -{ - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DescribeRequest type into its Protobuf-equivalent representation. - /// - internal Proto.DescribeRequest ToProto() - { - var result = new Proto.DescribeRequest(); - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/FetchRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/FetchRequest.cs deleted file mode 100644 index 70ea06edfc4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/FetchRequest.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record FetchRequest -{ - public IEnumerable Ids { get; set; } = new List(); - - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the FetchRequest type into its Protobuf-equivalent representation. - /// - internal Proto.FetchRequest ToProto() - { - var result = new Proto.FetchRequest(); - if (Ids.Any()) - { - result.Ids.AddRange(Ids); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/ListRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/ListRequest.cs deleted file mode 100644 index afc15a6b93d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/ListRequest.cs +++ /dev/null @@ -1,47 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListRequest -{ - public string? Prefix { get; set; } - - public uint? Limit { get; set; } - - public string? PaginationToken { get; set; } - - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListRequest type into its Protobuf-equivalent representation. - /// - internal Proto.ListRequest ToProto() - { - var result = new Proto.ListRequest(); - if (Prefix != null) - { - result.Prefix = Prefix ?? ""; - } - if (Limit != null) - { - result.Limit = Limit ?? 0; - } - if (PaginationToken != null) - { - result.PaginationToken = PaginationToken ?? ""; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/QueryRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/QueryRequest.cs deleted file mode 100644 index a47fc99c7a4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/QueryRequest.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryRequest -{ - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("topK")] - public required uint TopK { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - [JsonPropertyName("includeValues")] - public bool? IncludeValues { get; set; } - - [JsonPropertyName("includeMetadata")] - public bool? IncludeMetadata { get; set; } - - [JsonPropertyName("queries")] - public IEnumerable? Queries { get; set; } - - [JsonPropertyName("column")] - public IEnumerable? Column { get; set; } - - [JsonPropertyName("id")] - public string? Id { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryRequest type into its Protobuf-equivalent representation. - /// - internal Proto.QueryRequest ToProto() - { - var result = new Proto.QueryRequest(); - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - result.TopK = TopK; - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - if (IncludeValues != null) - { - result.IncludeValues = IncludeValues ?? false; - } - if (IncludeMetadata != null) - { - result.IncludeMetadata = IncludeMetadata ?? false; - } - if (Queries != null && Queries.Any()) - { - result.Queries.AddRange(Queries.Select(elem => elem.ToProto())); - } - if (Column != null && Column.Any()) - { - result.Column.AddRange(Column); - } - if (Id != null) - { - result.Id = Id ?? ""; - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/UpdateRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/UpdateRequest.cs deleted file mode 100644 index 4f4977cddc3..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/UpdateRequest.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UpdateRequest -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("values")] - public IEnumerable? Values { get; set; } - - [JsonPropertyName("setMetadata")] - public Metadata? SetMetadata { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UpdateRequest type into its Protobuf-equivalent representation. - /// - internal Proto.UpdateRequest ToProto() - { - var result = new Proto.UpdateRequest(); - result.Id = Id; - if (Values != null && Values.Any()) - { - result.Values.AddRange(Values); - } - if (SetMetadata != null) - { - result.SetMetadata = SetMetadata.ToProto(); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/UploadRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/UploadRequest.cs deleted file mode 100644 index 8421016d0df..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Dataservice/Requests/UploadRequest.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UploadRequest -{ - [JsonPropertyName("columns")] - public IEnumerable Columns { get; set; } = new List(); - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UploadRequest type into its Protobuf-equivalent representation. - /// - internal Proto.UploadRequest ToProto() - { - var result = new Proto.UploadRequest(); - if (Columns.Any()) - { - result.Columns.AddRange(Columns.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApi.csproj deleted file mode 100644 index 1ed464ff911..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,75 +0,0 @@ - - - - - Seed.Client - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - $(Version) - $(Version) - README.md - https://github.com/grpc-proto-exhaustive/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - - - - - - <_Parameter1>SeedApi.Test - - - - - diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index 017ab8726ca..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(ClientOptions? clientOptions = null) - { - var defaultHeaders = new Headers( - new Dictionary() - { - { "X-Fern-Language", "C#" }, - { "X-Fern-SDK-Name", "SeedApi" }, - { "X-Fern-SDK-Version", Version.Current }, - { "User-Agent", "Ferngrpc-proto-exhaustive/0.0.1" }, - } - ); - clientOptions ??= new ClientOptions(); - foreach (var header in defaultHeaders) - { - if (!clientOptions.Headers.ContainsKey(header.Key)) - { - clientOptions.Headers[header.Key] = header.Value; - } - } - _client = new RawClient(clientOptions); - Dataservice = new DataserviceClient(_client); - } - - public DataserviceClient Dataservice { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Column.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Column.cs deleted file mode 100644 index 602200b6dfb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Column.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Column -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("values")] - public IEnumerable Values { get; set; } = new List(); - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Column type into its Protobuf-equivalent representation. - /// - internal Proto.Column ToProto() - { - var result = new Proto.Column(); - result.Id = Id; - if (Values.Any()) - { - result.Values.AddRange(Values); - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new Column type from its Protobuf-equivalent representation. - /// - internal static Column FromProto(Proto.Column value) - { - return new Column - { - Id = value.Id, - Values = value.Values?.ToList() ?? new List(), - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/DeleteResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/DeleteResponse.cs deleted file mode 100644 index def64fbd896..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/DeleteResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DeleteResponse -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DeleteResponse type into its Protobuf-equivalent representation. - /// - internal Proto.DeleteResponse ToProto() - { - return new Proto.DeleteResponse(); - } - - /// - /// Returns a new DeleteResponse type from its Protobuf-equivalent representation. - /// - internal static DeleteResponse FromProto(Proto.DeleteResponse value) - { - return new DeleteResponse(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/DescribeResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/DescribeResponse.cs deleted file mode 100644 index fbd45c674b7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/DescribeResponse.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DescribeResponse -{ - [JsonPropertyName("namespaces")] - public Dictionary? Namespaces { get; set; } - - [JsonPropertyName("dimension")] - public uint? Dimension { get; set; } - - [JsonPropertyName("fullness")] - public float? Fullness { get; set; } - - [JsonPropertyName("totalCount")] - public uint? TotalCount { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DescribeResponse type into its Protobuf-equivalent representation. - /// - internal Proto.DescribeResponse ToProto() - { - var result = new Proto.DescribeResponse(); - if (Namespaces != null && Namespaces.Any()) - { - foreach (var kvp in Namespaces) - { - result.Namespaces.Add(kvp.Key, kvp.Value.ToProto()); - } - ; - } - if (Dimension != null) - { - result.Dimension = Dimension ?? 0; - } - if (Fullness != null) - { - result.Fullness = Fullness ?? 0.0f; - } - if (TotalCount != null) - { - result.TotalCount = TotalCount ?? 0; - } - return result; - } - - /// - /// Returns a new DescribeResponse type from its Protobuf-equivalent representation. - /// - internal static DescribeResponse FromProto(Proto.DescribeResponse value) - { - return new DescribeResponse - { - Namespaces = value.Namespaces?.ToDictionary( - kvp => kvp.Key, - kvp => NamespaceSummary.FromProto(kvp.Value) - ), - Dimension = value.Dimension, - Fullness = value.Fullness, - TotalCount = value.TotalCount, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/FetchResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/FetchResponse.cs deleted file mode 100644 index ae595dfdc41..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/FetchResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record FetchResponse -{ - [JsonPropertyName("columns")] - public Dictionary? Columns { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the FetchResponse type into its Protobuf-equivalent representation. - /// - internal Proto.FetchResponse ToProto() - { - var result = new Proto.FetchResponse(); - if (Columns != null && Columns.Any()) - { - foreach (var kvp in Columns) - { - result.Columns.Add(kvp.Key, kvp.Value.ToProto()); - } - ; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new FetchResponse type from its Protobuf-equivalent representation. - /// - internal static FetchResponse FromProto(Proto.FetchResponse value) - { - return new FetchResponse - { - Columns = value.Columns?.ToDictionary( - kvp => kvp.Key, - kvp => Column.FromProto(kvp.Value) - ), - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/IndexedData.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/IndexedData.cs deleted file mode 100644 index 242c4d0b135..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/IndexedData.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record IndexedData -{ - [JsonPropertyName("indices")] - public IEnumerable Indices { get; set; } = new List(); - - [JsonPropertyName("values")] - public IEnumerable Values { get; set; } = new List(); - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the IndexedData type into its Protobuf-equivalent representation. - /// - internal Proto.IndexedData ToProto() - { - var result = new Proto.IndexedData(); - if (Indices.Any()) - { - result.Indices.AddRange(Indices); - } - if (Values.Any()) - { - result.Values.AddRange(Values); - } - return result; - } - - /// - /// Returns a new IndexedData type from its Protobuf-equivalent representation. - /// - internal static IndexedData FromProto(Proto.IndexedData value) - { - return new IndexedData - { - Indices = value.Indices?.ToList() ?? new List(), - Values = value.Values?.ToList() ?? new List(), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ListElement.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ListElement.cs deleted file mode 100644 index 2044bd62e56..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ListElement.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListElement -{ - [JsonPropertyName("id")] - public string? Id { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListElement type into its Protobuf-equivalent representation. - /// - internal Proto.ListElement ToProto() - { - var result = new Proto.ListElement(); - if (Id != null) - { - result.Id = Id ?? ""; - } - return result; - } - - /// - /// Returns a new ListElement type from its Protobuf-equivalent representation. - /// - internal static ListElement FromProto(Proto.ListElement value) - { - return new ListElement { Id = value.Id }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ListResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ListResponse.cs deleted file mode 100644 index 9d691519a85..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ListResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListResponse -{ - [JsonPropertyName("columns")] - public IEnumerable? Columns { get; set; } - - [JsonPropertyName("pagination")] - public Pagination? Pagination { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListResponse type into its Protobuf-equivalent representation. - /// - internal Proto.ListResponse ToProto() - { - var result = new Proto.ListResponse(); - if (Columns != null && Columns.Any()) - { - result.Columns.AddRange(Columns.Select(elem => elem.ToProto())); - } - if (Pagination != null) - { - result.Pagination = Pagination.ToProto(); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new ListResponse type from its Protobuf-equivalent representation. - /// - internal static ListResponse FromProto(Proto.ListResponse value) - { - return new ListResponse - { - Columns = value.Columns?.Select(ListElement.FromProto), - Pagination = value.Pagination != null ? Pagination.FromProto(value.Pagination) : null, - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Metadata.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Metadata.cs deleted file mode 100644 index 2e16aa50b3f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Metadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class Metadata : Dictionary -{ - public Metadata() { } - - public Metadata(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Struct ToProto() - { - var result = new Proto.Struct(); - foreach (var kvp in this) - { - result.Fields[kvp.Key] = kvp.Value?.ToProto(); - } - return result; - } - - internal static Metadata FromProto(Proto.Struct value) - { - var result = new Metadata(); - foreach (var kvp in value.Fields) - { - result[kvp.Key] = kvp.Value != null ? MetadataValue.FromProto(kvp.Value) : null; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/MetadataValue.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/MetadataValue.cs deleted file mode 100644 index 2308676e891..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/MetadataValue.cs +++ /dev/null @@ -1,91 +0,0 @@ -using OneOf; -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class MetadataValue( - OneOf, Metadata> value -) : OneOfBase, Metadata>(value) -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Value ToProto() - { - return Match( - Proto.Value.ForString, - Proto.Value.ForNumber, - Proto.Value.ForBool, - list => new Proto.Value - { - ListValue = new Proto.ListValue - { - Values = { list.Select(item => item?.ToProto()) }, - }, - }, - nested => new Proto.Value { StructValue = nested.ToProto() } - ); - } - - internal static MetadataValue? FromProto(Proto.Value value) - { - return value.KindCase switch - { - Proto.Value.KindOneofCase.StringValue => value.StringValue, - Proto.Value.KindOneofCase.NumberValue => value.NumberValue, - Proto.Value.KindOneofCase.BoolValue => value.BoolValue, - Proto.Value.KindOneofCase.ListValue => value - .ListValue.Values.Select(FromProto) - .ToList(), - Proto.Value.KindOneofCase.StructValue => Metadata.FromProto(value.StructValue), - _ => null, - }; - } - - public static implicit operator MetadataValue(string value) => new(value); - - public static implicit operator MetadataValue(bool value) => new(value); - - public static implicit operator MetadataValue(double value) => new(value); - - public static implicit operator MetadataValue(Metadata value) => new(value); - - public static implicit operator MetadataValue(MetadataValue?[] value) => new(value); - - public static implicit operator MetadataValue(List value) => new(value); - - public static implicit operator MetadataValue(string[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(bool[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(bool?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/NamespaceSummary.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/NamespaceSummary.cs deleted file mode 100644 index da0573827da..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/NamespaceSummary.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record NamespaceSummary -{ - [JsonPropertyName("count")] - public uint? Count { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the NamespaceSummary type into its Protobuf-equivalent representation. - /// - internal Proto.NamespaceSummary ToProto() - { - var result = new Proto.NamespaceSummary(); - if (Count != null) - { - result.Count = Count ?? 0; - } - return result; - } - - /// - /// Returns a new NamespaceSummary type from its Protobuf-equivalent representation. - /// - internal static NamespaceSummary FromProto(Proto.NamespaceSummary value) - { - return new NamespaceSummary { Count = value.Count }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Pagination.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Pagination.cs deleted file mode 100644 index 87a67db48af..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Pagination.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Pagination -{ - [JsonPropertyName("next")] - public string? Next { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Pagination type into its Protobuf-equivalent representation. - /// - internal Proto.Pagination ToProto() - { - var result = new Proto.Pagination(); - if (Next != null) - { - result.Next = Next ?? ""; - } - return result; - } - - /// - /// Returns a new Pagination type from its Protobuf-equivalent representation. - /// - internal static Pagination FromProto(Proto.Pagination value) - { - return new Pagination { Next = value.Next }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryColumn.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryColumn.cs deleted file mode 100644 index 94c3d4f14af..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryColumn.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryColumn -{ - [JsonPropertyName("values")] - public IEnumerable Values { get; set; } = new List(); - - [JsonPropertyName("topK")] - public uint? TopK { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryColumn type into its Protobuf-equivalent representation. - /// - internal Proto.QueryColumn ToProto() - { - var result = new Proto.QueryColumn(); - if (Values.Any()) - { - result.Values.AddRange(Values); - } - if (TopK != null) - { - result.TopK = TopK ?? 0; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new QueryColumn type from its Protobuf-equivalent representation. - /// - internal static QueryColumn FromProto(Proto.QueryColumn value) - { - return new QueryColumn - { - Values = value.Values?.ToList() ?? new List(), - TopK = value.TopK, - Namespace = value.Namespace, - Filter = value.Filter != null ? Metadata.FromProto(value.Filter) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryResponse.cs deleted file mode 100644 index c4786b94639..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryResponse -{ - [JsonPropertyName("results")] - public IEnumerable? Results { get; set; } - - [JsonPropertyName("matches")] - public IEnumerable? Matches { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryResponse type into its Protobuf-equivalent representation. - /// - internal Proto.QueryResponse ToProto() - { - var result = new Proto.QueryResponse(); - if (Results != null && Results.Any()) - { - result.Results.AddRange(Results.Select(elem => elem.ToProto())); - } - if (Matches != null && Matches.Any()) - { - result.Matches.AddRange(Matches.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new QueryResponse type from its Protobuf-equivalent representation. - /// - internal static QueryResponse FromProto(Proto.QueryResponse value) - { - return new QueryResponse - { - Results = value.Results?.Select(QueryResult.FromProto), - Matches = value.Matches?.Select(ScoredColumn.FromProto), - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryResult.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryResult.cs deleted file mode 100644 index 8c8988af1fd..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/QueryResult.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryResult -{ - [JsonPropertyName("matches")] - public IEnumerable? Matches { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryResult type into its Protobuf-equivalent representation. - /// - internal Proto.QueryResult ToProto() - { - var result = new Proto.QueryResult(); - if (Matches != null && Matches.Any()) - { - result.Matches.AddRange(Matches.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } - - /// - /// Returns a new QueryResult type from its Protobuf-equivalent representation. - /// - internal static QueryResult FromProto(Proto.QueryResult value) - { - return new QueryResult - { - Matches = value.Matches?.Select(ScoredColumn.FromProto), - Namespace = value.Namespace, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ScoredColumn.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ScoredColumn.cs deleted file mode 100644 index 5ca5fa6e2f6..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/ScoredColumn.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ScoredColumn -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("score")] - public float? Score { get; set; } - - [JsonPropertyName("values")] - public IEnumerable? Values { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ScoredColumn type into its Protobuf-equivalent representation. - /// - internal Proto.ScoredColumn ToProto() - { - var result = new Proto.ScoredColumn(); - result.Id = Id; - if (Score != null) - { - result.Score = Score ?? 0.0f; - } - if (Values != null && Values.Any()) - { - result.Values.AddRange(Values); - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new ScoredColumn type from its Protobuf-equivalent representation. - /// - internal static ScoredColumn FromProto(Proto.ScoredColumn value) - { - return new ScoredColumn - { - Id = value.Id, - Score = value.Score, - Values = value.Values?.ToList(), - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/UpdateResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/UpdateResponse.cs deleted file mode 100644 index 0d7e3f61b18..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/UpdateResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UpdateResponse -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UpdateResponse type into its Protobuf-equivalent representation. - /// - internal Proto.UpdateResponse ToProto() - { - return new Proto.UpdateResponse(); - } - - /// - /// Returns a new UpdateResponse type from its Protobuf-equivalent representation. - /// - internal static UpdateResponse FromProto(Proto.UpdateResponse value) - { - return new UpdateResponse(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/UploadResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/UploadResponse.cs deleted file mode 100644 index 23286a04145..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/UploadResponse.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UploadResponse -{ - [JsonPropertyName("count")] - public uint? Count { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UploadResponse type into its Protobuf-equivalent representation. - /// - internal Proto.UploadResponse ToProto() - { - var result = new Proto.UploadResponse(); - if (Count != null) - { - result.Count = Count ?? 0; - } - return result; - } - - /// - /// Returns a new UploadResponse type from its Protobuf-equivalent representation. - /// - internal static UploadResponse FromProto(Proto.UploadResponse value) - { - return new UploadResponse { Count = value.Count }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Usage.cs b/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Usage.cs deleted file mode 100644 index e5921bf2191..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/package-id/src/SeedApi/Types/Usage.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Usage -{ - [JsonPropertyName("units")] - public uint? Units { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Usage type into its Protobuf-equivalent representation. - /// - internal Proto.Usage ToProto() - { - var result = new Proto.Usage(); - if (Units != null) - { - result.Units = Units ?? 0; - } - return result; - } - - /// - /// Returns a new Usage type from its Protobuf-equivalent representation. - /// - internal static Usage FromProto(Proto.Usage value) - { - return new Usage { Units = value.Units }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.github/workflows/ci.yml b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.gitignore b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.gitignore deleted file mode 100644 index 11014f2b33d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -## This is based on `dotnet new gitignore` and customized by Fern - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -# [Rr]elease/ (Ignored by Fern) -# [Rr]eleases/ (Ignored by Fern) -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -# [Ll]og/ (Ignored by Fern) -# [Ll]ogs/ (Ignored by Fern) - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/fern.config.json b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml deleted file mode 100644 index 972ed6d7b73..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/generators.yml +++ /dev/null @@ -1,6 +0,0 @@ -api: - - proto: - root: proto - target: proto/data/v1/data.proto - overrides: overrides.yml - local-generation: true \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/overrides.yml b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/overrides.yml deleted file mode 100644 index 062b98c2ccb..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/overrides.yml +++ /dev/null @@ -1,56 +0,0 @@ - -paths: - /data/fetch: - get: - x-fern-request-name: FetchRequest - /data/list: - get: - x-fern-request-name: ListRequest -components: - schemas: - Metadata: - oneOf: - - type: object - additionalProperties: - $ref: '#/components/schemas/MetadataValue' - - type: object - x-fern-encoding: - proto: - type: google.protobuf.Struct - MetadataValue: - oneOf: - - type: number - format: double - - type: string - - type: boolean - x-fern-encoding: - proto: - type: google.protobuf.Value - DeleteRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - DescribeRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - QueryRequest: - properties: - filter: - $ref: '#/components/schemas/Metadata' - QueryColumn: - properties: - filter: - $ref: '#/components/schemas/Metadata' - ScoredColumn: - properties: - metadata: - $ref: '#/components/schemas/Metadata' - UpdateRequest: - properties: - setMetadata: - $ref: '#/components/schemas/Metadata' - Column: - properties: - metadata: - $ref: '#/components/schemas/Metadata' \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/data/v1/data.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/data/v1/data.proto deleted file mode 100644 index dc3b07ece42..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/data/v1/data.proto +++ /dev/null @@ -1,213 +0,0 @@ -syntax = "proto3"; - -package data.v1; - -import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Data.V1.Grpc"; -option go_package = "github.com/acme.co/data-go-grpc"; - -message IndexedData { - repeated uint32 indices = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; -} - -message Column { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct metadata = 3; - IndexedData indexed_data = 4; -} - -message ScoredColumn { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - float score = 2; - repeated float values = 3; - google.protobuf.Struct metadata = 4; - IndexedData indexed_data = 5; -} - -message UploadRequest { - repeated Column columns = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message UploadResponse { - uint32 count = 1; -} - -message DeleteRequest { - repeated string ids = 1; - bool delete_all = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; -} - -message DeleteResponse {} - -message FetchRequest { - repeated string ids = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message FetchResponse { - map columns = 1; - string namespace = 2; - optional Usage usage = 3; -} - -message ListRequest { - optional string prefix = 1; - optional uint32 limit = 2; - optional string pagination_token = 3; - string namespace = 4; -} - -message Pagination { - string next = 1; -} - -message ListElement { - string id = 1; -} - -message ListResponse { - repeated ListElement columns = 1; - optional Pagination pagination = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message QueryColumn { - repeated float values = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - uint32 top_k = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; - IndexedData indexed_data = 5; -} - -message QueryRequest { - string namespace = 1; - uint32 top_k = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct filter = 3; - bool include_values = 4; - bool include_metadata = 5; - repeated QueryColumn queries = 6 [ - deprecated = true - ]; - repeated float column = 7; - string id = 8; - IndexedData indexed_data = 9; -} - -message QueryResult { - repeated ScoredColumn matches = 1; - string namespace = 2; -} - -message QueryResponse { - repeated QueryResult results = 1 [deprecated=true]; - repeated ScoredColumn matches = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message Usage { - optional uint32 units = 1; -} - -message UpdateRequest { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2; - google.protobuf.Struct set_metadata = 3; - string namespace = 4; - IndexedData indexed_data = 5; -} - -message UpdateResponse {} - -message DescribeRequest { - google.protobuf.Struct filter = 1; -} - -message NamespaceSummary { - uint32 count = 1; -} - -message DescribeResponse { - map namespaces = 1; - uint32 dimension = 2; - float fullness = 3; - uint32 total_count = 4; -} - -service DataService { - rpc Upload(UploadRequest) returns (UploadResponse) { - option (google.api.http) = { - post: "/data" - body: "*" - }; - } - - rpc Delete(DeleteRequest) returns (DeleteResponse) { - option (google.api.http) = { - post: "/data/delete" - body: "*" - }; - } - - rpc Fetch(FetchRequest) returns (FetchResponse) { - option (google.api.http) = { - get: "/data/fetch" - }; - } - - rpc List(ListRequest) returns (ListResponse) { - option (google.api.http) = { - get: "/data/list" - }; - } - - rpc Query(QueryRequest) returns (QueryResponse) { - option (google.api.http) = { - post: "/data/query" - body: "*" - }; - } - - rpc Update(UpdateRequest) returns (UpdateResponse) { - option (google.api.http) = { - post: "/data/update" - body: "*" - }; - } - - rpc Describe(DescribeRequest) returns (DescribeResponse) { - option (google.api.http) = { - post: "/data/describe" - body: "*" - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/field_behavior.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/field_behavior.proto deleted file mode 100644 index 128799c558d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/field_behavior.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "FieldBehaviorProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.FieldOptions { - // A designation of a specific field behavior (required, output only, etc.) - // in protobuf messages. - // - // Examples: - // - // string name = 1 [(google.api.field_behavior) = REQUIRED]; - // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // google.protobuf.Duration ttl = 1 - // [(google.api.field_behavior) = INPUT_ONLY]; - // google.protobuf.Timestamp expire_time = 1 - // [(google.api.field_behavior) = OUTPUT_ONLY, - // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; -} - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -enum FieldBehavior { - // Conventional default for enums. Do not use this. - FIELD_BEHAVIOR_UNSPECIFIED = 0; - - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - OPTIONAL = 1; - - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - REQUIRED = 2; - - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - OUTPUT_ONLY = 3; - - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - INPUT_ONLY = 4; - - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - IMMUTABLE = 5; - - // Denotes that a (repeated) field is an unordered list. - // This indicates that the service may provide the elements of the list - // in any arbitrary order, rather than the order the user originally - // provided. Additionally, the list's order may or may not be stable. - UNORDERED_LIST = 6; - - // Denotes that this field returns a non-empty default value if not set. - // This indicates that if the user provides the empty value in a request, - // a non-empty value will be returned. The user will not be aware of what - // non-empty value to expect. - NON_EMPTY_DEFAULT = 7; - - // Denotes that the field in a resource (a message annotated with - // google.api.resource) is used in the resource name to uniquely identify the - // resource. For AIP-compliant APIs, this should only be applied to the - // `name` field on the resource. - // - // This behavior should not be applied to references to other resources within - // the message. - // - // The identifier field of resources often have different field behavior - // depending on the request it is embedded in (e.g. for Create methods name - // is optional and unused, while for Update methods it is required). Instead - // of method-specific annotations, only `IDENTIFIER` is required. - IDENTIFIER = 8; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/.mock/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/README.md b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/README.md deleted file mode 100644 index d7cbceedb96..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/README.md +++ /dev/null @@ -1,95 +0,0 @@ -# Seed C# Library - -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Seed%2FC%23) -[![nuget shield](https://img.shields.io/nuget/v/SeedApi)](https://nuget.org/packages/SeedApi) - -The Seed C# library provides convenient access to the Seed API from C#. - -## Installation - -```sh -nuget install SeedApi -``` - -## Usage - -Instantiate and use the client with the following: - -```csharp -using SeedApi; - -var client = new SeedApiClient(); -await client.Dataservice.UploadAsync( - new UploadRequest - { - Columns = new List() - { - new Column { Id = "id", Values = new[] { 1.1f } }, - }, - } -); -``` - -## Exception Handling - -When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error -will be thrown. - -```csharp -using SeedApi; - -try { - var response = await client.Dataservice.UploadAsync(...); -} catch (SeedApiApiException e) { - System.Console.WriteLine(e.Body); - System.Console.WriteLine(e.StatusCode); -} -``` - -## Advanced - -### Retries - -The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long -as the request is deemed retriable and the number of retry attempts has not grown larger than the configured -retry limit (default: 2). - -A request is deemed retriable when any of the following HTTP status codes is returned: - -- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) -- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) -- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) - -Use the `MaxRetries` request option to configure this behavior. - -```csharp -var response = await client.Dataservice.UploadAsync( - ..., - new RequestOptions { - MaxRetries: 0 // Override MaxRetries at the request level - } -); -``` - -### Timeouts - -The SDK defaults to a 30 second timeout. Use the `Timeout` option to configure this behavior. - -```csharp -var response = await client.Dataservice.UploadAsync( - ..., - new RequestOptions { - Timeout: TimeSpan.FromSeconds(3) // Override timeout to 3s - } -); -``` - -## Contributing - -While we value open-source contributions to this SDK, this library is generated programmatically. -Additions made directly to this library would have to be moved over to our generation code, -otherwise they would be overwritten upon the next generated release. Feel free to open a PR as -a proof of concept, but know that we will not be able to merge it as-is. We suggest opening -an issue first to discuss with us! - -On the other hand, contributions to the README are always very welcome! \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/data/v1/data.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/data/v1/data.proto deleted file mode 100644 index dc3b07ece42..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/data/v1/data.proto +++ /dev/null @@ -1,213 +0,0 @@ -syntax = "proto3"; - -package data.v1; - -import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Data.V1.Grpc"; -option go_package = "github.com/acme.co/data-go-grpc"; - -message IndexedData { - repeated uint32 indices = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; -} - -message Column { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct metadata = 3; - IndexedData indexed_data = 4; -} - -message ScoredColumn { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - float score = 2; - repeated float values = 3; - google.protobuf.Struct metadata = 4; - IndexedData indexed_data = 5; -} - -message UploadRequest { - repeated Column columns = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message UploadResponse { - uint32 count = 1; -} - -message DeleteRequest { - repeated string ids = 1; - bool delete_all = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; -} - -message DeleteResponse {} - -message FetchRequest { - repeated string ids = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - string namespace = 2; -} - -message FetchResponse { - map columns = 1; - string namespace = 2; - optional Usage usage = 3; -} - -message ListRequest { - optional string prefix = 1; - optional uint32 limit = 2; - optional string pagination_token = 3; - string namespace = 4; -} - -message Pagination { - string next = 1; -} - -message ListElement { - string id = 1; -} - -message ListResponse { - repeated ListElement columns = 1; - optional Pagination pagination = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message QueryColumn { - repeated float values = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - uint32 top_k = 2; - string namespace = 3; - google.protobuf.Struct filter = 4; - IndexedData indexed_data = 5; -} - -message QueryRequest { - string namespace = 1; - uint32 top_k = 2 [ - (google.api.field_behavior) = REQUIRED - ]; - google.protobuf.Struct filter = 3; - bool include_values = 4; - bool include_metadata = 5; - repeated QueryColumn queries = 6 [ - deprecated = true - ]; - repeated float column = 7; - string id = 8; - IndexedData indexed_data = 9; -} - -message QueryResult { - repeated ScoredColumn matches = 1; - string namespace = 2; -} - -message QueryResponse { - repeated QueryResult results = 1 [deprecated=true]; - repeated ScoredColumn matches = 2; - string namespace = 3; - optional Usage usage = 4; -} - -message Usage { - optional uint32 units = 1; -} - -message UpdateRequest { - string id = 1 [ - (google.api.field_behavior) = REQUIRED - ]; - repeated float values = 2; - google.protobuf.Struct set_metadata = 3; - string namespace = 4; - IndexedData indexed_data = 5; -} - -message UpdateResponse {} - -message DescribeRequest { - google.protobuf.Struct filter = 1; -} - -message NamespaceSummary { - uint32 count = 1; -} - -message DescribeResponse { - map namespaces = 1; - uint32 dimension = 2; - float fullness = 3; - uint32 total_count = 4; -} - -service DataService { - rpc Upload(UploadRequest) returns (UploadResponse) { - option (google.api.http) = { - post: "/data" - body: "*" - }; - } - - rpc Delete(DeleteRequest) returns (DeleteResponse) { - option (google.api.http) = { - post: "/data/delete" - body: "*" - }; - } - - rpc Fetch(FetchRequest) returns (FetchResponse) { - option (google.api.http) = { - get: "/data/fetch" - }; - } - - rpc List(ListRequest) returns (ListResponse) { - option (google.api.http) = { - get: "/data/list" - }; - } - - rpc Query(QueryRequest) returns (QueryResponse) { - option (google.api.http) = { - post: "/data/query" - body: "*" - }; - } - - rpc Update(UpdateRequest) returns (UpdateResponse) { - option (google.api.http) = { - post: "/data/update" - body: "*" - }; - } - - rpc Describe(DescribeRequest) returns (DescribeResponse) { - option (google.api.http) = { - post: "/data/describe" - body: "*" - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/field_behavior.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/field_behavior.proto deleted file mode 100644 index 128799c558d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/field_behavior.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "FieldBehaviorProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.FieldOptions { - // A designation of a specific field behavior (required, output only, etc.) - // in protobuf messages. - // - // Examples: - // - // string name = 1 [(google.api.field_behavior) = REQUIRED]; - // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // google.protobuf.Duration ttl = 1 - // [(google.api.field_behavior) = INPUT_ONLY]; - // google.protobuf.Timestamp expire_time = 1 - // [(google.api.field_behavior) = OUTPUT_ONLY, - // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; -} - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -enum FieldBehavior { - // Conventional default for enums. Do not use this. - FIELD_BEHAVIOR_UNSPECIFIED = 0; - - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - OPTIONAL = 1; - - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - REQUIRED = 2; - - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - OUTPUT_ONLY = 3; - - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - INPUT_ONLY = 4; - - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - IMMUTABLE = 5; - - // Denotes that a (repeated) field is an unordered list. - // This indicates that the service may provide the elements of the list - // in any arbitrary order, rather than the order the user originally - // provided. Additionally, the list's order may or may not be stable. - UNORDERED_LIST = 6; - - // Denotes that this field returns a non-empty default value if not set. - // This indicates that if the user provides the empty value in a request, - // a non-empty value will be returned. The user will not be aware of what - // non-empty value to expect. - NON_EMPTY_DEFAULT = 7; - - // Denotes that the field in a resource (a message annotated with - // google.api.resource) is used in the resource name to uniquely identify the - // resource. For AIP-compliant APIs, this should only be applied to the - // `name` field on the resource. - // - // This behavior should not be applied to references to other resources within - // the message. - // - // The identifier field of resources often have different field behavior - // depending on the request it is embedded in (e.g. for Create methods name - // is optional and unused, while for Update methods it is required). Instead - // of method-specific annotations, only `IDENTIFIER` is required. - IDENTIFIER = 8; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/reference.md b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/reference.md deleted file mode 100644 index b5cdd6e8580..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/reference.md +++ /dev/null @@ -1,289 +0,0 @@ -# Reference -## DataService -
client.Dataservice.UploadAsync(UploadRequest { ... }) -> UploadResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.UploadAsync( - new UploadRequest - { - Columns = new List() - { - new Column { Id = "id", Values = new[] { 1.1f } }, - }, - } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `UploadRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.DeleteAsync(DeleteRequest { ... }) -> DeleteResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.DeleteAsync(new DeleteRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DeleteRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.DescribeAsync(DescribeRequest { ... }) -> DescribeResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.DescribeAsync(new DescribeRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DescribeRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.FetchAsync(FetchRequest { ... }) -> FetchResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.FetchAsync(new FetchRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `FetchRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.ListAsync(ListRequest { ... }) -> ListResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.ListAsync(new ListRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `ListRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.QueryAsync(QueryRequest { ... }) -> QueryResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 }); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `QueryRequest` - -
-
-
-
- - -
-
-
- -
client.Dataservice.UpdateAsync(UpdateRequest { ... }) -> UpdateResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Dataservice.UpdateAsync(new UpdateRequest { Id = "id" }); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `UpdateRequest` - -
-
-
-
- - -
-
-
diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/snippet-templates.json b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/snippet.json b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/snippet.json deleted file mode 100644 index 66926a40e09..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/snippet.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "types": {}, - "endpoints": [ - { - "example_identifier": null, - "id": { - "path": "/data", - "method": "POST", - "identifier_override": "endpoint_dataservice.upload" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.UploadAsync(\n new UploadRequest\n {\n Columns = new List()\n {\n new Column { Id = \"id\", Values = new[] { 1.1f } },\n },\n }\n);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/delete", - "method": "POST", - "identifier_override": "endpoint_dataservice.delete" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.DeleteAsync(new DeleteRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/describe", - "method": "POST", - "identifier_override": "endpoint_dataservice.describe" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.DescribeAsync(new DescribeRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/fetch", - "method": "GET", - "identifier_override": "endpoint_dataservice.fetch" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.FetchAsync(new FetchRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/list", - "method": "GET", - "identifier_override": "endpoint_dataservice.list" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.ListAsync(new ListRequest());\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/query", - "method": "POST", - "identifier_override": "endpoint_dataservice.query" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 });\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/data/update", - "method": "POST", - "identifier_override": "endpoint_dataservice.update" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Dataservice.UpdateAsync(new UpdateRequest { Id = \"id\" });\n" - } - } - ] -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs deleted file mode 100644 index 532d182486b..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; -using NUnit.Framework; -using SeedApi.Core; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class StringEnumSerializerTests - { - private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true }; - - private const DummyEnum KnownEnumValue2 = DummyEnum.KnownValue2; - private const string KnownEnumValue2String = "known_value2"; - - private static readonly string JsonWithKnownEnum2 = $$""" - { - "enum_property": "{{KnownEnumValue2String}}" - } - """; - - [Test] - public void ShouldParseKnownEnumValue2() - { - var obj = JsonSerializer.Deserialize(JsonWithKnownEnum2, JsonOptions); - Assert.That(obj, Is.Not.Null); - Assert.That(obj.EnumProperty, Is.EqualTo(KnownEnumValue2)); - } - - [Test] - public void ShouldSerializeKnownEnumValue2() - { - var json = JsonSerializer.SerializeToElement( - new DummyObject { EnumProperty = KnownEnumValue2 }, - JsonOptions - ); - TestContext.WriteLine("Serialized JSON: \n" + json); - var enumString = json.GetProperty("enum_property").GetString(); - Assert.That(enumString, Is.Not.Null); - Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); - } - } - - public class DummyObject - { - [JsonPropertyName("enum_property")] - public DummyEnum EnumProperty { get; set; } - } - - [JsonConverter(typeof(EnumSerializer))] - public enum DummyEnum - { - [EnumMember(Value = "known_value1")] - KnownValue1, - - [EnumMember(Value = "known_value2")] - KnownValue2, - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/RawClientTests.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/RawClientTests.cs deleted file mode 100644 index df141253267..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/Core/RawClientTests.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Net.Http; -using FluentAssertions; -using NUnit.Framework; -using SeedApi.Core; -using WireMock.Server; -using SystemTask = System.Threading.Tasks.Task; -using WireMockRequest = WireMock.RequestBuilders.Request; -using WireMockResponse = WireMock.ResponseBuilders.Response; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class RawClientTests - { - private WireMockServer _server; - private HttpClient _httpClient; - private RawClient _rawClient; - private string _baseUrl; - private const int _maxRetries = 3; - - [SetUp] - public void SetUp() - { - _server = WireMockServer.Start(); - _baseUrl = _server.Url ?? ""; - _httpClient = new HttpClient { BaseAddress = new Uri(_baseUrl) }; - _rawClient = new RawClient( - new ClientOptions() { HttpClient = _httpClient, MaxRetries = _maxRetries } - ); - } - - [Test] - [TestCase(408)] - [TestCase(429)] - [TestCase(500)] - [TestCase(504)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnRetryableStatusCodes(int statusCode) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Server Error") - .WillSetStateTo("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(200).WithBody("Success")); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(200)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Success")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(_maxRetries)); - } - - [Test] - [TestCase(400)] - [TestCase(409)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnNonRetryableStatusCodes( - int statusCode - ) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith( - WireMockResponse.Create().WithStatusCode(statusCode).WithBody("Failure") - ); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(statusCode)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Failure")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(1)); - } - - [TearDown] - public void TearDown() - { - _server.Dispose(); - _httpClient.Dispose(); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index fd7b07f82e5..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.sln b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.sln new file mode 100644 index 00000000000..3a519976743 --- /dev/null +++ b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{0D704BE5-E496-4E16-9157-6EEA2477EF72}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{B5BBAB46-A544-4B3C-BC81-8E94A36762BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0D704BE5-E496-4E16-9157-6EEA2477EF72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0D704BE5-E496-4E16-9157-6EEA2477EF72}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0D704BE5-E496-4E16-9157-6EEA2477EF72}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0D704BE5-E496-4E16-9157-6EEA2477EF72}.Release|Any CPU.Build.0 = Release|Any CPU + {B5BBAB46-A544-4B3C-BC81-8E94A36762BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B5BBAB46-A544-4B3C-BC81-8E94A36762BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B5BBAB46-A544-4B3C-BC81-8E94A36762BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B5BBAB46-A544-4B3C-BC81-8E94A36762BD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index af2c9adf7a7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Constants.cs deleted file mode 100644 index ccf4e963cc8..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedApi.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index a39de9c28d7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/EnumSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/EnumSerializer.cs deleted file mode 100644 index ac5c0792fbe..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/EnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class EnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public EnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Extensions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Extensions.cs deleted file mode 100644 index 2e70f2719a2..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Extensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Runtime.Serialization; - -namespace SeedApi.Core; - -internal static class Extensions -{ - public static string Stringify(this Enum value) - { - var field = value.GetType().GetField(value.ToString()); - var attribute = (EnumMemberAttribute) - Attribute.GetCustomAttribute(field, typeof(EnumMemberAttribute)); - return attribute?.Value ?? value.ToString(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/HeaderValue.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/HeaderValue.cs deleted file mode 100644 index 30df1c51646..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/HeaderValue.cs +++ /dev/null @@ -1,17 +0,0 @@ -using OneOf; - -namespace SeedApi.Core; - -internal sealed class HeaderValue(OneOf> value) - : OneOfBase>(value) -{ - public static implicit operator HeaderValue(string value) - { - return new HeaderValue(value); - } - - public static implicit operator HeaderValue(Func value) - { - return new HeaderValue(value); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Headers.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Headers.cs deleted file mode 100644 index 24bf3179299..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Headers.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace SeedApi.Core; - -internal sealed class Headers : Dictionary -{ - public Headers() { } - - public Headers(Dictionary value) - { - foreach (var kvp in value) - { - this[kvp.Key] = new HeaderValue(kvp.Value); - } - } - - public Headers(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 130464dace1..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/IRequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/IRequestOptions.cs deleted file mode 100644 index e365cd162f0..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/IRequestOptions.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedApi.Core; - -internal interface IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 13a05f5111f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer(), new OneOfSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index 24ee9268e48..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -internal class OneOfSerializer : JsonConverter -{ - public override IOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in GetOneOfTypes(typeToConvert)) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (IOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - public override void Write(Utf8JsonWriter writer, IOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes(System.Type typeToConvert) - { - var casts = typeToConvert - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeToConvert; - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{type} isn't OneOf or OneOfBase"); - } - - public override bool CanConvert(System.Type typeToConvert) - { - return typeof(IOneOf).IsAssignableFrom(typeToConvert); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/ClientOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/ClientOptions.cs deleted file mode 100644 index 5c12019c489..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Net.Client; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); - - /// - /// The options used for gRPC client endpoints. - /// - public GrpcChannelOptions? GrpcOptions { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } = new(); - - /// - /// Clones this and returns a new instance - /// - internal ClientOptions Clone() - { - return new ClientOptions - { - BaseUrl = BaseUrl, - HttpClient = HttpClient, - MaxRetries = MaxRetries, - Timeout = Timeout, - Headers = new Headers(new Dictionary(Headers)), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/GrpcRequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/GrpcRequestOptions.cs deleted file mode 100644 index 48c37927ea1..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/GrpcRequestOptions.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Core; -using SeedApi.Core; - -namespace SeedApi; - -#nullable enable - -public partial class GrpcRequestOptions -{ - /// - /// The maximum number of retry attempts. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// Options for write operations. - /// - public WriteOptions? WriteOptions { get; init; } - - /// - /// Client-side call credentials. Provide authorization with per-call granularity. - /// - public CallCredentials? CallCredentials { get; init; } - - /// - /// Headers to be sent with this particular request. - /// - internal Headers Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/RequestOptions.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/RequestOptions.cs deleted file mode 100644 index 4d560f8337a..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Net.Http; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class RequestOptions : IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// The http headers sent with the request. - /// - Headers IRequestOptions.Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/SeedApiApiException.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/SeedApiApiException.cs deleted file mode 100644 index 8c81259a788..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/SeedApiApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedApi; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedApiApiException(string message, int statusCode, object body) - : SeedApiException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body => body; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/SeedApiException.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/SeedApiException.cs deleted file mode 100644 index 14d9b8d9ddd..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/SeedApiException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedApi; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedApiException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/Version.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/Version.cs deleted file mode 100644 index f430a1bf84c..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/Public/Version.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi; - -internal class Version -{ - public const string Current = "0.0.1"; -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index 8cff8b09a01..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System.Net.Http; -using System.Net.Http.Headers; -using System.Text; -using System.Threading; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient(ClientOptions clientOptions) -{ - private const int InitialRetryDelayMs = 1000; - private const int MaxRetryDelayMs = 60000; - - private readonly Lazy _grpc = new(() => new RawGrpcClient(clientOptions)); - - /// - /// The gRPC client used to make requests. - /// - public RawGrpcClient Grpc => _grpc.Value; - - /// - /// The client options applied on every request. - /// - public readonly ClientOptions Options = clientOptions; - - public async Task MakeRequestAsync( - BaseApiRequest request, - CancellationToken cancellationToken = default - ) - { - // Apply the request timeout. - var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - var timeout = request.Options?.Timeout ?? Options.Timeout; - cts.CancelAfter(timeout); - - // Send the request. - return await SendWithRetriesAsync(request, cts.Token); - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Headers Headers { get; init; } = new(); - - public IRequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private async Task SendWithRetriesAsync( - BaseApiRequest request, - CancellationToken cancellationToken - ) - { - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var maxRetries = request.Options?.MaxRetries ?? Options.MaxRetries; - var response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - for (var i = 0; i < maxRetries; i++) - { - if (!ShouldRetry(response)) - { - break; - } - var delayMs = Math.Min(InitialRetryDelayMs * (int)Math.Pow(2, i), MaxRetryDelayMs); - await System.Threading.Tasks.Task.Delay(delayMs, cancellationToken); - response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - } - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - private static bool ShouldRetry(HttpResponseMessage response) - { - var statusCode = (int)response.StatusCode; - return statusCode is 408 or 429 or >= 500; - } - - private HttpRequestMessage BuildHttpRequest(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - switch (request) - { - // Add the request body to the request. - case JsonApiRequest jsonRequest: - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - break; - } - case StreamApiRequest { Body: not null } streamRequest: - httpRequest.Content = new StreamContent(streamRequest.Body); - break; - } - if (request.ContentType != null) - { - httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse( - request.ContentType - ); - } - SetHeaders(httpRequest, Options.Headers); - SetHeaders(httpRequest, request.Headers); - SetHeaders(httpRequest, request.Options?.Headers ?? new Headers()); - - return httpRequest; - } - - private static string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url[..^1]; - return url; - } - - private static void SetHeaders(HttpRequestMessage httpRequest, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - httpRequest.Headers.TryAddWithoutValidation(header.Key, value); - } - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/RawGrpcClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/RawGrpcClient.cs deleted file mode 100644 index 657be1d946d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Core/RawGrpcClient.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Grpc.Core; -using Grpc.Net.Client; - -namespace SeedApi.Core; - -/// -/// Utility class for making gRPC requests to the API. -/// -internal class RawGrpcClient -{ - /// - /// The gRPC channel used to make requests. - /// - public readonly GrpcChannel Channel; - - private readonly ClientOptions _clientOptions; - - public RawGrpcClient(ClientOptions clientOptions) - { - _clientOptions = clientOptions; - - var grpcOptions = PrepareGrpcChannelOptions(); - Channel = - grpcOptions != null - ? GrpcChannel.ForAddress(_clientOptions.BaseUrl, grpcOptions) - : GrpcChannel.ForAddress(_clientOptions.BaseUrl); - } - - /// - /// Prepares the gRPC metadata associated with the given request. - /// The provided request headers take precedence over the headers - /// associated with this client (which are sent on _every_ request). - /// - public CallOptions CreateCallOptions( - GrpcRequestOptions options, - CancellationToken cancellationToken = default - ) - { - var metadata = new global::Grpc.Core.Metadata(); - SetHeaders(metadata, _clientOptions.Headers); - SetHeaders(metadata, options.Headers); - - var timeout = options.Timeout ?? _clientOptions.Timeout; - var deadline = DateTime.UtcNow.Add(timeout); - return new CallOptions( - metadata, - deadline, - cancellationToken, - options.WriteOptions, - null, - options.CallCredentials - ); - } - - private void SetHeaders(global::Grpc.Core.Metadata metadata, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - metadata.Add(header.Key, value); - } - } - } - - private GrpcChannelOptions? PrepareGrpcChannelOptions() - { - var grpcChannelOptions = _clientOptions.GrpcOptions; - if (grpcChannelOptions == null) - { - return null; - } - grpcChannelOptions.HttpClient ??= _clientOptions.HttpClient; - grpcChannelOptions.MaxRetryAttempts ??= _clientOptions.MaxRetries; - return grpcChannelOptions; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/DataserviceClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/DataserviceClient.cs deleted file mode 100644 index 9c85dcc2d0e..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/DataserviceClient.cs +++ /dev/null @@ -1,284 +0,0 @@ -using System.Threading; -using Data.V1.Grpc; -using Grpc.Core; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class DataserviceClient -{ - private RawClient _client; - - private RawGrpcClient _grpc; - - private DataService.DataServiceClient _dataService; - - internal DataserviceClient(RawClient client) - { - _client = client; - _grpc = _client.Grpc; - _dataService = new DataService.DataServiceClient(_grpc.Channel); - } - - /// - /// - /// await client.Dataservice.UploadAsync( - /// new UploadRequest - /// { - /// Columns = new List<Column>() - /// { - /// new Column { Id = "id", Values = new[] { 1.1f } }, - /// }, - /// } - /// ); - /// - /// - public async Task UploadAsync( - UploadRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.UploadAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return UploadResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.DeleteAsync(new DeleteRequest()); - /// - /// - public async Task DeleteAsync( - DeleteRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.DeleteAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return DeleteResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.DescribeAsync(new DescribeRequest()); - /// - /// - public async Task DescribeAsync( - DescribeRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.DescribeAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return DescribeResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.FetchAsync(new FetchRequest()); - /// - /// - public async Task FetchAsync( - FetchRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.FetchAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return FetchResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.ListAsync(new ListRequest()); - /// - /// - public async Task ListAsync( - ListRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.ListAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return ListResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.QueryAsync(new QueryRequest { TopK = 1 }); - /// - /// - public async Task QueryAsync( - QueryRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.QueryAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return QueryResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } - - /// - /// - /// await client.Dataservice.UpdateAsync(new UpdateRequest { Id = "id" }); - /// - /// - public async Task UpdateAsync( - UpdateRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _dataService.UpdateAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return UpdateResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/DeleteRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/DeleteRequest.cs deleted file mode 100644 index 10d785c72b7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/DeleteRequest.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DeleteRequest -{ - [JsonPropertyName("ids")] - public IEnumerable? Ids { get; set; } - - [JsonPropertyName("deleteAll")] - public bool? DeleteAll { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DeleteRequest type into its Protobuf-equivalent representation. - /// - internal Proto.DeleteRequest ToProto() - { - var result = new Proto.DeleteRequest(); - if (Ids != null && Ids.Any()) - { - result.Ids.AddRange(Ids); - } - if (DeleteAll != null) - { - result.DeleteAll = DeleteAll ?? false; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/DescribeRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/DescribeRequest.cs deleted file mode 100644 index a9de06c69f4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/DescribeRequest.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DescribeRequest -{ - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DescribeRequest type into its Protobuf-equivalent representation. - /// - internal Proto.DescribeRequest ToProto() - { - var result = new Proto.DescribeRequest(); - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/FetchRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/FetchRequest.cs deleted file mode 100644 index 70ea06edfc4..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/FetchRequest.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record FetchRequest -{ - public IEnumerable Ids { get; set; } = new List(); - - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the FetchRequest type into its Protobuf-equivalent representation. - /// - internal Proto.FetchRequest ToProto() - { - var result = new Proto.FetchRequest(); - if (Ids.Any()) - { - result.Ids.AddRange(Ids); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/ListRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/ListRequest.cs deleted file mode 100644 index afc15a6b93d..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/ListRequest.cs +++ /dev/null @@ -1,47 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListRequest -{ - public string? Prefix { get; set; } - - public uint? Limit { get; set; } - - public string? PaginationToken { get; set; } - - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListRequest type into its Protobuf-equivalent representation. - /// - internal Proto.ListRequest ToProto() - { - var result = new Proto.ListRequest(); - if (Prefix != null) - { - result.Prefix = Prefix ?? ""; - } - if (Limit != null) - { - result.Limit = Limit ?? 0; - } - if (PaginationToken != null) - { - result.PaginationToken = PaginationToken ?? ""; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/QueryRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/QueryRequest.cs deleted file mode 100644 index dd851ff88ca..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/QueryRequest.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryRequest -{ - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("topK")] - public required uint TopK { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - [JsonPropertyName("includeValues")] - public bool? IncludeValues { get; set; } - - [JsonPropertyName("includeMetadata")] - public bool? IncludeMetadata { get; set; } - - [JsonPropertyName("queries")] - public IEnumerable? Queries { get; set; } - - [JsonPropertyName("column")] - public ReadOnlyMemory? Column { get; set; } - - [JsonPropertyName("id")] - public string? Id { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryRequest type into its Protobuf-equivalent representation. - /// - internal Proto.QueryRequest ToProto() - { - var result = new Proto.QueryRequest(); - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - result.TopK = TopK; - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - if (IncludeValues != null) - { - result.IncludeValues = IncludeValues ?? false; - } - if (IncludeMetadata != null) - { - result.IncludeMetadata = IncludeMetadata ?? false; - } - if (Queries != null && Queries.Any()) - { - result.Queries.AddRange(Queries.Select(elem => elem.ToProto())); - } - if (Column != null && !Column.Value.IsEmpty) - { - result.Column.AddRange(Column.Value.ToArray()); - } - if (Id != null) - { - result.Id = Id ?? ""; - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/UpdateRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/UpdateRequest.cs deleted file mode 100644 index 721e917e788..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/UpdateRequest.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UpdateRequest -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("values")] - public ReadOnlyMemory? Values { get; set; } - - [JsonPropertyName("setMetadata")] - public Metadata? SetMetadata { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UpdateRequest type into its Protobuf-equivalent representation. - /// - internal Proto.UpdateRequest ToProto() - { - var result = new Proto.UpdateRequest(); - result.Id = Id; - if (Values != null && !Values.Value.IsEmpty) - { - result.Values.AddRange(Values.Value.ToArray()); - } - if (SetMetadata != null) - { - result.SetMetadata = SetMetadata.ToProto(); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/UploadRequest.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/UploadRequest.cs deleted file mode 100644 index 8421016d0df..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Dataservice/Requests/UploadRequest.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UploadRequest -{ - [JsonPropertyName("columns")] - public IEnumerable Columns { get; set; } = new List(); - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UploadRequest type into its Protobuf-equivalent representation. - /// - internal Proto.UploadRequest ToProto() - { - var result = new Proto.UploadRequest(); - if (Columns.Any()) - { - result.Columns.AddRange(Columns.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj deleted file mode 100644 index 9b70c3847bf..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,74 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - $(Version) - $(Version) - README.md - https://github.com/grpc-proto-exhaustive/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - - - - - - <_Parameter1>SeedApi.Test - - - - - diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index 017ab8726ca..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(ClientOptions? clientOptions = null) - { - var defaultHeaders = new Headers( - new Dictionary() - { - { "X-Fern-Language", "C#" }, - { "X-Fern-SDK-Name", "SeedApi" }, - { "X-Fern-SDK-Version", Version.Current }, - { "User-Agent", "Ferngrpc-proto-exhaustive/0.0.1" }, - } - ); - clientOptions ??= new ClientOptions(); - foreach (var header in defaultHeaders) - { - if (!clientOptions.Headers.ContainsKey(header.Key)) - { - clientOptions.Headers[header.Key] = header.Value; - } - } - _client = new RawClient(clientOptions); - Dataservice = new DataserviceClient(_client); - } - - public DataserviceClient Dataservice { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Column.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Column.cs deleted file mode 100644 index 8849268e11a..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Column.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Column -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("values")] - public ReadOnlyMemory Values { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Column type into its Protobuf-equivalent representation. - /// - internal Proto.Column ToProto() - { - var result = new Proto.Column(); - result.Id = Id; - if (!Values.IsEmpty) - { - result.Values.AddRange(Values.ToArray()); - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new Column type from its Protobuf-equivalent representation. - /// - internal static Column FromProto(Proto.Column value) - { - return new Column - { - Id = value.Id, - Values = value.Values?.ToArray() ?? new ReadOnlyMemory(), - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/DeleteResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/DeleteResponse.cs deleted file mode 100644 index def64fbd896..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/DeleteResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DeleteResponse -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DeleteResponse type into its Protobuf-equivalent representation. - /// - internal Proto.DeleteResponse ToProto() - { - return new Proto.DeleteResponse(); - } - - /// - /// Returns a new DeleteResponse type from its Protobuf-equivalent representation. - /// - internal static DeleteResponse FromProto(Proto.DeleteResponse value) - { - return new DeleteResponse(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/DescribeResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/DescribeResponse.cs deleted file mode 100644 index fbd45c674b7..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/DescribeResponse.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record DescribeResponse -{ - [JsonPropertyName("namespaces")] - public Dictionary? Namespaces { get; set; } - - [JsonPropertyName("dimension")] - public uint? Dimension { get; set; } - - [JsonPropertyName("fullness")] - public float? Fullness { get; set; } - - [JsonPropertyName("totalCount")] - public uint? TotalCount { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the DescribeResponse type into its Protobuf-equivalent representation. - /// - internal Proto.DescribeResponse ToProto() - { - var result = new Proto.DescribeResponse(); - if (Namespaces != null && Namespaces.Any()) - { - foreach (var kvp in Namespaces) - { - result.Namespaces.Add(kvp.Key, kvp.Value.ToProto()); - } - ; - } - if (Dimension != null) - { - result.Dimension = Dimension ?? 0; - } - if (Fullness != null) - { - result.Fullness = Fullness ?? 0.0f; - } - if (TotalCount != null) - { - result.TotalCount = TotalCount ?? 0; - } - return result; - } - - /// - /// Returns a new DescribeResponse type from its Protobuf-equivalent representation. - /// - internal static DescribeResponse FromProto(Proto.DescribeResponse value) - { - return new DescribeResponse - { - Namespaces = value.Namespaces?.ToDictionary( - kvp => kvp.Key, - kvp => NamespaceSummary.FromProto(kvp.Value) - ), - Dimension = value.Dimension, - Fullness = value.Fullness, - TotalCount = value.TotalCount, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/FetchResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/FetchResponse.cs deleted file mode 100644 index ae595dfdc41..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/FetchResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record FetchResponse -{ - [JsonPropertyName("columns")] - public Dictionary? Columns { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the FetchResponse type into its Protobuf-equivalent representation. - /// - internal Proto.FetchResponse ToProto() - { - var result = new Proto.FetchResponse(); - if (Columns != null && Columns.Any()) - { - foreach (var kvp in Columns) - { - result.Columns.Add(kvp.Key, kvp.Value.ToProto()); - } - ; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new FetchResponse type from its Protobuf-equivalent representation. - /// - internal static FetchResponse FromProto(Proto.FetchResponse value) - { - return new FetchResponse - { - Columns = value.Columns?.ToDictionary( - kvp => kvp.Key, - kvp => Column.FromProto(kvp.Value) - ), - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/IndexedData.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/IndexedData.cs deleted file mode 100644 index 5f7df404340..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/IndexedData.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record IndexedData -{ - [JsonPropertyName("indices")] - public IEnumerable Indices { get; set; } = new List(); - - [JsonPropertyName("values")] - public ReadOnlyMemory Values { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the IndexedData type into its Protobuf-equivalent representation. - /// - internal Proto.IndexedData ToProto() - { - var result = new Proto.IndexedData(); - if (Indices.Any()) - { - result.Indices.AddRange(Indices); - } - if (!Values.IsEmpty) - { - result.Values.AddRange(Values.ToArray()); - } - return result; - } - - /// - /// Returns a new IndexedData type from its Protobuf-equivalent representation. - /// - internal static IndexedData FromProto(Proto.IndexedData value) - { - return new IndexedData - { - Indices = value.Indices?.ToList() ?? new List(), - Values = value.Values?.ToArray() ?? new ReadOnlyMemory(), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ListElement.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ListElement.cs deleted file mode 100644 index 2044bd62e56..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ListElement.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListElement -{ - [JsonPropertyName("id")] - public string? Id { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListElement type into its Protobuf-equivalent representation. - /// - internal Proto.ListElement ToProto() - { - var result = new Proto.ListElement(); - if (Id != null) - { - result.Id = Id ?? ""; - } - return result; - } - - /// - /// Returns a new ListElement type from its Protobuf-equivalent representation. - /// - internal static ListElement FromProto(Proto.ListElement value) - { - return new ListElement { Id = value.Id }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ListResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ListResponse.cs deleted file mode 100644 index 9d691519a85..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ListResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ListResponse -{ - [JsonPropertyName("columns")] - public IEnumerable? Columns { get; set; } - - [JsonPropertyName("pagination")] - public Pagination? Pagination { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ListResponse type into its Protobuf-equivalent representation. - /// - internal Proto.ListResponse ToProto() - { - var result = new Proto.ListResponse(); - if (Columns != null && Columns.Any()) - { - result.Columns.AddRange(Columns.Select(elem => elem.ToProto())); - } - if (Pagination != null) - { - result.Pagination = Pagination.ToProto(); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new ListResponse type from its Protobuf-equivalent representation. - /// - internal static ListResponse FromProto(Proto.ListResponse value) - { - return new ListResponse - { - Columns = value.Columns?.Select(ListElement.FromProto), - Pagination = value.Pagination != null ? Pagination.FromProto(value.Pagination) : null, - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Metadata.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Metadata.cs deleted file mode 100644 index 2e16aa50b3f..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Metadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class Metadata : Dictionary -{ - public Metadata() { } - - public Metadata(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Struct ToProto() - { - var result = new Proto.Struct(); - foreach (var kvp in this) - { - result.Fields[kvp.Key] = kvp.Value?.ToProto(); - } - return result; - } - - internal static Metadata FromProto(Proto.Struct value) - { - var result = new Metadata(); - foreach (var kvp in value.Fields) - { - result[kvp.Key] = kvp.Value != null ? MetadataValue.FromProto(kvp.Value) : null; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/MetadataValue.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/MetadataValue.cs deleted file mode 100644 index 2308676e891..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/MetadataValue.cs +++ /dev/null @@ -1,91 +0,0 @@ -using OneOf; -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class MetadataValue( - OneOf, Metadata> value -) : OneOfBase, Metadata>(value) -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Value ToProto() - { - return Match( - Proto.Value.ForString, - Proto.Value.ForNumber, - Proto.Value.ForBool, - list => new Proto.Value - { - ListValue = new Proto.ListValue - { - Values = { list.Select(item => item?.ToProto()) }, - }, - }, - nested => new Proto.Value { StructValue = nested.ToProto() } - ); - } - - internal static MetadataValue? FromProto(Proto.Value value) - { - return value.KindCase switch - { - Proto.Value.KindOneofCase.StringValue => value.StringValue, - Proto.Value.KindOneofCase.NumberValue => value.NumberValue, - Proto.Value.KindOneofCase.BoolValue => value.BoolValue, - Proto.Value.KindOneofCase.ListValue => value - .ListValue.Values.Select(FromProto) - .ToList(), - Proto.Value.KindOneofCase.StructValue => Metadata.FromProto(value.StructValue), - _ => null, - }; - } - - public static implicit operator MetadataValue(string value) => new(value); - - public static implicit operator MetadataValue(bool value) => new(value); - - public static implicit operator MetadataValue(double value) => new(value); - - public static implicit operator MetadataValue(Metadata value) => new(value); - - public static implicit operator MetadataValue(MetadataValue?[] value) => new(value); - - public static implicit operator MetadataValue(List value) => new(value); - - public static implicit operator MetadataValue(string[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(bool[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(bool?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/NamespaceSummary.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/NamespaceSummary.cs deleted file mode 100644 index da0573827da..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/NamespaceSummary.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record NamespaceSummary -{ - [JsonPropertyName("count")] - public uint? Count { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the NamespaceSummary type into its Protobuf-equivalent representation. - /// - internal Proto.NamespaceSummary ToProto() - { - var result = new Proto.NamespaceSummary(); - if (Count != null) - { - result.Count = Count ?? 0; - } - return result; - } - - /// - /// Returns a new NamespaceSummary type from its Protobuf-equivalent representation. - /// - internal static NamespaceSummary FromProto(Proto.NamespaceSummary value) - { - return new NamespaceSummary { Count = value.Count }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Pagination.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Pagination.cs deleted file mode 100644 index 87a67db48af..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Pagination.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Pagination -{ - [JsonPropertyName("next")] - public string? Next { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Pagination type into its Protobuf-equivalent representation. - /// - internal Proto.Pagination ToProto() - { - var result = new Proto.Pagination(); - if (Next != null) - { - result.Next = Next ?? ""; - } - return result; - } - - /// - /// Returns a new Pagination type from its Protobuf-equivalent representation. - /// - internal static Pagination FromProto(Proto.Pagination value) - { - return new Pagination { Next = value.Next }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryColumn.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryColumn.cs deleted file mode 100644 index 63b931b813b..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryColumn.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryColumn -{ - [JsonPropertyName("values")] - public ReadOnlyMemory Values { get; set; } - - [JsonPropertyName("topK")] - public uint? TopK { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("filter")] - public Metadata? Filter { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryColumn type into its Protobuf-equivalent representation. - /// - internal Proto.QueryColumn ToProto() - { - var result = new Proto.QueryColumn(); - if (!Values.IsEmpty) - { - result.Values.AddRange(Values.ToArray()); - } - if (TopK != null) - { - result.TopK = TopK ?? 0; - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Filter != null) - { - result.Filter = Filter.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new QueryColumn type from its Protobuf-equivalent representation. - /// - internal static QueryColumn FromProto(Proto.QueryColumn value) - { - return new QueryColumn - { - Values = value.Values?.ToArray() ?? new ReadOnlyMemory(), - TopK = value.TopK, - Namespace = value.Namespace, - Filter = value.Filter != null ? Metadata.FromProto(value.Filter) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryResponse.cs deleted file mode 100644 index c4786b94639..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryResponse -{ - [JsonPropertyName("results")] - public IEnumerable? Results { get; set; } - - [JsonPropertyName("matches")] - public IEnumerable? Matches { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - [JsonPropertyName("usage")] - public Usage? Usage { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryResponse type into its Protobuf-equivalent representation. - /// - internal Proto.QueryResponse ToProto() - { - var result = new Proto.QueryResponse(); - if (Results != null && Results.Any()) - { - result.Results.AddRange(Results.Select(elem => elem.ToProto())); - } - if (Matches != null && Matches.Any()) - { - result.Matches.AddRange(Matches.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - if (Usage != null) - { - result.Usage = Usage.ToProto(); - } - return result; - } - - /// - /// Returns a new QueryResponse type from its Protobuf-equivalent representation. - /// - internal static QueryResponse FromProto(Proto.QueryResponse value) - { - return new QueryResponse - { - Results = value.Results?.Select(QueryResult.FromProto), - Matches = value.Matches?.Select(ScoredColumn.FromProto), - Namespace = value.Namespace, - Usage = value.Usage != null ? Usage.FromProto(value.Usage) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryResult.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryResult.cs deleted file mode 100644 index 8c8988af1fd..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/QueryResult.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record QueryResult -{ - [JsonPropertyName("matches")] - public IEnumerable? Matches { get; set; } - - [JsonPropertyName("namespace")] - public string? Namespace { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the QueryResult type into its Protobuf-equivalent representation. - /// - internal Proto.QueryResult ToProto() - { - var result = new Proto.QueryResult(); - if (Matches != null && Matches.Any()) - { - result.Matches.AddRange(Matches.Select(elem => elem.ToProto())); - } - if (Namespace != null) - { - result.Namespace = Namespace ?? ""; - } - return result; - } - - /// - /// Returns a new QueryResult type from its Protobuf-equivalent representation. - /// - internal static QueryResult FromProto(Proto.QueryResult value) - { - return new QueryResult - { - Matches = value.Matches?.Select(ScoredColumn.FromProto), - Namespace = value.Namespace, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ScoredColumn.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ScoredColumn.cs deleted file mode 100644 index 543713c18e8..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/ScoredColumn.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record ScoredColumn -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("score")] - public float? Score { get; set; } - - [JsonPropertyName("values")] - public ReadOnlyMemory? Values { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - [JsonPropertyName("indexedData")] - public IndexedData? IndexedData { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the ScoredColumn type into its Protobuf-equivalent representation. - /// - internal Proto.ScoredColumn ToProto() - { - var result = new Proto.ScoredColumn(); - result.Id = Id; - if (Score != null) - { - result.Score = Score ?? 0.0f; - } - if (Values != null && !Values.Value.IsEmpty) - { - result.Values.AddRange(Values.Value.ToArray()); - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - if (IndexedData != null) - { - result.IndexedData = IndexedData.ToProto(); - } - return result; - } - - /// - /// Returns a new ScoredColumn type from its Protobuf-equivalent representation. - /// - internal static ScoredColumn FromProto(Proto.ScoredColumn value) - { - return new ScoredColumn - { - Id = value.Id, - Score = value.Score, - Values = value.Values?.ToArray(), - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - IndexedData = - value.IndexedData != null ? IndexedData.FromProto(value.IndexedData) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/UpdateResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/UpdateResponse.cs deleted file mode 100644 index 0d7e3f61b18..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/UpdateResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UpdateResponse -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UpdateResponse type into its Protobuf-equivalent representation. - /// - internal Proto.UpdateResponse ToProto() - { - return new Proto.UpdateResponse(); - } - - /// - /// Returns a new UpdateResponse type from its Protobuf-equivalent representation. - /// - internal static UpdateResponse FromProto(Proto.UpdateResponse value) - { - return new UpdateResponse(); - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/UploadResponse.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/UploadResponse.cs deleted file mode 100644 index 23286a04145..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/UploadResponse.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record UploadResponse -{ - [JsonPropertyName("count")] - public uint? Count { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UploadResponse type into its Protobuf-equivalent representation. - /// - internal Proto.UploadResponse ToProto() - { - var result = new Proto.UploadResponse(); - if (Count != null) - { - result.Count = Count ?? 0; - } - return result; - } - - /// - /// Returns a new UploadResponse type from its Protobuf-equivalent representation. - /// - internal static UploadResponse FromProto(Proto.UploadResponse value) - { - return new UploadResponse { Count = value.Count }; - } -} diff --git a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Usage.cs b/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Usage.cs deleted file mode 100644 index e5921bf2191..00000000000 --- a/seed/csharp-sdk/grpc-proto-exhaustive/read-only-memory/src/SeedApi/Types/Usage.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = Data.V1.Grpc; - -#nullable enable - -namespace SeedApi; - -public record Usage -{ - [JsonPropertyName("units")] - public uint? Units { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the Usage type into its Protobuf-equivalent representation. - /// - internal Proto.Usage ToProto() - { - var result = new Proto.Usage(); - if (Units != null) - { - result.Units = Units ?? 0; - } - return result; - } - - /// - /// Returns a new Usage type from its Protobuf-equivalent representation. - /// - internal static Usage FromProto(Proto.Usage value) - { - return new Usage { Units = value.Units }; - } -} diff --git a/seed/csharp-sdk/grpc-proto/.github/workflows/ci.yml b/seed/csharp-sdk/grpc-proto/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/grpc-proto/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/grpc-proto/.gitignore b/seed/csharp-sdk/grpc-proto/.gitignore deleted file mode 100644 index 11014f2b33d..00000000000 --- a/seed/csharp-sdk/grpc-proto/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -## This is based on `dotnet new gitignore` and customized by Fern - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -# [Rr]elease/ (Ignored by Fern) -# [Rr]eleases/ (Ignored by Fern) -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -# [Ll]og/ (Ignored by Fern) -# [Ll]ogs/ (Ignored by Fern) - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/grpc-proto/.mock/fern.config.json b/seed/csharp-sdk/grpc-proto/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/grpc-proto/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/.mock/generators.yml b/seed/csharp-sdk/grpc-proto/.mock/generators.yml deleted file mode 100644 index d6b509d39ea..00000000000 --- a/seed/csharp-sdk/grpc-proto/.mock/generators.yml +++ /dev/null @@ -1,6 +0,0 @@ -api: - - proto: - root: proto - target: proto/user/v1/user.proto - overrides: overrides.yml - local-generation: true \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/.mock/overrides.yml b/seed/csharp-sdk/grpc-proto/.mock/overrides.yml deleted file mode 100644 index bb6db99b0e4..00000000000 --- a/seed/csharp-sdk/grpc-proto/.mock/overrides.yml +++ /dev/null @@ -1,31 +0,0 @@ -components: - schemas: - UserModel: - properties: - metadata: - $ref: '#/components/schemas/Metadata' - - CreateRequest: - properties: - metadata: - $ref: '#/components/schemas/Metadata' - - Metadata: - oneOf: - - type: object - additionalProperties: - $ref: '#/components/schemas/MetadataValue' - - type: object - x-fern-encoding: - proto: - type: google.protobuf.Struct - - MetadataValue: - oneOf: - - type: number - format: double - - type: string - - type: boolean - x-fern-encoding: - proto: - type: google.protobuf.Value diff --git a/seed/csharp-sdk/grpc-proto/.mock/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto/.mock/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto/.mock/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/.mock/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto/.mock/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto/.mock/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/.mock/proto/user/v1/user.proto b/seed/csharp-sdk/grpc-proto/.mock/proto/user/v1/user.proto deleted file mode 100644 index 28542ac965a..00000000000 --- a/seed/csharp-sdk/grpc-proto/.mock/proto/user/v1/user.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; - -package user.v1; - -import "google/api/annotations.proto"; -import "google/protobuf/struct.proto"; - -option csharp_namespace = "User.V1"; -option go_package = "user/v1"; - -message UserModel { - string username = 1; - string email = 2; - uint32 age = 3; - float weight = 4; - google.protobuf.Struct metadata = 5; -} - -message CreateRequest { - string username = 1; - string email = 2; - uint32 age = 3; - float weight = 4; - google.protobuf.Struct metadata = 5; -} - -message CreateResponse { - UserModel user = 1; -} - -service UserService { - rpc Create(CreateRequest) returns (CreateResponse) { - option (google.api.http) = { - post: "/users" - body: "*" - }; - } -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/README.md b/seed/csharp-sdk/grpc-proto/README.md deleted file mode 100644 index fd73574bd96..00000000000 --- a/seed/csharp-sdk/grpc-proto/README.md +++ /dev/null @@ -1,87 +0,0 @@ -# Seed C# Library - -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Seed%2FC%23) -[![nuget shield](https://img.shields.io/nuget/v/SeedApi)](https://nuget.org/packages/SeedApi) - -The Seed C# library provides convenient access to the Seed API from C#. - -## Installation - -```sh -nuget install SeedApi -``` - -## Usage - -Instantiate and use the client with the following: - -```csharp -using SeedApi; - -var client = new SeedApiClient(); -await client.Userservice.CreateAsync(new CreateRequest()); -``` - -## Exception Handling - -When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error -will be thrown. - -```csharp -using SeedApi; - -try { - var response = await client.Userservice.CreateAsync(...); -} catch (SeedApiApiException e) { - System.Console.WriteLine(e.Body); - System.Console.WriteLine(e.StatusCode); -} -``` - -## Advanced - -### Retries - -The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long -as the request is deemed retriable and the number of retry attempts has not grown larger than the configured -retry limit (default: 2). - -A request is deemed retriable when any of the following HTTP status codes is returned: - -- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) -- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) -- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) - -Use the `MaxRetries` request option to configure this behavior. - -```csharp -var response = await client.Userservice.CreateAsync( - ..., - new RequestOptions { - MaxRetries: 0 // Override MaxRetries at the request level - } -); -``` - -### Timeouts - -The SDK defaults to a 30 second timeout. Use the `Timeout` option to configure this behavior. - -```csharp -var response = await client.Userservice.CreateAsync( - ..., - new RequestOptions { - Timeout: TimeSpan.FromSeconds(3) // Override timeout to 3s - } -); -``` - -## Contributing - -While we value open-source contributions to this SDK, this library is generated programmatically. -Additions made directly to this library would have to be moved over to our generation code, -otherwise they would be overwritten upon the next generated release. Feel free to open a PR as -a proof of concept, but know that we will not be able to merge it as-is. We suggest opening -an issue first to discuss with us! - -On the other hand, contributions to the README are always very welcome! \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/proto/google/api/annotations.proto b/seed/csharp-sdk/grpc-proto/proto/google/api/annotations.proto deleted file mode 100644 index 8ff42098404..00000000000 --- a/seed/csharp-sdk/grpc-proto/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/proto/google/api/http.proto b/seed/csharp-sdk/grpc-proto/proto/google/api/http.proto deleted file mode 100644 index c8392381eb9..00000000000 --- a/seed/csharp-sdk/grpc-proto/proto/google/api/http.proto +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -// are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -// query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -// request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax - // details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/proto/user/v1/user.proto b/seed/csharp-sdk/grpc-proto/proto/user/v1/user.proto deleted file mode 100644 index 28542ac965a..00000000000 --- a/seed/csharp-sdk/grpc-proto/proto/user/v1/user.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; - -package user.v1; - -import "google/api/annotations.proto"; -import "google/protobuf/struct.proto"; - -option csharp_namespace = "User.V1"; -option go_package = "user/v1"; - -message UserModel { - string username = 1; - string email = 2; - uint32 age = 3; - float weight = 4; - google.protobuf.Struct metadata = 5; -} - -message CreateRequest { - string username = 1; - string email = 2; - uint32 age = 3; - float weight = 4; - google.protobuf.Struct metadata = 5; -} - -message CreateResponse { - UserModel user = 1; -} - -service UserService { - rpc Create(CreateRequest) returns (CreateResponse) { - option (google.api.http) = { - post: "/users" - body: "*" - }; - } -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/reference.md b/seed/csharp-sdk/grpc-proto/reference.md deleted file mode 100644 index 1614ed804be..00000000000 --- a/seed/csharp-sdk/grpc-proto/reference.md +++ /dev/null @@ -1,41 +0,0 @@ -# Reference -## UserService -
client.Userservice.CreateAsync(CreateRequest { ... }) -> CreateResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.Userservice.CreateAsync(new CreateRequest()); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `CreateRequest` - -
-
-
-
- - -
-
-
diff --git a/seed/csharp-sdk/grpc-proto/snippet-templates.json b/seed/csharp-sdk/grpc-proto/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/grpc-proto/snippet.json b/seed/csharp-sdk/grpc-proto/snippet.json deleted file mode 100644 index bdaa9e73c20..00000000000 --- a/seed/csharp-sdk/grpc-proto/snippet.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "types": {}, - "endpoints": [ - { - "example_identifier": null, - "id": { - "path": "/users", - "method": "POST", - "identifier_override": "endpoint_userservice.create" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.Userservice.CreateAsync(new CreateRequest());\n" - } - } - ] -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs deleted file mode 100644 index 532d182486b..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; -using NUnit.Framework; -using SeedApi.Core; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class StringEnumSerializerTests - { - private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true }; - - private const DummyEnum KnownEnumValue2 = DummyEnum.KnownValue2; - private const string KnownEnumValue2String = "known_value2"; - - private static readonly string JsonWithKnownEnum2 = $$""" - { - "enum_property": "{{KnownEnumValue2String}}" - } - """; - - [Test] - public void ShouldParseKnownEnumValue2() - { - var obj = JsonSerializer.Deserialize(JsonWithKnownEnum2, JsonOptions); - Assert.That(obj, Is.Not.Null); - Assert.That(obj.EnumProperty, Is.EqualTo(KnownEnumValue2)); - } - - [Test] - public void ShouldSerializeKnownEnumValue2() - { - var json = JsonSerializer.SerializeToElement( - new DummyObject { EnumProperty = KnownEnumValue2 }, - JsonOptions - ); - TestContext.WriteLine("Serialized JSON: \n" + json); - var enumString = json.GetProperty("enum_property").GetString(); - Assert.That(enumString, Is.Not.Null); - Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); - } - } - - public class DummyObject - { - [JsonPropertyName("enum_property")] - public DummyEnum EnumProperty { get; set; } - } - - [JsonConverter(typeof(EnumSerializer))] - public enum DummyEnum - { - [EnumMember(Value = "known_value1")] - KnownValue1, - - [EnumMember(Value = "known_value2")] - KnownValue2, - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/Core/RawClientTests.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/Core/RawClientTests.cs deleted file mode 100644 index df141253267..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/Core/RawClientTests.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Net.Http; -using FluentAssertions; -using NUnit.Framework; -using SeedApi.Core; -using WireMock.Server; -using SystemTask = System.Threading.Tasks.Task; -using WireMockRequest = WireMock.RequestBuilders.Request; -using WireMockResponse = WireMock.ResponseBuilders.Response; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class RawClientTests - { - private WireMockServer _server; - private HttpClient _httpClient; - private RawClient _rawClient; - private string _baseUrl; - private const int _maxRetries = 3; - - [SetUp] - public void SetUp() - { - _server = WireMockServer.Start(); - _baseUrl = _server.Url ?? ""; - _httpClient = new HttpClient { BaseAddress = new Uri(_baseUrl) }; - _rawClient = new RawClient( - new ClientOptions() { HttpClient = _httpClient, MaxRetries = _maxRetries } - ); - } - - [Test] - [TestCase(408)] - [TestCase(429)] - [TestCase(500)] - [TestCase(504)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnRetryableStatusCodes(int statusCode) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Server Error") - .WillSetStateTo("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(200).WithBody("Success")); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(200)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Success")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(_maxRetries)); - } - - [Test] - [TestCase(400)] - [TestCase(409)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnNonRetryableStatusCodes( - int statusCode - ) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith( - WireMockResponse.Create().WithStatusCode(statusCode).WithBody("Failure") - ); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(statusCode)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Failure")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(1)); - } - - [TearDown] - public void TearDown() - { - _server.Dispose(); - _httpClient.Dispose(); - } - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/SeedApi.Test.Custom.props b/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/SeedApi.Test.Custom.props deleted file mode 100644 index 55e683b0772..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/SeedApi.Test.Custom.props +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index fd7b07f82e5..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi.sln b/seed/csharp-sdk/grpc-proto/src/SeedApi.sln new file mode 100644 index 00000000000..733cc6104f6 --- /dev/null +++ b/seed/csharp-sdk/grpc-proto/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{D4A44092-AD46-46B3-8B4F-455714352209}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{C1B5A49B-5743-4B29-AEC4-C53D894B2233}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D4A44092-AD46-46B3-8B4F-455714352209}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D4A44092-AD46-46B3-8B4F-455714352209}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D4A44092-AD46-46B3-8B4F-455714352209}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D4A44092-AD46-46B3-8B4F-455714352209}.Release|Any CPU.Build.0 = Release|Any CPU + {C1B5A49B-5743-4B29-AEC4-C53D894B2233}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C1B5A49B-5743-4B29-AEC4-C53D894B2233}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C1B5A49B-5743-4B29-AEC4-C53D894B2233}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C1B5A49B-5743-4B29-AEC4-C53D894B2233}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index af2c9adf7a7..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Constants.cs deleted file mode 100644 index ccf4e963cc8..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedApi.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index a39de9c28d7..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/EnumSerializer.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/EnumSerializer.cs deleted file mode 100644 index ac5c0792fbe..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/EnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class EnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public EnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Extensions.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Extensions.cs deleted file mode 100644 index 2e70f2719a2..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Extensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Runtime.Serialization; - -namespace SeedApi.Core; - -internal static class Extensions -{ - public static string Stringify(this Enum value) - { - var field = value.GetType().GetField(value.ToString()); - var attribute = (EnumMemberAttribute) - Attribute.GetCustomAttribute(field, typeof(EnumMemberAttribute)); - return attribute?.Value ?? value.ToString(); - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/HeaderValue.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/HeaderValue.cs deleted file mode 100644 index 30df1c51646..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/HeaderValue.cs +++ /dev/null @@ -1,17 +0,0 @@ -using OneOf; - -namespace SeedApi.Core; - -internal sealed class HeaderValue(OneOf> value) - : OneOfBase>(value) -{ - public static implicit operator HeaderValue(string value) - { - return new HeaderValue(value); - } - - public static implicit operator HeaderValue(Func value) - { - return new HeaderValue(value); - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Headers.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Headers.cs deleted file mode 100644 index 24bf3179299..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Headers.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace SeedApi.Core; - -internal sealed class Headers : Dictionary -{ - public Headers() { } - - public Headers(Dictionary value) - { - foreach (var kvp in value) - { - this[kvp.Key] = new HeaderValue(kvp.Value); - } - } - - public Headers(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 130464dace1..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/IRequestOptions.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/IRequestOptions.cs deleted file mode 100644 index e365cd162f0..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/IRequestOptions.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedApi.Core; - -internal interface IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 13a05f5111f..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer(), new OneOfSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index 24ee9268e48..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -internal class OneOfSerializer : JsonConverter -{ - public override IOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in GetOneOfTypes(typeToConvert)) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (IOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - public override void Write(Utf8JsonWriter writer, IOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes(System.Type typeToConvert) - { - var casts = typeToConvert - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeToConvert; - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{type} isn't OneOf or OneOfBase"); - } - - public override bool CanConvert(System.Type typeToConvert) - { - return typeof(IOneOf).IsAssignableFrom(typeToConvert); - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/ClientOptions.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/ClientOptions.cs deleted file mode 100644 index 5c12019c489..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Net.Client; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); - - /// - /// The options used for gRPC client endpoints. - /// - public GrpcChannelOptions? GrpcOptions { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } = new(); - - /// - /// Clones this and returns a new instance - /// - internal ClientOptions Clone() - { - return new ClientOptions - { - BaseUrl = BaseUrl, - HttpClient = HttpClient, - MaxRetries = MaxRetries, - Timeout = Timeout, - Headers = new Headers(new Dictionary(Headers)), - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/GrpcRequestOptions.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/GrpcRequestOptions.cs deleted file mode 100644 index 48c37927ea1..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/GrpcRequestOptions.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Net.Http; -using Grpc.Core; -using SeedApi.Core; - -namespace SeedApi; - -#nullable enable - -public partial class GrpcRequestOptions -{ - /// - /// The maximum number of retry attempts. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// Options for write operations. - /// - public WriteOptions? WriteOptions { get; init; } - - /// - /// Client-side call credentials. Provide authorization with per-call granularity. - /// - public CallCredentials? CallCredentials { get; init; } - - /// - /// Headers to be sent with this particular request. - /// - internal Headers Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/RequestOptions.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/RequestOptions.cs deleted file mode 100644 index 4d560f8337a..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Net.Http; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class RequestOptions : IRequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// The http headers sent with the request. - /// - Headers IRequestOptions.Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/SeedApiApiException.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/SeedApiApiException.cs deleted file mode 100644 index 8c81259a788..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/SeedApiApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedApi; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedApiApiException(string message, int statusCode, object body) - : SeedApiException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body => body; -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/SeedApiException.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/SeedApiException.cs deleted file mode 100644 index 14d9b8d9ddd..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/SeedApiException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedApi; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedApiException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/Version.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/Version.cs deleted file mode 100644 index f430a1bf84c..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/Public/Version.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi; - -internal class Version -{ - public const string Current = "0.0.1"; -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index 8cff8b09a01..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System.Net.Http; -using System.Net.Http.Headers; -using System.Text; -using System.Threading; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient(ClientOptions clientOptions) -{ - private const int InitialRetryDelayMs = 1000; - private const int MaxRetryDelayMs = 60000; - - private readonly Lazy _grpc = new(() => new RawGrpcClient(clientOptions)); - - /// - /// The gRPC client used to make requests. - /// - public RawGrpcClient Grpc => _grpc.Value; - - /// - /// The client options applied on every request. - /// - public readonly ClientOptions Options = clientOptions; - - public async Task MakeRequestAsync( - BaseApiRequest request, - CancellationToken cancellationToken = default - ) - { - // Apply the request timeout. - var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - var timeout = request.Options?.Timeout ?? Options.Timeout; - cts.CancelAfter(timeout); - - // Send the request. - return await SendWithRetriesAsync(request, cts.Token); - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Headers Headers { get; init; } = new(); - - public IRequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private async Task SendWithRetriesAsync( - BaseApiRequest request, - CancellationToken cancellationToken - ) - { - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var maxRetries = request.Options?.MaxRetries ?? Options.MaxRetries; - var response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - for (var i = 0; i < maxRetries; i++) - { - if (!ShouldRetry(response)) - { - break; - } - var delayMs = Math.Min(InitialRetryDelayMs * (int)Math.Pow(2, i), MaxRetryDelayMs); - await System.Threading.Tasks.Task.Delay(delayMs, cancellationToken); - response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - } - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - private static bool ShouldRetry(HttpResponseMessage response) - { - var statusCode = (int)response.StatusCode; - return statusCode is 408 or 429 or >= 500; - } - - private HttpRequestMessage BuildHttpRequest(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - switch (request) - { - // Add the request body to the request. - case JsonApiRequest jsonRequest: - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - break; - } - case StreamApiRequest { Body: not null } streamRequest: - httpRequest.Content = new StreamContent(streamRequest.Body); - break; - } - if (request.ContentType != null) - { - httpRequest.Content.Headers.ContentType = MediaTypeHeaderValue.Parse( - request.ContentType - ); - } - SetHeaders(httpRequest, Options.Headers); - SetHeaders(httpRequest, request.Headers); - SetHeaders(httpRequest, request.Options?.Headers ?? new Headers()); - - return httpRequest; - } - - private static string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url[..^1]; - return url; - } - - private static void SetHeaders(HttpRequestMessage httpRequest, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - httpRequest.Headers.TryAddWithoutValidation(header.Key, value); - } - } - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/RawGrpcClient.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/RawGrpcClient.cs deleted file mode 100644 index 657be1d946d..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Core/RawGrpcClient.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Grpc.Core; -using Grpc.Net.Client; - -namespace SeedApi.Core; - -/// -/// Utility class for making gRPC requests to the API. -/// -internal class RawGrpcClient -{ - /// - /// The gRPC channel used to make requests. - /// - public readonly GrpcChannel Channel; - - private readonly ClientOptions _clientOptions; - - public RawGrpcClient(ClientOptions clientOptions) - { - _clientOptions = clientOptions; - - var grpcOptions = PrepareGrpcChannelOptions(); - Channel = - grpcOptions != null - ? GrpcChannel.ForAddress(_clientOptions.BaseUrl, grpcOptions) - : GrpcChannel.ForAddress(_clientOptions.BaseUrl); - } - - /// - /// Prepares the gRPC metadata associated with the given request. - /// The provided request headers take precedence over the headers - /// associated with this client (which are sent on _every_ request). - /// - public CallOptions CreateCallOptions( - GrpcRequestOptions options, - CancellationToken cancellationToken = default - ) - { - var metadata = new global::Grpc.Core.Metadata(); - SetHeaders(metadata, _clientOptions.Headers); - SetHeaders(metadata, options.Headers); - - var timeout = options.Timeout ?? _clientOptions.Timeout; - var deadline = DateTime.UtcNow.Add(timeout); - return new CallOptions( - metadata, - deadline, - cancellationToken, - options.WriteOptions, - null, - options.CallCredentials - ); - } - - private void SetHeaders(global::Grpc.Core.Metadata metadata, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - metadata.Add(header.Key, value); - } - } - } - - private GrpcChannelOptions? PrepareGrpcChannelOptions() - { - var grpcChannelOptions = _clientOptions.GrpcOptions; - if (grpcChannelOptions == null) - { - return null; - } - grpcChannelOptions.HttpClient ??= _clientOptions.HttpClient; - grpcChannelOptions.MaxRetryAttempts ??= _clientOptions.MaxRetries; - return grpcChannelOptions; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApi.Custom.props b/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApi.Custom.props deleted file mode 100644 index 70df2849401..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApi.Custom.props +++ /dev/null @@ -1,20 +0,0 @@ - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApi.csproj deleted file mode 100644 index 4cd5aff38e8..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,72 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - $(Version) - $(Version) - README.md - https://github.com/grpc-proto/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - - - - <_Parameter1>SeedApi.Test - - - - - diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index 195fd05b6e3..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(ClientOptions? clientOptions = null) - { - var defaultHeaders = new Headers( - new Dictionary() - { - { "X-Fern-Language", "C#" }, - { "X-Fern-SDK-Name", "SeedApi" }, - { "X-Fern-SDK-Version", Version.Current }, - { "User-Agent", "Ferngrpc-proto/0.0.1" }, - } - ); - clientOptions ??= new ClientOptions(); - foreach (var header in defaultHeaders) - { - if (!clientOptions.Headers.ContainsKey(header.Key)) - { - clientOptions.Headers[header.Key] = header.Value; - } - } - _client = new RawClient(clientOptions); - Userservice = new UserserviceClient(_client); - } - - public UserserviceClient Userservice { get; init; } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/CreateResponse.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/CreateResponse.cs deleted file mode 100644 index 608e09ded5f..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/CreateResponse.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = User.V1; - -#nullable enable - -namespace SeedApi; - -public record CreateResponse -{ - [JsonPropertyName("user")] - public UserModel? User { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the CreateResponse type into its Protobuf-equivalent representation. - /// - internal Proto.CreateResponse ToProto() - { - var result = new Proto.CreateResponse(); - if (User != null) - { - result.User = User.ToProto(); - } - return result; - } - - /// - /// Returns a new CreateResponse type from its Protobuf-equivalent representation. - /// - internal static CreateResponse FromProto(Proto.CreateResponse value) - { - return new CreateResponse - { - User = value.User != null ? UserModel.FromProto(value.User) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/Metadata.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/Metadata.cs deleted file mode 100644 index 2e16aa50b3f..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/Metadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class Metadata : Dictionary -{ - public Metadata() { } - - public Metadata(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Struct ToProto() - { - var result = new Proto.Struct(); - foreach (var kvp in this) - { - result.Fields[kvp.Key] = kvp.Value?.ToProto(); - } - return result; - } - - internal static Metadata FromProto(Proto.Struct value) - { - var result = new Metadata(); - foreach (var kvp in value.Fields) - { - result[kvp.Key] = kvp.Value != null ? MetadataValue.FromProto(kvp.Value) : null; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/MetadataValue.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/MetadataValue.cs deleted file mode 100644 index 2308676e891..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/MetadataValue.cs +++ /dev/null @@ -1,91 +0,0 @@ -using OneOf; -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class MetadataValue( - OneOf, Metadata> value -) : OneOfBase, Metadata>(value) -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Value ToProto() - { - return Match( - Proto.Value.ForString, - Proto.Value.ForNumber, - Proto.Value.ForBool, - list => new Proto.Value - { - ListValue = new Proto.ListValue - { - Values = { list.Select(item => item?.ToProto()) }, - }, - }, - nested => new Proto.Value { StructValue = nested.ToProto() } - ); - } - - internal static MetadataValue? FromProto(Proto.Value value) - { - return value.KindCase switch - { - Proto.Value.KindOneofCase.StringValue => value.StringValue, - Proto.Value.KindOneofCase.NumberValue => value.NumberValue, - Proto.Value.KindOneofCase.BoolValue => value.BoolValue, - Proto.Value.KindOneofCase.ListValue => value - .ListValue.Values.Select(FromProto) - .ToList(), - Proto.Value.KindOneofCase.StructValue => Metadata.FromProto(value.StructValue), - _ => null, - }; - } - - public static implicit operator MetadataValue(string value) => new(value); - - public static implicit operator MetadataValue(bool value) => new(value); - - public static implicit operator MetadataValue(double value) => new(value); - - public static implicit operator MetadataValue(Metadata value) => new(value); - - public static implicit operator MetadataValue(MetadataValue?[] value) => new(value); - - public static implicit operator MetadataValue(List value) => new(value); - - public static implicit operator MetadataValue(string[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(bool[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(bool?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/UserModel.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/UserModel.cs deleted file mode 100644 index 986ace0fbd1..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Types/UserModel.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = User.V1; - -#nullable enable - -namespace SeedApi; - -public record UserModel -{ - [JsonPropertyName("username")] - public string? Username { get; set; } - - [JsonPropertyName("email")] - public string? Email { get; set; } - - [JsonPropertyName("age")] - public uint? Age { get; set; } - - [JsonPropertyName("weight")] - public float? Weight { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the UserModel type into its Protobuf-equivalent representation. - /// - internal Proto.UserModel ToProto() - { - var result = new Proto.UserModel(); - if (Username != null) - { - result.Username = Username ?? ""; - } - if (Email != null) - { - result.Email = Email ?? ""; - } - if (Age != null) - { - result.Age = Age ?? 0; - } - if (Weight != null) - { - result.Weight = Weight ?? 0.0f; - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - return result; - } - - /// - /// Returns a new UserModel type from its Protobuf-equivalent representation. - /// - internal static UserModel FromProto(Proto.UserModel value) - { - return new UserModel - { - Username = value.Username, - Email = value.Email, - Age = value.Age, - Weight = value.Weight, - Metadata = value.Metadata != null ? Metadata.FromProto(value.Metadata) : null, - }; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Userservice/Requests/CreateRequest.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Userservice/Requests/CreateRequest.cs deleted file mode 100644 index f441a389685..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Userservice/Requests/CreateRequest.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; -using Proto = User.V1; - -#nullable enable - -namespace SeedApi; - -public record CreateRequest -{ - [JsonPropertyName("username")] - public string? Username { get; set; } - - [JsonPropertyName("email")] - public string? Email { get; set; } - - [JsonPropertyName("age")] - public uint? Age { get; set; } - - [JsonPropertyName("weight")] - public float? Weight { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - /// - /// Maps the CreateRequest type into its Protobuf-equivalent representation. - /// - internal Proto.CreateRequest ToProto() - { - var result = new Proto.CreateRequest(); - if (Username != null) - { - result.Username = Username ?? ""; - } - if (Email != null) - { - result.Email = Email ?? ""; - } - if (Age != null) - { - result.Age = Age ?? 0; - } - if (Weight != null) - { - result.Weight = Weight ?? 0.0f; - } - if (Metadata != null) - { - result.Metadata = Metadata.ToProto(); - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc-proto/src/SeedApi/Userservice/UserserviceClient.cs b/seed/csharp-sdk/grpc-proto/src/SeedApi/Userservice/UserserviceClient.cs deleted file mode 100644 index b742ef024a2..00000000000 --- a/seed/csharp-sdk/grpc-proto/src/SeedApi/Userservice/UserserviceClient.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System.Threading; -using Grpc.Core; -using SeedApi.Core; -using User.V1; - -#nullable enable - -namespace SeedApi; - -public partial class UserserviceClient -{ - private RawClient _client; - - private RawGrpcClient _grpc; - - private UserService.UserServiceClient _userService; - - internal UserserviceClient(RawClient client) - { - _client = client; - _grpc = _client.Grpc; - _userService = new UserService.UserServiceClient(_grpc.Channel); - } - - /// - /// - /// await client.Userservice.CreateAsync(new CreateRequest()); - /// - /// - public async Task CreateAsync( - CreateRequest request, - GrpcRequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - try - { - var callOptions = _grpc.CreateCallOptions( - options ?? new GrpcRequestOptions(), - cancellationToken - ); - var call = _userService.CreateAsync(request.ToProto(), callOptions); - var response = await call.ConfigureAwait(false); - return CreateResponse.FromProto(response); - } - catch (RpcException rpc) - { - var statusCode = (int)rpc.StatusCode; - throw new SeedApiApiException( - $"Error with gRPC status code {statusCode}", - statusCode, - rpc.Message - ); - } - catch (Exception e) - { - throw new SeedApiException("Error", e); - } - } -} diff --git a/seed/csharp-sdk/grpc/.github/workflows/ci.yml b/seed/csharp-sdk/grpc/.github/workflows/ci.yml deleted file mode 100644 index bc4fa1a98cb..00000000000 --- a/seed/csharp-sdk/grpc/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/grpc/.gitignore b/seed/csharp-sdk/grpc/.gitignore deleted file mode 100644 index 5e57f18055d..00000000000 --- a/seed/csharp-sdk/grpc/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from `dotnet new gitignore` - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/grpc/.mock/definition/api.yml b/seed/csharp-sdk/grpc/.mock/definition/api.yml deleted file mode 100644 index 15a9f823724..00000000000 --- a/seed/csharp-sdk/grpc/.mock/definition/api.yml +++ /dev/null @@ -1,4 +0,0 @@ -name: api - -error-discrimination: - strategy: status-code \ No newline at end of file diff --git a/seed/csharp-sdk/grpc/.mock/definition/user.yml b/seed/csharp-sdk/grpc/.mock/definition/user.yml deleted file mode 100644 index 80223300afc..00000000000 --- a/seed/csharp-sdk/grpc/.mock/definition/user.yml +++ /dev/null @@ -1,61 +0,0 @@ -types: - Metadata: - type: map> - encoding: - proto: - type: google.protobuf.Struct - - MetadataValue: - discriminated: false - union: - - double - - string - - boolean - - list - encoding: - proto: - type: google.protobuf.Value - - User: - properties: - id: string - username: string - email: optional - age: optional - weight: optional - metadata: optional - - CreateUserResponse: - properties: - user: User - -service: - auth: false - base-path: / - transport: - grpc: - service-name: UserService - endpoints: - createUser: - method: POST - path: /users - request: - name: CreateUserRequest - body: - properties: - username: string - email: optional - age: optional - weight: optional - response: CreateUserResponse - - getUser: - method: GET - path: /users - request: - name: GetUserRequest - query-parameters: - username: optional - age: optional - weight: optional - response: User diff --git a/seed/csharp-sdk/grpc/.mock/fern.config.json b/seed/csharp-sdk/grpc/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/grpc/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc/.mock/generators.yml b/seed/csharp-sdk/grpc/.mock/generators.yml deleted file mode 100644 index 9e26dfeeb6e..00000000000 --- a/seed/csharp-sdk/grpc/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc/README.md b/seed/csharp-sdk/grpc/README.md deleted file mode 100644 index c3096374de9..00000000000 --- a/seed/csharp-sdk/grpc/README.md +++ /dev/null @@ -1,95 +0,0 @@ -# Seed C# Library - -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern) -[![nuget shield](https://img.shields.io/nuget/v/SeedApi)](https://nuget.org/packages/SeedApi) - -The Seed C# library provides convenient access to the Seed API from C#. - -## Installation - -```sh -nuget install SeedApi -``` - -## Usage - -Instantiate and use the client with the following: - -```csharp -using SeedApi; - -var client = new SeedApiClient(); -await client.User.CreateUserAsync( - new CreateUserRequest - { - Username = "string", - Email = "string", - Age = 1, - Weight = 1.1f, - } -); -``` - -## Exception Handling - -When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error -will be thrown. - -```csharp -using SeedApi; - -try { - var response = await client.User.CreateUserAsync(...); -} catch (SeedApiApiException e) { - System.Console.WriteLine(e.Body); - System.Console.WriteLine(e.StatusCode); -} -``` - -## Advanced - -### Retries - -The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long -as the request is deemed retriable and the number of retry attempts has not grown larger than the configured -retry limit (default: 2). - -A request is deemed retriable when any of the following HTTP status codes is returned: - -- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) -- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) -- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) - -Use the `MaxRetries` request option to configure this behavior. - -```csharp -var response = await client.User.CreateUserAsync( - ..., - new RequestOptions { - MaxRetries: 0 // Override MaxRetries at the request level - } -); -``` - -### Timeouts - -The SDK defaults to a 30 second timeout. Use the `Timeout` option to configure this behavior. - -```csharp -var response = await client.User.CreateUserAsync( - ..., - new RequestOptions { - Timeout: TimeSpan.FromSeconds(3) // Override timeout to 3s - } -); -``` - -## Contributing - -While we value open-source contributions to this SDK, this library is generated programmatically. -Additions made directly to this library would have to be moved over to our generation code, -otherwise they would be overwritten upon the next generated release. Feel free to open a PR as -a proof of concept, but know that we will not be able to merge it as-is. We suggest opening -an issue first to discuss with us! - -On the other hand, contributions to the README are always very welcome! \ No newline at end of file diff --git a/seed/csharp-sdk/grpc/reference.md b/seed/csharp-sdk/grpc/reference.md deleted file mode 100644 index e5b271bba5c..00000000000 --- a/seed/csharp-sdk/grpc/reference.md +++ /dev/null @@ -1,96 +0,0 @@ -# Reference -## User -
client.User.CreateUserAsync(CreateUserRequest { ... }) -> CreateUserResponse -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.User.CreateUserAsync( - new CreateUserRequest - { - Username = "string", - Email = "string", - Age = 1, - Weight = 1.1f, - } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `CreateUserRequest` - -
-
-
-
- - -
-
-
- -
client.User.GetUserAsync(GetUserRequest { ... }) -> User -
-
- -#### 🔌 Usage - -
-
- -
-
- -```csharp -await client.User.GetUserAsync( - new GetUserRequest - { - Username = "string", - Age = 1, - Weight = 1.1f, - } -); -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `GetUserRequest` - -
-
-
-
- - -
-
-
diff --git a/seed/csharp-sdk/grpc/snippet-templates.json b/seed/csharp-sdk/grpc/snippet-templates.json deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/seed/csharp-sdk/grpc/snippet.json b/seed/csharp-sdk/grpc/snippet.json deleted file mode 100644 index a85e2c36462..00000000000 --- a/seed/csharp-sdk/grpc/snippet.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "types": {}, - "endpoints": [ - { - "example_identifier": null, - "id": { - "path": "/users", - "method": "POST", - "identifier_override": "endpoint_user.createUser" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.User.CreateUserAsync(\n new CreateUserRequest\n {\n Username = \"string\",\n Email = \"string\",\n Age = 1,\n Weight = 1.1f,\n }\n);\n" - } - }, - { - "example_identifier": null, - "id": { - "path": "/users", - "method": "GET", - "identifier_override": "endpoint_user.getUser" - }, - "snippet": { - "type": "typescript", - "client": "using SeedApi;\n\nvar client = new SeedApiClient();\nawait client.User.GetUserAsync(\n new GetUserRequest\n {\n Username = \"string\",\n Age = 1,\n Weight = 1.1f,\n }\n);\n" - } - } - ] -} \ No newline at end of file diff --git a/seed/csharp-sdk/grpc/src/SeedApi.Test/Core/RawClientTests.cs b/seed/csharp-sdk/grpc/src/SeedApi.Test/Core/RawClientTests.cs deleted file mode 100644 index df141253267..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi.Test/Core/RawClientTests.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Net.Http; -using FluentAssertions; -using NUnit.Framework; -using SeedApi.Core; -using WireMock.Server; -using SystemTask = System.Threading.Tasks.Task; -using WireMockRequest = WireMock.RequestBuilders.Request; -using WireMockResponse = WireMock.ResponseBuilders.Response; - -namespace SeedApi.Test.Core -{ - [TestFixture] - public class RawClientTests - { - private WireMockServer _server; - private HttpClient _httpClient; - private RawClient _rawClient; - private string _baseUrl; - private const int _maxRetries = 3; - - [SetUp] - public void SetUp() - { - _server = WireMockServer.Start(); - _baseUrl = _server.Url ?? ""; - _httpClient = new HttpClient { BaseAddress = new Uri(_baseUrl) }; - _rawClient = new RawClient( - new ClientOptions() { HttpClient = _httpClient, MaxRetries = _maxRetries } - ); - } - - [Test] - [TestCase(408)] - [TestCase(429)] - [TestCase(500)] - [TestCase(504)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnRetryableStatusCodes(int statusCode) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Server Error") - .WillSetStateTo("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode)); - - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WhenStateIs("Success") - .RespondWith(WireMockResponse.Create().WithStatusCode(200).WithBody("Success")); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(200)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Success")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(_maxRetries)); - } - - [Test] - [TestCase(400)] - [TestCase(409)] - public async SystemTask MakeRequestAsync_ShouldRetry_OnNonRetryableStatusCodes( - int statusCode - ) - { - _server - .Given(WireMockRequest.Create().WithPath("/test").UsingGet()) - .InScenario("Retry") - .WillSetStateTo("Server Error") - .RespondWith( - WireMockResponse.Create().WithStatusCode(statusCode).WithBody("Failure") - ); - - var request = new RawClient.BaseApiRequest - { - BaseUrl = _baseUrl, - Method = HttpMethod.Get, - Path = "/test", - }; - - var response = await _rawClient.MakeRequestAsync(request); - Assert.That(response.StatusCode, Is.EqualTo(statusCode)); - - var content = await response.Raw.Content.ReadAsStringAsync(); - Assert.That(content, Is.EqualTo("Failure")); - - Assert.That(_server.LogEntries.Count, Is.EqualTo(1)); - } - - [TearDown] - public void TearDown() - { - _server.Dispose(); - _httpClient.Dispose(); - } - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/grpc/src/SeedApi.Test/SeedApi.Test.csproj deleted file mode 100644 index c5be29f92d9..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi.Test/SeedApi.Test.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/grpc/src/SeedApi.Test/TestClient.cs b/seed/csharp-sdk/grpc/src/SeedApi.Test/TestClient.cs deleted file mode 100644 index f1550b51fff..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedApi.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs deleted file mode 100644 index d60f783110a..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ /dev/null @@ -1,39 +0,0 @@ -using NUnit.Framework; -using SeedApi; -using WireMock.Logging; -using WireMock.Server; -using WireMock.Settings; - -#nullable enable - -namespace SeedApi.Test.Unit.MockServer; - -[SetUpFixture] -public class BaseMockServerTest -{ - protected static WireMockServer Server { get; set; } = null!; - - protected static SeedApiClient Client { get; set; } = null!; - - protected static RequestOptions RequestOptions { get; set; } = null!; - - [OneTimeSetUp] - public void GlobalSetup() - { - // Start the WireMock server - Server = WireMockServer.Start( - new WireMockServerSettings { Logger = new WireMockConsoleLogger() } - ); - - // Initialize the Client - Client = new SeedApiClient(); - - RequestOptions = new RequestOptions { BaseUrl = Server.Urls[0] }; - } - - [OneTimeTearDown] - public void GlobalTeardown() - { - Server.Stop(); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/CreateUserTest.cs b/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/CreateUserTest.cs deleted file mode 100644 index aa4ac469d39..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/CreateUserTest.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System.Threading.Tasks; -using FluentAssertions.Json; -using Newtonsoft.Json.Linq; -using NUnit.Framework; -using SeedApi; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi.Test.Unit.MockServer; - -[TestFixture] -public class CreateUserTest : BaseMockServerTest -{ - [Test] - public async Task MockServerTest() - { - const string requestJson = """ - { - "username": "string", - "email": "string", - "age": 1, - "weight": 1.1 - } - """; - - const string mockResponse = """ - { - "user": { - "id": "string", - "username": "string", - "email": "string", - "age": 1, - "weight": 1.1, - "metadata": {} - } - } - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/users") - .UsingPost() - .WithBodyAsJson(requestJson) - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = await Client.User.CreateUserAsync( - new CreateUserRequest - { - Username = "string", - Email = "string", - Age = 1, - Weight = 1.1f, - }, - RequestOptions - ); - JToken - .Parse(mockResponse) - .Should() - .BeEquivalentTo(JToken.Parse(JsonUtils.Serialize(response))); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/GetUserTest.cs b/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/GetUserTest.cs deleted file mode 100644 index 57afe5e4281..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi.Test/Unit/MockServer/GetUserTest.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System.Threading.Tasks; -using FluentAssertions.Json; -using Newtonsoft.Json.Linq; -using NUnit.Framework; -using SeedApi; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi.Test.Unit.MockServer; - -[TestFixture] -public class GetUserTest : BaseMockServerTest -{ - [Test] - public async Task MockServerTest() - { - const string mockResponse = """ - { - "id": "string", - "username": "string", - "email": "string", - "age": 1, - "weight": 1.1, - "metadata": {} - } - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/users") - .WithParam("username", "string") - .WithParam("age", "1") - .WithParam("weight", "1.1") - .UsingGet() - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = await Client.User.GetUserAsync( - new GetUserRequest - { - Username = "string", - Age = 1, - Weight = 1.1f, - }, - RequestOptions - ); - JToken - .Parse(mockResponse) - .Should() - .BeEquivalentTo(JToken.Parse(JsonUtils.Serialize(response))); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/CollectionItemSerializer.cs deleted file mode 100644 index af2c9adf7a7..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Constants.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Constants.cs deleted file mode 100644 index ccf4e963cc8..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Constants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SeedApi.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; - public const string DateFormat = "yyyy-MM-dd"; -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/DateTimeSerializer.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/DateTimeSerializer.cs deleted file mode 100644 index a39de9c28d7..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Extensions.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Extensions.cs deleted file mode 100644 index 2e70f2719a2..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Extensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Runtime.Serialization; - -namespace SeedApi.Core; - -internal static class Extensions -{ - public static string Stringify(this Enum value) - { - var field = value.GetType().GetField(value.ToString()); - var attribute = (EnumMemberAttribute) - Attribute.GetCustomAttribute(field, typeof(EnumMemberAttribute)); - return attribute?.Value ?? value.ToString(); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/HeaderValue.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/HeaderValue.cs deleted file mode 100644 index 30df1c51646..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/HeaderValue.cs +++ /dev/null @@ -1,17 +0,0 @@ -using OneOf; - -namespace SeedApi.Core; - -internal sealed class HeaderValue(OneOf> value) - : OneOfBase>(value) -{ - public static implicit operator HeaderValue(string value) - { - return new HeaderValue(value); - } - - public static implicit operator HeaderValue(Func value) - { - return new HeaderValue(value); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Headers.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Headers.cs deleted file mode 100644 index 24bf3179299..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Headers.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace SeedApi.Core; - -internal sealed class Headers : Dictionary -{ - public Headers() { } - - public Headers(Dictionary value) - { - foreach (var kvp in value) - { - this[kvp.Key] = new HeaderValue(kvp.Value); - } - } - - public Headers(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/HttpMethodExtensions.cs deleted file mode 100644 index 130464dace1..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedApi.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/JsonConfiguration.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/JsonConfiguration.cs deleted file mode 100644 index 13a05f5111f..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer(), new OneOfSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/OneOfSerializer.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/OneOfSerializer.cs deleted file mode 100644 index 24ee9268e48..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/OneOfSerializer.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedApi.Core; - -internal class OneOfSerializer : JsonConverter -{ - public override IOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in GetOneOfTypes(typeToConvert)) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (IOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - public override void Write(Utf8JsonWriter writer, IOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes(System.Type typeToConvert) - { - var casts = typeToConvert - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeToConvert; - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{type} isn't OneOf or OneOfBase"); - } - - public override bool CanConvert(System.Type typeToConvert) - { - return typeof(IOneOf).IsAssignableFrom(typeToConvert); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/ClientOptions.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/ClientOptions.cs deleted file mode 100644 index 2ac1fe17bb7..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Net.Http; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/RequestOptions.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/RequestOptions.cs deleted file mode 100644 index 6e0923d6f60..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Net.Http; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class RequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } - - /// - /// The http headers sent with the request. - /// - internal Headers Headers { get; init; } = new(); -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/SeedApiApiException.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/SeedApiApiException.cs deleted file mode 100644 index 8c81259a788..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/SeedApiApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedApi; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedApiApiException(string message, int statusCode, object body) - : SeedApiException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body => body; -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/SeedApiException.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/SeedApiException.cs deleted file mode 100644 index 14d9b8d9ddd..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/SeedApiException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedApi; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedApiException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/Version.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/Version.cs deleted file mode 100644 index f430a1bf84c..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/Public/Version.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedApi; - -internal class Version -{ - public const string Current = "0.0.1"; -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/RawClient.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/RawClient.cs deleted file mode 100644 index f916f776d5f..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/RawClient.cs +++ /dev/null @@ -1,185 +0,0 @@ -using System.Net.Http; -using System.Text; -using System.Threading; - -namespace SeedApi.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient(ClientOptions clientOptions) -{ - private const int InitialRetryDelayMs = 1000; - private const int MaxRetryDelayMs = 60000; - - /// - /// The client options applied on every request. - /// - public readonly ClientOptions Options = clientOptions; - - public async Task MakeRequestAsync( - BaseApiRequest request, - CancellationToken cancellationToken = default - ) - { - // Apply the request timeout. - var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); - var timeout = request.Options?.Timeout ?? Options.Timeout; - cts.CancelAfter(timeout); - - // Send the request. - return await SendWithRetriesAsync(request, cts.Token); - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Headers Headers { get; init; } = new(); - - public RequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private async Task SendWithRetriesAsync( - BaseApiRequest request, - CancellationToken cancellationToken - ) - { - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var maxRetries = request.Options?.MaxRetries ?? Options.MaxRetries; - var response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - for (var i = 0; i < maxRetries; i++) - { - if (!ShouldRetry(response)) - { - break; - } - var delayMs = Math.Min(InitialRetryDelayMs * (int)Math.Pow(2, i), MaxRetryDelayMs); - await System.Threading.Tasks.Task.Delay(delayMs, cancellationToken); - response = await httpClient.SendAsync(BuildHttpRequest(request), cancellationToken); - } - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - private static bool ShouldRetry(HttpResponseMessage response) - { - var statusCode = (int)response.StatusCode; - return statusCode is 408 or 429 or >= 500; - } - - private HttpRequestMessage BuildHttpRequest(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - switch (request) - { - // Add the request body to the request. - case JsonApiRequest jsonRequest: - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - break; - } - case StreamApiRequest { Body: not null } streamRequest: - httpRequest.Content = new StreamContent(streamRequest.Body); - break; - } - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - SetHeaders(httpRequest, Options.Headers); - SetHeaders(httpRequest, request.Headers); - SetHeaders(httpRequest, request.Options?.Headers ?? new Headers()); - return httpRequest; - } - - private static string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url[..^1]; - return url; - } - - private static void SetHeaders(HttpRequestMessage httpRequest, Headers headers) - { - foreach (var header in headers) - { - var value = header.Value?.Match(str => str, func => func.Invoke()); - if (value != null) - { - httpRequest.Headers.TryAddWithoutValidation(header.Key, value); - } - } - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/Core/StringEnumSerializer.cs b/seed/csharp-sdk/grpc/src/SeedApi/Core/StringEnumSerializer.cs deleted file mode 100644 index 5e064791aeb..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedApi.Core; - -internal class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/grpc/src/SeedApi/SeedApi.csproj deleted file mode 100644 index 0ddf92937e5..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/SeedApi.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/grpc/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - <_Parameter1>SeedApi.Test - - - - diff --git a/seed/csharp-sdk/grpc/src/SeedApi/SeedApiClient.cs b/seed/csharp-sdk/grpc/src/SeedApi/SeedApiClient.cs deleted file mode 100644 index 4abdf81bfe5..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/SeedApiClient.cs +++ /dev/null @@ -1,35 +0,0 @@ -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class SeedApiClient -{ - private RawClient _client; - - public SeedApiClient(ClientOptions? clientOptions = null) - { - var defaultHeaders = new Headers( - new Dictionary() - { - { "X-Fern-Language", "C#" }, - { "X-Fern-SDK-Name", "SeedApi" }, - { "X-Fern-SDK-Version", Version.Current }, - { "User-Agent", "Ferngrpc/0.0.1" }, - } - ); - clientOptions ??= new ClientOptions(); - foreach (var header in defaultHeaders) - { - if (!clientOptions.Headers.ContainsKey(header.Key)) - { - clientOptions.Headers[header.Key] = header.Value; - } - } - _client = new RawClient(clientOptions); - User = new UserClient(_client); - } - - public UserClient User { get; init; } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/Requests/CreateUserRequest.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/Requests/CreateUserRequest.cs deleted file mode 100644 index a654b4a0bf5..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/Requests/CreateUserRequest.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public record CreateUserRequest -{ - [JsonPropertyName("username")] - public required string Username { get; set; } - - [JsonPropertyName("email")] - public string? Email { get; set; } - - [JsonPropertyName("age")] - public uint? Age { get; set; } - - [JsonPropertyName("weight")] - public float? Weight { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/Requests/GetUserRequest.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/Requests/GetUserRequest.cs deleted file mode 100644 index b0cbbb7ad7a..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/Requests/GetUserRequest.cs +++ /dev/null @@ -1,19 +0,0 @@ -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public record GetUserRequest -{ - public string? Username { get; set; } - - public uint? Age { get; set; } - - public float? Weight { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/CreateUserResponse.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/Types/CreateUserResponse.cs deleted file mode 100644 index 26fb31dde58..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/CreateUserResponse.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public record CreateUserResponse -{ - [JsonPropertyName("user")] - public required User User { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/Metadata.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/Types/Metadata.cs deleted file mode 100644 index 2e16aa50b3f..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/Metadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class Metadata : Dictionary -{ - public Metadata() { } - - public Metadata(IEnumerable> value) - : base(value.ToDictionary(e => e.Key, e => e.Value)) { } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Struct ToProto() - { - var result = new Proto.Struct(); - foreach (var kvp in this) - { - result.Fields[kvp.Key] = kvp.Value?.ToProto(); - } - return result; - } - - internal static Metadata FromProto(Proto.Struct value) - { - var result = new Metadata(); - foreach (var kvp in value.Fields) - { - result[kvp.Key] = kvp.Value != null ? MetadataValue.FromProto(kvp.Value) : null; - } - return result; - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/MetadataValue.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/Types/MetadataValue.cs deleted file mode 100644 index 2308676e891..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/MetadataValue.cs +++ /dev/null @@ -1,91 +0,0 @@ -using OneOf; -using SeedApi.Core; -using Proto = Google.Protobuf.WellKnownTypes; - -#nullable enable - -namespace SeedApi; - -public sealed class MetadataValue( - OneOf, Metadata> value -) : OneOfBase, Metadata>(value) -{ - public override string ToString() - { - return JsonUtils.Serialize(this); - } - - internal Proto.Value ToProto() - { - return Match( - Proto.Value.ForString, - Proto.Value.ForNumber, - Proto.Value.ForBool, - list => new Proto.Value - { - ListValue = new Proto.ListValue - { - Values = { list.Select(item => item?.ToProto()) }, - }, - }, - nested => new Proto.Value { StructValue = nested.ToProto() } - ); - } - - internal static MetadataValue? FromProto(Proto.Value value) - { - return value.KindCase switch - { - Proto.Value.KindOneofCase.StringValue => value.StringValue, - Proto.Value.KindOneofCase.NumberValue => value.NumberValue, - Proto.Value.KindOneofCase.BoolValue => value.BoolValue, - Proto.Value.KindOneofCase.ListValue => value - .ListValue.Values.Select(FromProto) - .ToList(), - Proto.Value.KindOneofCase.StructValue => Metadata.FromProto(value.StructValue), - _ => null, - }; - } - - public static implicit operator MetadataValue(string value) => new(value); - - public static implicit operator MetadataValue(bool value) => new(value); - - public static implicit operator MetadataValue(double value) => new(value); - - public static implicit operator MetadataValue(Metadata value) => new(value); - - public static implicit operator MetadataValue(MetadataValue?[] value) => new(value); - - public static implicit operator MetadataValue(List value) => new(value); - - public static implicit operator MetadataValue(string[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(double?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(bool[] value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(bool?[] value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => new MetadataValue(v)).ToList()); - - public static implicit operator MetadataValue(List value) => - new(value.Select(v => v != null ? new MetadataValue(v.Value) : null).ToList()); -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/User.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/Types/User.cs deleted file mode 100644 index 1f029dc332a..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/Types/User.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json.Serialization; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public record User -{ - [JsonPropertyName("id")] - public required string Id { get; set; } - - [JsonPropertyName("username")] - public required string Username { get; set; } - - [JsonPropertyName("email")] - public string? Email { get; set; } - - [JsonPropertyName("age")] - public uint? Age { get; set; } - - [JsonPropertyName("weight")] - public float? Weight { get; set; } - - [JsonPropertyName("metadata")] - public Metadata? Metadata { get; set; } - - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/seed/csharp-sdk/grpc/src/SeedApi/User/UserClient.cs b/seed/csharp-sdk/grpc/src/SeedApi/User/UserClient.cs deleted file mode 100644 index f4f4787f7c8..00000000000 --- a/seed/csharp-sdk/grpc/src/SeedApi/User/UserClient.cs +++ /dev/null @@ -1,130 +0,0 @@ -using System.Net.Http; -using System.Text.Json; -using System.Threading; -using SeedApi.Core; - -#nullable enable - -namespace SeedApi; - -public partial class UserClient -{ - private RawClient _client; - - internal UserClient(RawClient client) - { - _client = client; - } - - /// - /// - /// await client.User.CreateUserAsync( - /// new CreateUserRequest - /// { - /// Username = "string", - /// Email = "string", - /// Age = 1, - /// Weight = 1.1f, - /// } - /// ); - /// - /// - public async Task CreateUserAsync( - CreateUserRequest request, - RequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "/users", - Body = request, - Options = options, - }, - cancellationToken - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - try - { - return JsonUtils.Deserialize(responseBody)!; - } - catch (JsonException e) - { - throw new SeedApiException("Failed to deserialize response", e); - } - } - - throw new SeedApiApiException( - $"Error with status code {response.StatusCode}", - response.StatusCode, - responseBody - ); - } - - /// - /// - /// await client.User.GetUserAsync( - /// new GetUserRequest - /// { - /// Username = "string", - /// Age = 1, - /// Weight = 1.1f, - /// } - /// ); - /// - /// - public async Task GetUserAsync( - GetUserRequest request, - RequestOptions? options = null, - CancellationToken cancellationToken = default - ) - { - var _query = new Dictionary(); - if (request.Username != null) - { - _query["username"] = request.Username; - } - if (request.Age != null) - { - _query["age"] = request.Age.ToString(); - } - if (request.Weight != null) - { - _query["weight"] = request.Weight.ToString(); - } - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Get, - Path = "/users", - Query = _query, - Options = options, - }, - cancellationToken - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - try - { - return JsonUtils.Deserialize(responseBody)!; - } - catch (JsonException e) - { - throw new SeedApiException("Failed to deserialize response", e); - } - } - - throw new SeedApiApiException( - $"Error with status code {response.StatusCode}", - response.StatusCode, - responseBody - ); - } -} diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs index 28633fe4009..05021088ba4 100644 --- a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj index 7551abfc848..3178b30c679 100644 --- a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj +++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Unit/MockServer/BaseMockServerTest.cs index 4c944f907ef..f9a8ccaa86d 100644 --- a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/Unit/MockServer/BaseMockServerTest.cs @@ -38,5 +38,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln new file mode 100644 index 00000000000..4b204c92dfb --- /dev/null +++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders", "SeedIdempotencyHeaders\SeedIdempotencyHeaders.csproj", "{047FF487-C514-441D-99BD-BEBE086D6D94}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders.Test", "SeedIdempotencyHeaders.Test\SeedIdempotencyHeaders.Test.csproj", "{7B35C604-BD65-4CBD-B529-E71A428BAF0E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {047FF487-C514-441D-99BD-BEBE086D6D94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {047FF487-C514-441D-99BD-BEBE086D6D94}.Debug|Any CPU.Build.0 = Debug|Any CPU + {047FF487-C514-441D-99BD-BEBE086D6D94}.Release|Any CPU.ActiveCfg = Release|Any CPU + {047FF487-C514-441D-99BD-BEBE086D6D94}.Release|Any CPU.Build.0 = Release|Any CPU + {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj index 97673c7b847..976b0e40119 100644 --- a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj +++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders/SeedIdempotencyHeaders.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/idempotency-headers/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs index 6c0cf9a6f86..a332eb4c2f4 100644 --- a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln new file mode 100644 index 00000000000..6d974d76661 --- /dev/null +++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{B0968666-D02D-4A03-9A47-4D3CAA222F7F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{294B5C7F-1375-47A3-AA72-104F56768B02}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Release|Any CPU.Build.0 = Release|Any CPU + {294B5C7F-1375-47A3-AA72-104F56768B02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {294B5C7F-1375-47A3-AA72-104F56768B02}.Debug|Any CPU.Build.0 = Debug|Any CPU + {294B5C7F-1375-47A3-AA72-104F56768B02}.Release|Any CPU.ActiveCfg = Release|Any CPU + {294B5C7F-1375-47A3-AA72-104F56768B02}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi/SeedApi.csproj index 224033f2519..90554a2cd68 100644 --- a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/imdb/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs index 6c0cf9a6f86..a332eb4c2f4 100644 --- a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln new file mode 100644 index 00000000000..cf7c09b9236 --- /dev/null +++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{B4EE03B1-3F6A-429B-B88B-86E220BC944C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Release|Any CPU.Build.0 = Release|Any CPU + {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi/SeedApi.csproj index 4761285c71c..31a2ab693cc 100644 --- a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/imdb/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs index 6c0cf9a6f86..a332eb4c2f4 100644 --- a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln new file mode 100644 index 00000000000..b38cb70c7e6 --- /dev/null +++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{C6F90064-1CAD-4ACA-8592-8376C4CC2041}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{BB23C9C0-51A1-4739-8E4B-4633F89D9B40}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Release|Any CPU.Build.0 = Release|Any CPU + {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi/SeedApi.csproj index 224033f2519..90554a2cd68 100644 --- a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/imdb/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs index fe53e0c1a87..95eb4f28c3e 100644 --- a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj index 57e8eb5c544..48c2149242c 100644 --- a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj +++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs index 2e60e69ba69..348ab3eb0c0 100644 --- a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln b/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln new file mode 100644 index 00000000000..e63ff2adabb --- /dev/null +++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{009D531A-4208-4108-B284-D745E8CC046B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Release|Any CPU.Build.0 = Release|Any CPU + {009D531A-4208-4108-B284-D745E8CC046B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {009D531A-4208-4108-B284-D745E8CC046B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {009D531A-4208-4108-B284-D745E8CC046B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {009D531A-4208-4108-B284-D745E8CC046B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense/SeedLicense.csproj b/seed/csharp-sdk/license/custom-license/src/SeedLicense/SeedLicense.csproj index 4616bc86443..7e636c9679a 100644 --- a/seed/csharp-sdk/license/custom-license/src/SeedLicense/SeedLicense.csproj +++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense/SeedLicense.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/license/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs index fe53e0c1a87..95eb4f28c3e 100644 --- a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj index 57e8eb5c544..48c2149242c 100644 --- a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj +++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs index 2e60e69ba69..348ab3eb0c0 100644 --- a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln b/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln new file mode 100644 index 00000000000..4449da981b4 --- /dev/null +++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{81C61555-2101-449D-B8DA-EECA2676AAF5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{40E7B616-5BCC-4A08-AE40-15700CF4F8A0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {81C61555-2101-449D-B8DA-EECA2676AAF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {81C61555-2101-449D-B8DA-EECA2676AAF5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {81C61555-2101-449D-B8DA-EECA2676AAF5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {81C61555-2101-449D-B8DA-EECA2676AAF5}.Release|Any CPU.Build.0 = Release|Any CPU + {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense/SeedLicense.csproj b/seed/csharp-sdk/license/mit-license/src/SeedLicense/SeedLicense.csproj index 4616bc86443..7e636c9679a 100644 --- a/seed/csharp-sdk/license/mit-license/src/SeedLicense/SeedLicense.csproj +++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense/SeedLicense.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/license/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs index b21cca4f34a..591b1211e15 100644 --- a/seed/csharp-sdk/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/literal/src/SeedLiteral.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj b/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj index 49432778357..9acd0732fca 100644 --- a/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj +++ b/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/literal/src/SeedLiteral.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/literal/src/SeedLiteral.Test/Unit/MockServer/BaseMockServerTest.cs index d7e26bdb328..12429730b85 100644 --- a/seed/csharp-sdk/literal/src/SeedLiteral.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/literal/src/SeedLiteral.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/literal/src/SeedLiteral.sln b/seed/csharp-sdk/literal/src/SeedLiteral.sln new file mode 100644 index 00000000000..c1d52aca7c6 --- /dev/null +++ b/seed/csharp-sdk/literal/src/SeedLiteral.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral", "SeedLiteral\SeedLiteral.csproj", "{2528A7A9-5700-46E9-86B1-24D74B3C7A5B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral.Test", "SeedLiteral.Test\SeedLiteral.Test.csproj", "{42258FF3-0B72-460D-AF73-FEA00A542337}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Release|Any CPU.Build.0 = Release|Any CPU + {42258FF3-0B72-460D-AF73-FEA00A542337}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {42258FF3-0B72-460D-AF73-FEA00A542337}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42258FF3-0B72-460D-AF73-FEA00A542337}.Release|Any CPU.ActiveCfg = Release|Any CPU + {42258FF3-0B72-460D-AF73-FEA00A542337}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/literal/src/SeedLiteral/SeedLiteral.csproj b/seed/csharp-sdk/literal/src/SeedLiteral/SeedLiteral.csproj index 141d55cc2c8..e6c802c1c76 100644 --- a/seed/csharp-sdk/literal/src/SeedLiteral/SeedLiteral.csproj +++ b/seed/csharp-sdk/literal/src/SeedLiteral/SeedLiteral.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/literal/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs index 934dd30b644..387a195f32b 100644 --- a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj index d7864572ab5..0cd79747a61 100644 --- a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj +++ b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln new file mode 100644 index 00000000000..933ce8e8246 --- /dev/null +++ b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase", "SeedMixedCase\SeedMixedCase.csproj", "{811897E6-2A5D-425B-A16C-3EF7F48817DF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase.Test", "SeedMixedCase.Test\SeedMixedCase.Test.csproj", "{9D239C32-22B3-45EC-A120-2B37F9484516}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Release|Any CPU.Build.0 = Release|Any CPU + {9D239C32-22B3-45EC-A120-2B37F9484516}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9D239C32-22B3-45EC-A120-2B37F9484516}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9D239C32-22B3-45EC-A120-2B37F9484516}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9D239C32-22B3-45EC-A120-2B37F9484516}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj b/seed/csharp-sdk/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj index c3e5ee90fa9..84372cf8dba 100644 --- a/seed/csharp-sdk/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj +++ b/seed/csharp-sdk/mixed-case/src/SeedMixedCase/SeedMixedCase.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/mixed-case/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs index 7dc7cb70d4e..e866b8cf17c 100644 --- a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj index 1c0353bdf23..e2d88fb3556 100644 --- a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj +++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Unit/MockServer/BaseMockServerTest.cs index 6ac994265f8..b53508997cc 100644 --- a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln new file mode 100644 index 00000000000..974750c9625 --- /dev/null +++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory", "SeedMixedFileDirectory\SeedMixedFileDirectory.csproj", "{CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory.Test", "SeedMixedFileDirectory.Test\SeedMixedFileDirectory.Test.csproj", "{CF45FBD5-6398-4327-A98E-A8FD9C32B84E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Release|Any CPU.Build.0 = Release|Any CPU + {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj index a6156b7ee41..698257f0885 100644 --- a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj +++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory/SeedMixedFileDirectory.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/mixed-file-directory/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs index f3fcb923e6f..2bd23e45c15 100644 --- a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj index b32870f7d52..3c47b405159 100644 --- a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj +++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Unit/MockServer/BaseMockServerTest.cs index 43183933f78..ba19ac81d8f 100644 --- a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln new file mode 100644 index 00000000000..891a1fd6c2d --- /dev/null +++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs", "SeedMultiLineDocs\SeedMultiLineDocs.csproj", "{5C9BB187-186D-452D-A108-E59B3D29EC08}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs.Test", "SeedMultiLineDocs.Test\SeedMultiLineDocs.Test.csproj", "{FE79A030-4C02-4537-AE97-B12B7BE87D95}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5C9BB187-186D-452D-A108-E59B3D29EC08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5C9BB187-186D-452D-A108-E59B3D29EC08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5C9BB187-186D-452D-A108-E59B3D29EC08}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5C9BB187-186D-452D-A108-E59B3D29EC08}.Release|Any CPU.Build.0 = Release|Any CPU + {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj index 00a94e71b45..8a0ae16ffa3 100644 --- a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj +++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs/SeedMultiLineDocs.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/multi-line-docs/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs index c83427a4f3c..77b2aa5e0f7 100644 --- a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj index e1b1a76e305..f2a46ae0ca2 100644 --- a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj +++ b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln new file mode 100644 index 00000000000..fd772ebebb6 --- /dev/null +++ b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault", "SeedMultiUrlEnvironmentNoDefault\SeedMultiUrlEnvironmentNoDefault.csproj", "{7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault.Test", "SeedMultiUrlEnvironmentNoDefault.Test\SeedMultiUrlEnvironmentNoDefault.Test.csproj", "{4A86084D-0C4D-4893-A438-21FF98C19A06}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Release|Any CPU.Build.0 = Release|Any CPU + {4A86084D-0C4D-4893-A438-21FF98C19A06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A86084D-0C4D-4893-A438-21FF98C19A06}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A86084D-0C4D-4893-A438-21FF98C19A06}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A86084D-0C4D-4893-A438-21FF98C19A06}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj index 51eaaff5ec5..5d252eaba4d 100644 --- a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj +++ b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault/SeedMultiUrlEnvironmentNoDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/multi-url-environment-no-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/multi-url-environment/.github/workflows/ci.yml b/seed/csharp-sdk/multi-url-environment/.github/workflows/ci.yml deleted file mode 100644 index a7ac9d4ae02..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedMultiUrlEnvironment/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/multi-url-environment/.gitignore b/seed/csharp-sdk/multi-url-environment/.gitignore deleted file mode 100644 index 5e57f18055d..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from `dotnet new gitignore` - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/multi-url-environment/.mock/definition/api.yml b/seed/csharp-sdk/multi-url-environment/.mock/definition/api.yml deleted file mode 100644 index f362d991927..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.mock/definition/api.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: multi-url-environment -auth: bearer -environments: - Production: - urls: - ec2: https://ec2.aws.com - s3: https://s3.aws.com - Staging: - urls: - ec2: https://staging.ec2.aws.com - s3: https://staging.s3.aws.com -default-environment: Production -error-discrimination: - strategy: status-code diff --git a/seed/csharp-sdk/multi-url-environment/.mock/definition/ec2.yml b/seed/csharp-sdk/multi-url-environment/.mock/definition/ec2.yml deleted file mode 100644 index a3acc4216ff..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.mock/definition/ec2.yml +++ /dev/null @@ -1,16 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json - -service: - auth: true - url: ec2 - base-path: /ec2 - endpoints: - bootInstance: - auth: true - path: /boot - method: POST - request: - name: BootInstanceRequest - body: - properties: - size: string diff --git a/seed/csharp-sdk/multi-url-environment/.mock/definition/s3.yml b/seed/csharp-sdk/multi-url-environment/.mock/definition/s3.yml deleted file mode 100644 index ca741b783f5..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.mock/definition/s3.yml +++ /dev/null @@ -1,17 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json - -service: - auth: true - url: s3 - base-path: /s3 - endpoints: - getPresignedUrl: - auth: true - path: /presigned-url - method: POST - request: - name: GetPresignedUrlRequest - body: - properties: - s3Key: string - response: string diff --git a/seed/csharp-sdk/multi-url-environment/.mock/fern.config.json b/seed/csharp-sdk/multi-url-environment/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/multi-url-environment/.mock/generators.yml b/seed/csharp-sdk/multi-url-environment/.mock/generators.yml deleted file mode 100644 index 0967ef424bc..00000000000 --- a/seed/csharp-sdk/multi-url-environment/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs index 97b730a1d15..776e5e0e276 100644 --- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj index 5e0f767ca4e..7ae35da5d41 100644 --- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj +++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs index a0cf984508c..755b03129f2 100644 --- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln new file mode 100644 index 00000000000..28503a90850 --- /dev/null +++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment", "SeedMultiUrlEnvironment\SeedMultiUrlEnvironment.csproj", "{0633BFE2-1AEC-4896-AF73-25A52313636A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment.Test", "SeedMultiUrlEnvironment.Test\SeedMultiUrlEnvironment.Test.csproj", "{591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0633BFE2-1AEC-4896-AF73-25A52313636A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0633BFE2-1AEC-4896-AF73-25A52313636A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0633BFE2-1AEC-4896-AF73-25A52313636A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0633BFE2-1AEC-4896-AF73-25A52313636A}.Release|Any CPU.Build.0 = Release|Any CPU + {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj index 5a82626c6f2..ad2c91ed33b 100644 --- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj +++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/multi-url-environment/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj deleted file mode 100644 index f6e030fc4c1..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - -<<<<<<< HEAD - -======= - ->>>>>>> main - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/TestClient.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/TestClient.cs deleted file mode 100644 index 39eb470be21..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Utils/JsonDiffChecker.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Utils/JsonDiffChecker.cs deleted file mode 100644 index 0e02e8a79e2..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Utils/JsonDiffChecker.cs +++ /dev/null @@ -1,85 +0,0 @@ -using Newtonsoft.Json.Linq; -using NUnit.Framework; - -namespace SeedMultiUrlEnvironment.Test.Utils; - -public static class JsonDiffChecker -{ - public static void AssertJsonEquals(string jsonString1, string jsonString2) - { - var token1 = JToken.Parse(jsonString1); - var token2 = JToken.Parse(jsonString2); - var differences = GetJsonDifferences(token1, token2); - - Assert.That( - differences, - Is.Empty, - $"The JSON strings are not equal: {string.Join(", ", differences)}" - ); - } - - private static List GetJsonDifferences(JToken token1, JToken token2, string path = "") - { - var differences = new List(); - - if (token1.Type != token2.Type) - { - differences.Add($"{path} has different types: {token1.Type} vs {token2.Type}"); - return differences; - } - - if (token1 is JObject obj1 && token2 is JObject obj2) - { - foreach (var property in obj1.Properties()) - { - var newPath = string.IsNullOrEmpty(path) - ? property.Name - : $"{path}.{property.Name}"; - if (!obj2.TryGetValue(property.Name, out JToken token2Value)) - { - differences.Add($"{newPath} is missing in the second JSON"); - } - else - { - differences.AddRange(GetJsonDifferences(property.Value, token2Value, newPath)); - } - } - - foreach (var property in obj2.Properties()) - { - var newPath = string.IsNullOrEmpty(path) - ? property.Name - : $"{path}.{property.Name}"; - if (!obj1.TryGetValue(property.Name, out _)) - { - differences.Add($"{newPath} is missing in the first JSON"); - } - } - } - else if (token1 is JArray array1 && token2 is JArray array2) - { - for (var i = 0; i < Math.Max(array1.Count, array2.Count); i++) - { - var newPath = $"{path}[{i}]"; - if (i >= array1.Count) - { - differences.Add($"{newPath} is missing in the first JSON"); - } - else if (i >= array2.Count) - { - differences.Add($"{newPath} is missing in the second JSON"); - } - else - { - differences.AddRange(GetJsonDifferences(array1[i], array2[i], newPath)); - } - } - } - else if (!JToken.DeepEquals(token1, token2)) - { - differences.Add($"{path} has different values: {token1} vs {token2}"); - } - - return differences; - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/BaseWireTest.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/BaseWireTest.cs deleted file mode 100644 index 4929ac93fef..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/BaseWireTest.cs +++ /dev/null @@ -1,39 +0,0 @@ -using NUnit.Framework; -using SeedMultiUrlEnvironment; -using SeedMultiUrlEnvironment.Core; -using WireMock.Logging; -using WireMock.Server; -using WireMock.Settings; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Test.Wire; - -[SetUpFixture] -public class BaseWireTest -{ - protected static WireMockServer Server { get; set; } = null!; - - protected static SeedMultiUrlEnvironmentClient Client { get; set; } = null!; - - [OneTimeSetUp] - public void GlobalSetup() - { - // Start the WireMock server - Server = WireMockServer.Start( - new WireMockServerSettings { Logger = new WireMockConsoleLogger() } - ); - - // Initialize the Client - Client = new SeedMultiUrlEnvironmentClient( - "TOKEN", - new ClientOptions { BaseUrl = Server.Urls[0] } - ); - } - - [OneTimeTearDown] - public void GlobalTeardown() - { - Server.Stop(); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/BootInstanceTest.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/BootInstanceTest.cs deleted file mode 100644 index c455296cf37..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/BootInstanceTest.cs +++ /dev/null @@ -1,39 +0,0 @@ -using NUnit.Framework; -using SeedMultiUrlEnvironment; -using SeedMultiUrlEnvironment.Test.Wire; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Test; - -[TestFixture] -public class BootInstanceTest : BaseWireTest -{ - [Test] - public void WireTest() - { - const string requestJson = """ - { - "size": "string" - } - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/ec2/boot") - .UsingPost() - .WithBody(requestJson) - ) - .RespondWith(WireMock.ResponseBuilders.Response.Create().WithStatusCode(200)); - - Assert.DoesNotThrow( - () => - Client - .Ec2.BootInstanceAsync(new BootInstanceRequest { Size = "string" }) - .GetAwaiter() - .GetResult() - ); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/GetPresignedUrlTest.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/GetPresignedUrlTest.cs deleted file mode 100644 index fe20b5c2da5..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment.Test/Wire/GetPresignedUrlTest.cs +++ /dev/null @@ -1,47 +0,0 @@ -using NUnit.Framework; -using SeedMultiUrlEnvironment; -using SeedMultiUrlEnvironment.Core; -using SeedMultiUrlEnvironment.Test.Utils; -using SeedMultiUrlEnvironment.Test.Wire; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Test; - -[TestFixture] -public class GetPresignedUrlTest : BaseWireTest -{ - [Test] - public void WireTest() - { - const string requestJson = """ - { - "s3Key": "string" - } - """; - - const string mockResponse = """ - "string" - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/s3/presigned-url") - .UsingPost() - .WithBody(requestJson) - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = Client - .S3.GetPresignedUrlAsync(new GetPresignedUrlRequest { S3Key = "string" }) - .Result; - JsonDiffChecker.AssertJsonEquals(mockResponse, JsonUtils.Serialize(response)); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/ClientOptions.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/ClientOptions.cs deleted file mode 100644 index bd6ff530866..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/ClientOptions.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Core; - -public partial class ClientOptions -{ - /// - /// The Environment for the API. - /// - public SeedMultiUrlEnvironmentEnvironment Environment { get; init; } = - SeedMultiUrlEnvironmentEnvironment.PRODUCTION; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/CollectionItemSerializer.cs deleted file mode 100644 index d93c631e545..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedMultiUrlEnvironment.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/Constants.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/Constants.cs deleted file mode 100644 index 6278480d582..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/Constants.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedMultiUrlEnvironment.Core; - -public static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/DateTimeSerializer.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/DateTimeSerializer.cs deleted file mode 100644 index 7732653f811..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedMultiUrlEnvironment.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/HttpMethodExtensions.cs deleted file mode 100644 index 1edc24dc1f5..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedMultiUrlEnvironment.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/JsonConfiguration.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/JsonConfiguration.cs deleted file mode 100644 index d161a4a0f54..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedMultiUrlEnvironment.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/OneOfSerializer.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/OneOfSerializer.cs deleted file mode 100644 index 3a16adeecac..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedMultiUrlEnvironment.Core; - -internal class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/RawClient.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/RawClient.cs deleted file mode 100644 index 0aafdda56f6..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/RawClient.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System.Net.Http; -using System.Text; - -namespace SeedMultiUrlEnvironment.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient( - Dictionary headers, - Dictionary> headerSuppliers, - ClientOptions clientOptions -) -{ - /// - /// The http client used to make requests. - /// - public readonly ClientOptions Options = clientOptions; - - /// - /// Global headers to be sent with every request. - /// - private readonly Dictionary _headers = headers; - - public async Task MakeRequestAsync(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - // Add global headers to the request - foreach (var header in _headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add global headers to the request from supplier - foreach (var header in headerSuppliers) - { - httpRequest.Headers.Add(header.Key, header.Value.Invoke()); - } - // Add request headers to the request - foreach (var header in request.Headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add the request body to the request - if (request is JsonApiRequest jsonRequest) - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - } - else if (request is StreamApiRequest { Body: not null } streamRequest) - { - httpRequest.Content = new StreamContent(streamRequest.Body); - } - // Send the request - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var response = await httpClient.SendAsync(httpRequest); - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Dictionary Headers { get; init; } = new(); - - public RequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url.Substring(0, url.Length - 1); - return url; - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/RequestOptions.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/RequestOptions.cs deleted file mode 100644 index 6032a9de108..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/RequestOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Core; - -public partial class RequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentApiException.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentApiException.cs deleted file mode 100644 index b9d0d039922..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentApiException.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace SeedMultiUrlEnvironment.Core; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedMultiUrlEnvironmentApiException(string message, int statusCode, object body) - : SeedMultiUrlEnvironmentException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode => statusCode; - - /// - /// The body of the response that triggered the exception. - /// -<<<<<<< HEAD - public object Body => body; - - public override string ToString() - { - return $"SeedMultiUrlEnvironmentApiException {{ message: {Message}, statusCode: {StatusCode}, body: {Body} }}"; - } -======= - public object Body { get; } = body; ->>>>>>> main -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentEnvironment.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentEnvironment.cs deleted file mode 100644 index aaa41c5103b..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentEnvironment.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace SeedMultiUrlEnvironment.Core; - -public class SeedMultiUrlEnvironmentEnvironment -{ - public static SeedMultiUrlEnvironmentEnvironment PRODUCTION = - new SeedMultiUrlEnvironmentEnvironment - { - Ec2 = "https://ec2.aws.com", - S3 = "https://s3.aws.com" - }; - - public static SeedMultiUrlEnvironmentEnvironment STAGING = - new SeedMultiUrlEnvironmentEnvironment - { - Ec2 = "https://staging.ec2.aws.com", - S3 = "https://staging.s3.aws.com" - }; - - /// - /// URL for the ec2 service - /// - public string Ec2 { get; init; } - - /// - /// URL for the s3 service - /// - public string S3 { get; init; } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentException.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentException.cs deleted file mode 100644 index 102389e885d..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/SeedMultiUrlEnvironmentException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedMultiUrlEnvironment.Core; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedMultiUrlEnvironmentException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/StringEnumSerializer.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/StringEnumSerializer.cs deleted file mode 100644 index 24777969dd0..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedMultiUrlEnvironment.Core; - -internal class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Ec2/Ec2Client.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Ec2/Ec2Client.cs deleted file mode 100644 index 38f6131d195..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Ec2/Ec2Client.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System.Net.Http; -using System.Threading.Tasks; -using SeedMultiUrlEnvironment.Core; - -#nullable enable - -namespace SeedMultiUrlEnvironment; - -public partial class Ec2Client -{ - private RawClient _client; - - internal Ec2Client(RawClient client) - { - _client = client; - } - - public async Task BootInstanceAsync(BootInstanceRequest request, RequestOptions? options = null) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.Environment.Ec2, - Method = HttpMethod.Post, - Path = "/ec2/boot", - Body = request, - Options = options - } - ); - if (response.StatusCode is >= 200 and < 400) - { - return; - } - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - throw new SeedMultiUrlEnvironmentApiException( - $"Error with status code {response.StatusCode}", - response.StatusCode, - JsonUtils.Deserialize(responseBody) - ); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Ec2/Requests/BootInstanceRequest.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Ec2/Requests/BootInstanceRequest.cs deleted file mode 100644 index aaf95483f71..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/Ec2/Requests/BootInstanceRequest.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedMultiUrlEnvironment; - -public record BootInstanceRequest -{ - [JsonPropertyName("size")] - public required string Size { get; set; } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/S3/Requests/GetPresignedUrlRequest.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/S3/Requests/GetPresignedUrlRequest.cs deleted file mode 100644 index 5eb5c200793..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/S3/Requests/GetPresignedUrlRequest.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Text.Json.Serialization; - -#nullable enable - -namespace SeedMultiUrlEnvironment; - -public record GetPresignedUrlRequest -{ - [JsonPropertyName("s3Key")] - public required string S3Key { get; set; } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/S3/S3Client.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/S3/S3Client.cs deleted file mode 100644 index 30df0beb7d7..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/S3/S3Client.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Net.Http; -using System.Text.Json; -using SeedMultiUrlEnvironment.Core; - -#nullable enable - -namespace SeedMultiUrlEnvironment; - -public partial class S3Client -{ - private RawClient _client; - - internal S3Client(RawClient client) - { - _client = client; - } - - public async Task GetPresignedUrlAsync( - GetPresignedUrlRequest request, - RequestOptions? options = null - ) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.Environment.S3, - Method = HttpMethod.Post, - Path = "/s3/presigned-url", - Body = request, - Options = options - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - try - { - return JsonUtils.Deserialize(responseBody)!; - } - catch (JsonException e) - { - throw new SeedMultiUrlEnvironmentException("Failed to deserialize response", e); - } - } - - throw new SeedMultiUrlEnvironmentApiException( - $"Error with status code {response.StatusCode}", - response.StatusCode, - JsonUtils.Deserialize(responseBody) - ); - } -} diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj deleted file mode 100644 index 87364a98d87..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironment.csproj +++ /dev/null @@ -1,45 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/multi-url-environment/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - diff --git a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironmentClient.cs b/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironmentClient.cs deleted file mode 100644 index 555ecf4d025..00000000000 --- a/seed/csharp-sdk/multi-url-environment/src/SeedMultiUrlEnvironment/SeedMultiUrlEnvironmentClient.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using SeedMultiUrlEnvironment.Core; - -#nullable enable - -namespace SeedMultiUrlEnvironment; - -public partial class SeedMultiUrlEnvironmentClient -{ - private RawClient _client; - - public SeedMultiUrlEnvironmentClient(string? token = null, ClientOptions? clientOptions = null) - { - _client = new RawClient( - new Dictionary() - { - { "Authorization", $"Bearer {token}" }, - { "X-Fern-Language", "C#" }, - }, - new Dictionary>() { }, - clientOptions ?? new ClientOptions() - ); - Ec2 = new Ec2Client(_client); - S3 = new S3Client(_client); - } - - public Ec2Client Ec2 { get; init; } - - public S3Client S3 { get; init; } -} diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs index 910ac3d09d2..5639b53bf2e 100644 --- a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj index f062ca0f8c3..9c5b00fd83a 100644 --- a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj +++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs index 316dc860495..5bc6a6ef893 100644 --- a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln new file mode 100644 index 00000000000..2002e17f737 --- /dev/null +++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment", "SeedNoEnvironment\SeedNoEnvironment.csproj", "{90DF37E5-BE57-4169-BE1B-3773CA399B8D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment.Test", "SeedNoEnvironment.Test\SeedNoEnvironment.Test.csproj", "{59A327AB-4F73-495B-8807-D89BD4CB79C2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Release|Any CPU.Build.0 = Release|Any CPU + {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj index c0f7234b23d..219f885a821 100644 --- a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj +++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment/SeedNoEnvironment.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/no-environment/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs index c1d70b38a18..6b0e97c3b29 100644 --- a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj index 303d4fa579f..0b8603958fd 100644 --- a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj +++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Unit/MockServer/BaseMockServerTest.cs index 14e5f0a0f38..0210fce1e60 100644 --- a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln new file mode 100644 index 00000000000..8580e5bb462 --- /dev/null +++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault", "SeedOauthClientCredentialsDefault\SeedOauthClientCredentialsDefault.csproj", "{E7733813-1337-4B7D-AD69-E4F8A4A11ED1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault.Test", "SeedOauthClientCredentialsDefault.Test\SeedOauthClientCredentialsDefault.Test.csproj", "{FE29965B-0894-4D26-BE52-AE68B0C6BB82}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Release|Any CPU.Build.0 = Release|Any CPU + {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj index 5aedc8325d3..29092628378 100644 --- a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj +++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault/SeedOauthClientCredentialsDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs index 10745c93e49..fadd40343c1 100644 --- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj index 337ff7f37fe..8b98b4fafd6 100644 --- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj +++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs index 63d4d363341..1dcea4142f6 100644 --- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/Unit/MockServer/BaseMockServerTest.cs @@ -39,5 +39,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln new file mode 100644 index 00000000000..575e9ae7a02 --- /dev/null +++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables", "SeedOauthClientCredentialsEnvironmentVariables\SeedOauthClientCredentialsEnvironmentVariables.csproj", "{1934F98D-B866-413E-A5B9-8CC082CA671C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables.Test", "SeedOauthClientCredentialsEnvironmentVariables.Test\SeedOauthClientCredentialsEnvironmentVariables.Test.csproj", "{42C51783-53D3-4E0B-8A20-4BCA1331C5A4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1934F98D-B866-413E-A5B9-8CC082CA671C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1934F98D-B866-413E-A5B9-8CC082CA671C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1934F98D-B866-413E-A5B9-8CC082CA671C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1934F98D-B866-413E-A5B9-8CC082CA671C}.Release|Any CPU.Build.0 = Release|Any CPU + {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj index 4591edfdd17..99933463ed0 100644 --- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj +++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables/SeedOauthClientCredentialsEnvironmentVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials-environment-variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs index c00bdefe55d..6f72130b8d7 100644 --- a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj index d1a720a2e07..fd48c7fec2f 100644 --- a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj +++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs index 37fb4d7a1d1..9e6f8a27c75 100644 --- a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln new file mode 100644 index 00000000000..ba809b53c49 --- /dev/null +++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Release|Any CPU.Build.0 = Release|Any CPU + {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj index c554e2d176e..f563a99a064 100644 --- a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj +++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials-nested-root/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs index c00bdefe55d..6f72130b8d7 100644 --- a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj index d1a720a2e07..fd48c7fec2f 100644 --- a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj +++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs index 37fb4d7a1d1..9e6f8a27c75 100644 --- a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln new file mode 100644 index 00000000000..cd4e2153271 --- /dev/null +++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{340159D1-A1B6-4A2C-84B9-9A0762466D89}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{62932702-6B2E-44C2-808F-53577C5A8DC1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Debug|Any CPU.Build.0 = Debug|Any CPU + {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Release|Any CPU.ActiveCfg = Release|Any CPU + {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Release|Any CPU.Build.0 = Release|Any CPU + {62932702-6B2E-44C2-808F-53577C5A8DC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {62932702-6B2E-44C2-808F-53577C5A8DC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {62932702-6B2E-44C2-808F-53577C5A8DC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {62932702-6B2E-44C2-808F-53577C5A8DC1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj index b53e47a4b60..e76fccfd20c 100644 --- a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj +++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials/SeedOauthClientCredentials.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/oauth-client-credentials/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/object/src/SeedObject.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/object/src/SeedObject.Test/Core/EnumSerializerTests.cs index c1c31795ba1..8abc0743d8c 100644 --- a/seed/csharp-sdk/object/src/SeedObject.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/object/src/SeedObject.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj b/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj index e3e7176141c..be19774f42e 100644 --- a/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj +++ b/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/object/src/SeedObject.sln b/seed/csharp-sdk/object/src/SeedObject.sln new file mode 100644 index 00000000000..7956dd4720f --- /dev/null +++ b/seed/csharp-sdk/object/src/SeedObject.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject", "SeedObject\SeedObject.csproj", "{9670A077-7FA0-4F04-8C32-C31BFD702F5E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject.Test", "SeedObject.Test\SeedObject.Test.csproj", "{E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Release|Any CPU.Build.0 = Release|Any CPU + {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/object/src/SeedObject/SeedObject.csproj b/seed/csharp-sdk/object/src/SeedObject/SeedObject.csproj index 8b4e5f67380..7acf4369921 100644 --- a/seed/csharp-sdk/object/src/SeedObject/SeedObject.csproj +++ b/seed/csharp-sdk/object/src/SeedObject/SeedObject.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/object/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs index d3067ec2908..9f7eee6cff1 100644 --- a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj index 451fdd3df70..db71b5887ed 100644 --- a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj +++ b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln new file mode 100644 index 00000000000..977ed99082e --- /dev/null +++ b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{1E91E151-023C-4D35-A7BE-29651955C8E5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{7D0827B7-BD3B-4976-B71C-190B434EEC4E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1E91E151-023C-4D35-A7BE-29651955C8E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1E91E151-023C-4D35-A7BE-29651955C8E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1E91E151-023C-4D35-A7BE-29651955C8E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1E91E151-023C-4D35-A7BE-29651955C8E5}.Release|Any CPU.Build.0 = Release|Any CPU + {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj index 02e37113366..2bf274f3cda 100644 --- a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj +++ b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/objects-with-imports/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/optional/.github/workflows/ci.yml b/seed/csharp-sdk/optional/.github/workflows/ci.yml deleted file mode 100644 index 9ea29786a3d..00000000000 --- a/seed/csharp-sdk/optional/.github/workflows/ci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: ci - -on: [push] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Build Release - run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true - - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - uses: actions/checkout@master - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Install tools - run: | - dotnet tool restore - - - name: Run Tests - run: | - dotnet test src - - - publish: - needs: [compile] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.x - - - name: Publish - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }} - run: | - dotnet pack src -c Release - dotnet nuget push src/SeedObjectsWithImports/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org" diff --git a/seed/csharp-sdk/optional/.gitignore b/seed/csharp-sdk/optional/.gitignore deleted file mode 100644 index 5e57f18055d..00000000000 --- a/seed/csharp-sdk/optional/.gitignore +++ /dev/null @@ -1,484 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from `dotnet new gitignore` - -# dotenv files -.env - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET -project.lock.json -project.fragment.lock.json -artifacts/ - -# Tye -.tye/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml -.idea - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Vim temporary swap files -*.swp diff --git a/seed/csharp-sdk/optional/.mock/definition/api.yml b/seed/csharp-sdk/optional/.mock/definition/api.yml deleted file mode 100644 index de1eb78549d..00000000000 --- a/seed/csharp-sdk/optional/.mock/definition/api.yml +++ /dev/null @@ -1 +0,0 @@ -name: objects-with-imports diff --git a/seed/csharp-sdk/optional/.mock/definition/optional.yml b/seed/csharp-sdk/optional/.mock/definition/optional.yml deleted file mode 100644 index 111f55357bb..00000000000 --- a/seed/csharp-sdk/optional/.mock/definition/optional.yml +++ /dev/null @@ -1,11 +0,0 @@ -service: - auth: false - base-path: "" - endpoints: - sendOptionalBody: - method: POST - path: /send-optional-body - request: optional> - response: - type: string - docs: Id of the created resource diff --git a/seed/csharp-sdk/optional/.mock/fern.config.json b/seed/csharp-sdk/optional/.mock/fern.config.json deleted file mode 100644 index 4c8e54ac313..00000000000 --- a/seed/csharp-sdk/optional/.mock/fern.config.json +++ /dev/null @@ -1 +0,0 @@ -{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/csharp-sdk/optional/.mock/generators.yml b/seed/csharp-sdk/optional/.mock/generators.yml deleted file mode 100644 index 0967ef424bc..00000000000 --- a/seed/csharp-sdk/optional/.mock/generators.yml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs index d3067ec2908..9f7eee6cff1 100644 --- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj index 451fdd3df70..db71b5887ed 100644 --- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj +++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Unit/MockServer/BaseMockServerTest.cs index 1c2a4f2309a..9e0c8fdec81 100644 --- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln new file mode 100644 index 00000000000..70fb4514943 --- /dev/null +++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{CB52C25F-1B40-4D1C-AAC3-04D3000E0779}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Release|Any CPU.Build.0 = Release|Any CPU + {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj index d47a80b4c0f..891f296d8c4 100644 --- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj +++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/optional/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj deleted file mode 100644 index 8b1589d57b6..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - -<<<<<<< HEAD - -======= - ->>>>>>> main - - - - - - - \ No newline at end of file diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/TestClient.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/TestClient.cs deleted file mode 100644 index eefba6c1723..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/TestClient.cs +++ /dev/null @@ -1,8 +0,0 @@ -using NUnit.Framework; - -#nullable enable - -namespace SeedObjectsWithImports.Test; - -[TestFixture] -public class TestClient { } diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Utils/JsonDiffChecker.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Utils/JsonDiffChecker.cs deleted file mode 100644 index f1e8f4721af..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Utils/JsonDiffChecker.cs +++ /dev/null @@ -1,85 +0,0 @@ -using Newtonsoft.Json.Linq; -using NUnit.Framework; - -namespace SeedObjectsWithImports.Test.Utils; - -public static class JsonDiffChecker -{ - public static void AssertJsonEquals(string jsonString1, string jsonString2) - { - var token1 = JToken.Parse(jsonString1); - var token2 = JToken.Parse(jsonString2); - var differences = GetJsonDifferences(token1, token2); - - Assert.That( - differences, - Is.Empty, - $"The JSON strings are not equal: {string.Join(", ", differences)}" - ); - } - - private static List GetJsonDifferences(JToken token1, JToken token2, string path = "") - { - var differences = new List(); - - if (token1.Type != token2.Type) - { - differences.Add($"{path} has different types: {token1.Type} vs {token2.Type}"); - return differences; - } - - if (token1 is JObject obj1 && token2 is JObject obj2) - { - foreach (var property in obj1.Properties()) - { - var newPath = string.IsNullOrEmpty(path) - ? property.Name - : $"{path}.{property.Name}"; - if (!obj2.TryGetValue(property.Name, out JToken token2Value)) - { - differences.Add($"{newPath} is missing in the second JSON"); - } - else - { - differences.AddRange(GetJsonDifferences(property.Value, token2Value, newPath)); - } - } - - foreach (var property in obj2.Properties()) - { - var newPath = string.IsNullOrEmpty(path) - ? property.Name - : $"{path}.{property.Name}"; - if (!obj1.TryGetValue(property.Name, out _)) - { - differences.Add($"{newPath} is missing in the first JSON"); - } - } - } - else if (token1 is JArray array1 && token2 is JArray array2) - { - for (var i = 0; i < Math.Max(array1.Count, array2.Count); i++) - { - var newPath = $"{path}[{i}]"; - if (i >= array1.Count) - { - differences.Add($"{newPath} is missing in the first JSON"); - } - else if (i >= array2.Count) - { - differences.Add($"{newPath} is missing in the second JSON"); - } - else - { - differences.AddRange(GetJsonDifferences(array1[i], array2[i], newPath)); - } - } - } - else if (!JToken.DeepEquals(token1, token2)) - { - differences.Add($"{path} has different values: {token1} vs {token2}"); - } - - return differences; - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Wire/BaseWireTest.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Wire/BaseWireTest.cs deleted file mode 100644 index 6396a846b1e..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Wire/BaseWireTest.cs +++ /dev/null @@ -1,36 +0,0 @@ -using NUnit.Framework; -using SeedObjectsWithImports; -using SeedObjectsWithImports.Core; -using WireMock.Logging; -using WireMock.Server; -using WireMock.Settings; - -#nullable enable - -namespace SeedObjectsWithImports.Test.Wire; - -[SetUpFixture] -public class BaseWireTest -{ - protected static WireMockServer Server { get; set; } = null!; - - protected static SeedObjectsWithImportsClient Client { get; set; } = null!; - - [OneTimeSetUp] - public void GlobalSetup() - { - // Start the WireMock server - Server = WireMockServer.Start( - new WireMockServerSettings { Logger = new WireMockConsoleLogger() } - ); - - // Initialize the Client - Client = new SeedObjectsWithImportsClient(new ClientOptions { BaseUrl = Server.Urls[0] }); - } - - [OneTimeTearDown] - public void GlobalTeardown() - { - Server.Stop(); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Wire/SendOptionalBodyTest.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Wire/SendOptionalBodyTest.cs deleted file mode 100644 index 99bacce5ac7..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports.Test/Wire/SendOptionalBodyTest.cs +++ /dev/null @@ -1,56 +0,0 @@ -using NUnit.Framework; -using SeedObjectsWithImports.Core; -using SeedObjectsWithImports.Test.Utils; -using SeedObjectsWithImports.Test.Wire; - -#nullable enable - -namespace SeedObjectsWithImports.Test; - -[TestFixture] -public class SendOptionalBodyTest : BaseWireTest -{ - [Test] - public void WireTest() - { - const string requestJson = """ - { - "string": { - "key": "value" - } - } - """; - - const string mockResponse = """ - "string" - """; - - Server - .Given( - WireMock - .RequestBuilders.Request.Create() - .WithPath("/send-optional-body") - .UsingPost() - .WithBody(requestJson) - ) - .RespondWith( - WireMock - .ResponseBuilders.Response.Create() - .WithStatusCode(200) - .WithBody(mockResponse) - ); - - var response = Client - .Optional.SendOptionalBodyAsync( - new Dictionary() - { - { - "string", - new Dictionary() { { "key", "value" }, } - }, - } - ) - .Result; - JsonDiffChecker.AssertJsonEquals(mockResponse, JsonUtils.Serialize(response)); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/CollectionItemSerializer.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/CollectionItemSerializer.cs deleted file mode 100644 index 7bc533b3d27..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/CollectionItemSerializer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedObjectsWithImports.Core; - -/// -/// Json collection converter. -/// -/// Type of item to convert. -/// Converter to use for individual items. -internal class CollectionItemSerializer - : JsonConverter> - where TConverterType : JsonConverter -{ - /// - /// Reads a json string and deserializes it into an object. - /// - /// Json reader. - /// Type to convert. - /// Serializer options. - /// Created object. - public override IEnumerable? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType == JsonTokenType.Null) - { - return default; - } - - var jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - var returnValue = new List(); - - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType != JsonTokenType.StartArray) - { - var item = (TDatatype)( - JsonSerializer.Deserialize(ref reader, typeof(TDatatype), jsonSerializerOptions) - ?? throw new Exception( - $"Failed to deserialize collection item of type {typeof(TDatatype)}" - ) - ); - returnValue.Add(item); - } - - reader.Read(); - } - - return returnValue; - } - - /// - /// Writes a json string. - /// - /// Json writer. - /// Value to write. - /// Serializer options. - public override void Write( - Utf8JsonWriter writer, - IEnumerable? value, - JsonSerializerOptions options - ) - { - if (value == null) - { - writer.WriteNullValue(); - return; - } - - JsonSerializerOptions jsonSerializerOptions = new JsonSerializerOptions(options); - jsonSerializerOptions.Converters.Clear(); - jsonSerializerOptions.Converters.Add(Activator.CreateInstance()); - - writer.WriteStartArray(); - - foreach (var data in value) - { - JsonSerializer.Serialize(writer, data, jsonSerializerOptions); - } - - writer.WriteEndArray(); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Constants.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Constants.cs deleted file mode 100644 index e54c23d8ed2..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Constants.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SeedObjectsWithImports.Core; - -internal static class Constants -{ - public const string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffK"; -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/DateTimeSerializer.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/DateTimeSerializer.cs deleted file mode 100644 index 7a7f7f11be2..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/DateTimeSerializer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Globalization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedObjectsWithImports.Core; - -internal class DateTimeSerializer : JsonConverter -{ - public override DateTime Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - return DateTime.Parse(reader.GetString()!, null, DateTimeStyles.RoundtripKind); - } - - public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) - { - writer.WriteStringValue(value.ToString(Constants.DateTimeFormat)); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/HttpMethodExtensions.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/HttpMethodExtensions.cs deleted file mode 100644 index 546aa94b1ce..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/HttpMethodExtensions.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Net.Http; - -namespace SeedObjectsWithImports.Core; - -internal static class HttpMethodExtensions -{ - public static readonly HttpMethod Patch = new("PATCH"); -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/JsonConfiguration.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/JsonConfiguration.cs deleted file mode 100644 index 45ce3b62a38..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/JsonConfiguration.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedObjectsWithImports.Core; - -internal static class JsonOptions -{ - public static readonly JsonSerializerOptions JsonSerializerOptions; - - static JsonOptions() - { - JsonSerializerOptions = new JsonSerializerOptions - { - Converters = { new DateTimeSerializer() }, - WriteIndented = true, - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull - }; - } -} - -internal static class JsonUtils -{ - public static string Serialize(T obj) - { - return JsonSerializer.Serialize(obj, JsonOptions.JsonSerializerOptions); - } - - public static T Deserialize(string json) - { - return JsonSerializer.Deserialize(json, JsonOptions.JsonSerializerOptions)!; - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/OneOfSerializer.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/OneOfSerializer.cs deleted file mode 100644 index fd52255d85a..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/OneOfSerializer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Reflection; -using System.Text.Json; -using System.Text.Json.Serialization; -using OneOf; - -namespace SeedObjectsWithImports.Core; - -internal class OneOfSerializer : JsonConverter - where TOneOf : IOneOf -{ - public override TOneOf? Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - if (reader.TokenType is JsonTokenType.Null) - return default; - - foreach (var (type, cast) in s_types) - { - try - { - var readerCopy = reader; - var result = JsonSerializer.Deserialize(ref readerCopy, type, options); - reader.Skip(); - return (TOneOf)cast.Invoke(null, [result])!; - } - catch (JsonException) { } - } - - throw new JsonException( - $"Cannot deserialize into one of the supported types for {typeToConvert}" - ); - } - - private static readonly (System.Type type, MethodInfo cast)[] s_types = GetOneOfTypes(); - - public override void Write(Utf8JsonWriter writer, TOneOf value, JsonSerializerOptions options) - { - JsonSerializer.Serialize(writer, value.Value, options); - } - - private static (System.Type type, MethodInfo cast)[] GetOneOfTypes() - { - var casts = typeof(TOneOf) - .GetRuntimeMethods() - .Where(m => m.IsSpecialName && m.Name == "op_Implicit") - .ToArray(); - var type = typeof(TOneOf); - while (type != null) - { - if ( - type.IsGenericType - && (type.Name.StartsWith("OneOf`") || type.Name.StartsWith("OneOfBase`")) - ) - { - return type.GetGenericArguments() - .Select(t => (t, casts.First(c => c.GetParameters()[0].ParameterType == t))) - .ToArray(); - } - - type = type.BaseType; - } - throw new InvalidOperationException($"{typeof(TOneOf)} isn't OneOf or OneOfBase"); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/ClientOptions.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/ClientOptions.cs deleted file mode 100644 index 7e71faa7bfd..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/ClientOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedObjectsWithImports; - -public partial class ClientOptions -{ - /// - /// The Base URL for the API. - /// - public string BaseUrl { get; init; } = ""; - - /// - /// The http client used to make requests. - /// - public HttpClient HttpClient { get; init; } = new HttpClient(); - - /// - /// The http client used to make requests. - /// - public int MaxRetries { get; init; } = 2; - - /// - /// The timeout for the request. - /// - public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(30); -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/RequestOptions.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/RequestOptions.cs deleted file mode 100644 index fc9db4a4a38..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/RequestOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Net.Http; - -#nullable enable - -namespace SeedObjectsWithImports; - -public partial class RequestOptions -{ - /// - /// The Base URL for the API. - /// - public string? BaseUrl { get; init; } - - /// - /// The http client used to make requests. - /// - public HttpClient? HttpClient { get; init; } - - /// - /// The http client used to make requests. - /// - public int? MaxRetries { get; init; } - - /// - /// The timeout for the request. - /// - public TimeSpan? Timeout { get; init; } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/SeedObjectsWithImportsApiException.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/SeedObjectsWithImportsApiException.cs deleted file mode 100644 index 15a4c15d328..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/SeedObjectsWithImportsApiException.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace SeedObjectsWithImports; - -/// -/// This exception type will be thrown for any non-2XX API responses. -/// -public class SeedObjectsWithImportsApiException(string message, int statusCode, object body) - : SeedObjectsWithImportsException(message) -{ - /// - /// The error code of the response that triggered the exception. - /// - public int StatusCode { get; } = statusCode; - - /// - /// The body of the response that triggered the exception. - /// - public object Body { get; } = body; -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/SeedObjectsWithImportsException.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/SeedObjectsWithImportsException.cs deleted file mode 100644 index 5b28f4e2aa2..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/Public/SeedObjectsWithImportsException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -#nullable enable - -namespace SeedObjectsWithImports; - -/// -/// Base exception class for all exceptions thrown by the SDK. -/// -public class SeedObjectsWithImportsException(string message, Exception? innerException = null) - : Exception(message, innerException) { } diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/RawClient.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/RawClient.cs deleted file mode 100644 index 72ef7721bb6..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/RawClient.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System.Net.Http; -using System.Text; - -namespace SeedObjectsWithImports.Core; - -#nullable enable - -/// -/// Utility class for making raw HTTP requests to the API. -/// -internal class RawClient( - Dictionary headers, - Dictionary> headerSuppliers, - ClientOptions clientOptions -) -{ - /// - /// The http client used to make requests. - /// - public readonly ClientOptions Options = clientOptions; - - /// - /// Global headers to be sent with every request. - /// - private readonly Dictionary _headers = headers; - - public async Task MakeRequestAsync(BaseApiRequest request) - { - var url = BuildUrl(request); - var httpRequest = new HttpRequestMessage(request.Method, url); - if (request.ContentType != null) - { - request.Headers.Add("Content-Type", request.ContentType); - } - // Add global headers to the request - foreach (var header in _headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add global headers to the request from supplier - foreach (var header in headerSuppliers) - { - httpRequest.Headers.Add(header.Key, header.Value.Invoke()); - } - // Add request headers to the request - foreach (var header in request.Headers) - { - httpRequest.Headers.Add(header.Key, header.Value); - } - // Add the request body to the request - if (request is JsonApiRequest jsonRequest) - { - if (jsonRequest.Body != null) - { - httpRequest.Content = new StringContent( - JsonUtils.Serialize(jsonRequest.Body), - Encoding.UTF8, - "application/json" - ); - } - } - else if (request is StreamApiRequest { Body: not null } streamRequest) - { - httpRequest.Content = new StreamContent(streamRequest.Body); - } - // Send the request - var httpClient = request.Options?.HttpClient ?? Options.HttpClient; - var response = await httpClient.SendAsync(httpRequest); - return new ApiResponse { StatusCode = (int)response.StatusCode, Raw = response }; - } - - public record BaseApiRequest - { - public required string BaseUrl { get; init; } - - public required HttpMethod Method { get; init; } - - public required string Path { get; init; } - - public string? ContentType { get; init; } - - public Dictionary Query { get; init; } = new(); - - public Dictionary Headers { get; init; } = new(); - - public RequestOptions? Options { get; init; } - } - - /// - /// The request object to be sent for streaming uploads. - /// - public record StreamApiRequest : BaseApiRequest - { - public Stream? Body { get; init; } - } - - /// - /// The request object to be sent for JSON APIs. - /// - public record JsonApiRequest : BaseApiRequest - { - public object? Body { get; init; } - } - - /// - /// The response object returned from the API. - /// - public record ApiResponse - { - public required int StatusCode { get; init; } - - public required HttpResponseMessage Raw { get; init; } - } - - private string BuildUrl(BaseApiRequest request) - { - var baseUrl = request.Options?.BaseUrl ?? request.BaseUrl; - var trimmedBaseUrl = baseUrl.TrimEnd('/'); - var trimmedBasePath = request.Path.TrimStart('/'); - var url = $"{trimmedBaseUrl}/{trimmedBasePath}"; - if (request.Query.Count <= 0) - return url; - url += "?"; - url = request.Query.Aggregate( - url, - (current, queryItem) => - { - if (queryItem.Value is System.Collections.IEnumerable collection and not string) - { - var items = collection - .Cast() - .Select(value => $"{queryItem.Key}={value}") - .ToList(); - if (items.Any()) - { - current += string.Join("&", items) + "&"; - } - } - else - { - current += $"{queryItem.Key}={queryItem.Value}&"; - } - return current; - } - ); - url = url.Substring(0, url.Length - 1); - return url; - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/StringEnumSerializer.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/StringEnumSerializer.cs deleted file mode 100644 index c07f1255430..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Core/StringEnumSerializer.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Runtime.Serialization; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace SeedObjectsWithImports.Core; - -internal class StringEnumSerializer : JsonConverter - where TEnum : struct, System.Enum -{ - private readonly Dictionary _enumToString = new(); - private readonly Dictionary _stringToEnum = new(); - - public StringEnumSerializer() - { - var type = typeof(TEnum); - var values = Enum.GetValues(type); - - foreach (var value in values) - { - var enumValue = (TEnum)value; - var enumMember = type.GetMember(enumValue.ToString())[0]; - var attr = enumMember - .GetCustomAttributes(typeof(EnumMemberAttribute), false) - .Cast() - .FirstOrDefault(); - - var stringValue = - attr?.Value - ?? value.ToString() - ?? throw new Exception("Unexpected null enum toString value"); - - _enumToString.Add(enumValue, stringValue); - _stringToEnum.Add(stringValue, enumValue); - } - } - - public override TEnum Read( - ref Utf8JsonReader reader, - System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new Exception("The JSON value could not be read as a string."); - return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default; - } - - public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options) - { - writer.WriteStringValue(_enumToString[value]); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Optional/OptionalClient.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Optional/OptionalClient.cs deleted file mode 100644 index 3367a019f73..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/Optional/OptionalClient.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.Net.Http; -using System.Text.Json; -using SeedObjectsWithImports.Core; - -#nullable enable - -namespace SeedObjectsWithImports; - -public partial class OptionalClient -{ - private RawClient _client; - - internal OptionalClient(RawClient client) - { - _client = client; - } - - public async Task SendOptionalBodyAsync(object? request, RequestOptions? options = null) - { - var response = await _client.MakeRequestAsync( - new RawClient.JsonApiRequest - { - BaseUrl = _client.Options.BaseUrl, - Method = HttpMethod.Post, - Path = "send-optional-body", - Body = request, - Options = options - } - ); - var responseBody = await response.Raw.Content.ReadAsStringAsync(); - if (response.StatusCode is >= 200 and < 400) - { - try - { - return JsonUtils.Deserialize(responseBody)!; - } - catch (JsonException e) - { - throw new SeedObjectsWithImportsException("Failed to deserialize response", e); - } - } - - throw new SeedObjectsWithImportsApiException( - $"Error with status code {response.StatusCode}", - response.StatusCode, - JsonUtils.Deserialize(responseBody) - ); - } -} diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj deleted file mode 100644 index 86f229ccb9b..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/SeedObjectsWithImports.csproj +++ /dev/null @@ -1,45 +0,0 @@ - - - - - net462;net8.0;net7.0;net6.0;netstandard2.0 - enable - false - 12 - enable - 0.0.1 - README.md - https://github.com/optional/fern - - - - true - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - diff --git a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/SeedObjectsWithImportsClient.cs b/seed/csharp-sdk/optional/src/SeedObjectsWithImports/SeedObjectsWithImportsClient.cs deleted file mode 100644 index b6750ccc2b0..00000000000 --- a/seed/csharp-sdk/optional/src/SeedObjectsWithImports/SeedObjectsWithImportsClient.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using SeedObjectsWithImports.Core; - -#nullable enable - -namespace SeedObjectsWithImports; - -public partial class SeedObjectsWithImportsClient -{ - private RawClient _client; - - public SeedObjectsWithImportsClient(ClientOptions? clientOptions = null) - { - _client = new RawClient( - new Dictionary() { { "X-Fern-Language", "C#" }, }, - new Dictionary>() { }, - clientOptions ?? new ClientOptions() - ); - Optional = new OptionalClient(_client); - } - - public OptionalClient Optional { get; init; } -} diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs index 9ba79d17324..46aba9a0a50 100644 --- a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj index f3b0434d07c..81c7d862247 100644 --- a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj +++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Unit/MockServer/BaseMockServerTest.cs index 1ff6a4c5f73..2d8cba5eeb2 100644 --- a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln b/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln new file mode 100644 index 00000000000..2f3dceb6359 --- /dev/null +++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml", "SeedPackageYml\SeedPackageYml.csproj", "{839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml.Test", "SeedPackageYml.Test\SeedPackageYml.Test.csproj", "{56897B81-A2F2-41FD-9474-129AF4D372DC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Release|Any CPU.Build.0 = Release|Any CPU + {56897B81-A2F2-41FD-9474-129AF4D372DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56897B81-A2F2-41FD-9474-129AF4D372DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56897B81-A2F2-41FD-9474-129AF4D372DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56897B81-A2F2-41FD-9474-129AF4D372DC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml/SeedPackageYml.csproj b/seed/csharp-sdk/package-yml/src/SeedPackageYml/SeedPackageYml.csproj index 973121988bd..03aa56ded86 100644 --- a/seed/csharp-sdk/package-yml/src/SeedPackageYml/SeedPackageYml.csproj +++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml/SeedPackageYml.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/package-yml/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs index 127558e58f1..fc7094754e6 100644 --- a/seed/csharp-sdk/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/pagination/src/SeedPagination.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj b/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj index 97679294a55..aac18528c02 100644 --- a/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj +++ b/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/pagination/src/SeedPagination.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/pagination/src/SeedPagination.Test/Unit/MockServer/BaseMockServerTest.cs index 22b9881b964..a0355d77146 100644 --- a/seed/csharp-sdk/pagination/src/SeedPagination.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/pagination/src/SeedPagination.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/pagination/src/SeedPagination.sln b/seed/csharp-sdk/pagination/src/SeedPagination.sln new file mode 100644 index 00000000000..42af0ceff91 --- /dev/null +++ b/seed/csharp-sdk/pagination/src/SeedPagination.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination", "SeedPagination\SeedPagination.csproj", "{922616D3-400D-4924-AAA6-3069B4E39310}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination.Test", "SeedPagination.Test\SeedPagination.Test.csproj", "{8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {922616D3-400D-4924-AAA6-3069B4E39310}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {922616D3-400D-4924-AAA6-3069B4E39310}.Debug|Any CPU.Build.0 = Debug|Any CPU + {922616D3-400D-4924-AAA6-3069B4E39310}.Release|Any CPU.ActiveCfg = Release|Any CPU + {922616D3-400D-4924-AAA6-3069B4E39310}.Release|Any CPU.Build.0 = Release|Any CPU + {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/pagination/src/SeedPagination/SeedPagination.csproj b/seed/csharp-sdk/pagination/src/SeedPagination/SeedPagination.csproj index ad764365cd6..5bc342bb1d1 100644 --- a/seed/csharp-sdk/pagination/src/SeedPagination/SeedPagination.csproj +++ b/seed/csharp-sdk/pagination/src/SeedPagination/SeedPagination.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/pagination/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs index 548110aa63e..afe1d6dfb4f 100644 --- a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj index 26100094aee..5f3889c6202 100644 --- a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj +++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Unit/MockServer/BaseMockServerTest.cs index 097c5cf7e28..b801c2b1c76 100644 --- a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln new file mode 100644 index 00000000000..d42c0580ad1 --- /dev/null +++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters", "SeedPathParameters\SeedPathParameters.csproj", "{01A83CDB-CA61-44F2-AAA4-FFB96F398628}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters.Test", "SeedPathParameters.Test\SeedPathParameters.Test.csproj", "{E98F6C92-4210-4B4E-91E3-FA9A713D7525}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Debug|Any CPU.Build.0 = Debug|Any CPU + {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Release|Any CPU.ActiveCfg = Release|Any CPU + {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Release|Any CPU.Build.0 = Release|Any CPU + {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj b/seed/csharp-sdk/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj index ec82eb5bc3f..50da7ef91ee 100644 --- a/seed/csharp-sdk/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj +++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters/SeedPathParameters.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/path-parameters/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs index 8978fc9675f..cd1c4c71035 100644 --- a/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj b/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj index 0b8d3c5cf48..3b02ac9f932 100644 --- a/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj +++ b/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/plain-text/src/SeedPlainText.sln b/seed/csharp-sdk/plain-text/src/SeedPlainText.sln new file mode 100644 index 00000000000..b47983b6d3c --- /dev/null +++ b/seed/csharp-sdk/plain-text/src/SeedPlainText.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText", "SeedPlainText\SeedPlainText.csproj", "{D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText.Test", "SeedPlainText.Test\SeedPlainText.Test.csproj", "{29DF7550-A33E-4787-823D-CA909B4E9C9B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Release|Any CPU.Build.0 = Release|Any CPU + {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/plain-text/src/SeedPlainText/SeedPlainText.csproj b/seed/csharp-sdk/plain-text/src/SeedPlainText/SeedPlainText.csproj index fe0f17c9ea2..616b4052ecf 100644 --- a/seed/csharp-sdk/plain-text/src/SeedPlainText/SeedPlainText.csproj +++ b/seed/csharp-sdk/plain-text/src/SeedPlainText/SeedPlainText.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/plain-text/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs index 77c1afe5c53..7520bcd04c2 100644 --- a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj index bc0d7861586..3b50df96fec 100644 --- a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj +++ b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln new file mode 100644 index 00000000000..dfe525d1951 --- /dev/null +++ b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters", "SeedQueryParameters\SeedQueryParameters.csproj", "{7C47F0B0-9198-44FC-82E4-BBCDCCE74516}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters.Test", "SeedQueryParameters.Test\SeedQueryParameters.Test.csproj", "{89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Release|Any CPU.Build.0 = Release|Any CPU + {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj index 858f418ed05..f95c34fa6b8 100644 --- a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj +++ b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters/SeedQueryParameters.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/query-parameters/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs index 6e509f475bc..ea17672d755 100644 --- a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj index c9ba6a18b2d..74f9aaff825 100644 --- a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj +++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Unit/MockServer/BaseMockServerTest.cs index a93d6554ee9..ea4d2345626 100644 --- a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln new file mode 100644 index 00000000000..69c34328b0b --- /dev/null +++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi", "SeedNurseryApi\SeedNurseryApi.csproj", "{E2B6E134-A587-469B-9897-AE3AF9EB7FCE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi.Test", "SeedNurseryApi.Test\SeedNurseryApi.Test.csproj", "{AED13D94-0D07-4C1F-B3E1-78D22A8F9351}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Release|Any CPU.Build.0 = Release|Any CPU + {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj index 3f5aeb0ceed..72613f485d7 100644 --- a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj +++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi/SeedNurseryApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/reserved-keywords/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs index fbcad20a7ff..a5ced53c6f0 100644 --- a/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj b/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj index 863e54efc6b..1d97c50a616 100644 --- a/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj +++ b/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln b/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln new file mode 100644 index 00000000000..96c3dcb36c8 --- /dev/null +++ b/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty", "SeedResponseProperty\SeedResponseProperty.csproj", "{AE007795-95D7-4527-9F78-087630183961}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty.Test", "SeedResponseProperty.Test\SeedResponseProperty.Test.csproj", "{3DA8922E-74AA-4513-A5CC-1EF76E27E936}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AE007795-95D7-4527-9F78-087630183961}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AE007795-95D7-4527-9F78-087630183961}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AE007795-95D7-4527-9F78-087630183961}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AE007795-95D7-4527-9F78-087630183961}.Release|Any CPU.Build.0 = Release|Any CPU + {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj b/seed/csharp-sdk/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj index 356f10e6e6e..34a267c69db 100644 --- a/seed/csharp-sdk/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj +++ b/seed/csharp-sdk/response-property/src/SeedResponseProperty/SeedResponseProperty.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/response-property/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs index 217f3977126..9473023217f 100644 --- a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj index d380eed7ff3..7f8fa6bf18f 100644 --- a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj +++ b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln new file mode 100644 index 00000000000..5200f183a82 --- /dev/null +++ b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{1D3FA895-F971-4EBC-8555-8E14E75423D7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Release|Any CPU.Build.0 = Release|Any CPU + {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj index 07a1af2299f..6030a708eea 100644 --- a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj +++ b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents/SeedServerSentEvents.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/server-sent-event-examples/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs index 217f3977126..9473023217f 100644 --- a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj index d380eed7ff3..7f8fa6bf18f 100644 --- a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj +++ b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln new file mode 100644 index 00000000000..4d4901dc1f7 --- /dev/null +++ b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{F02591BA-D01D-4510-81FC-6960684836F6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{ECAAF675-B445-411A-A303-7A4480C2AE6B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F02591BA-D01D-4510-81FC-6960684836F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F02591BA-D01D-4510-81FC-6960684836F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F02591BA-D01D-4510-81FC-6960684836F6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F02591BA-D01D-4510-81FC-6960684836F6}.Release|Any CPU.Build.0 = Release|Any CPU + {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj index f8d304a7f68..1af94d3b41a 100644 --- a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj +++ b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents/SeedServerSentEvents.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/server-sent-events/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs index 532d182486b..089745538a5 100644 --- a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj index fd7b07f82e5..8e6f53c1970 100644 --- a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj +++ b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs index d60f783110a..564aee6a060 100644 --- a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi.sln b/seed/csharp-sdk/simple-fhir/src/SeedApi.sln new file mode 100644 index 00000000000..71d74464c9d --- /dev/null +++ b/seed/csharp-sdk/simple-fhir/src/SeedApi.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{D2260BCA-69B6-4D54-8F6E-77839E066F15}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{5FF6A4B7-DC3E-4495-B943-40FB2206017D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Release|Any CPU.Build.0 = Release|Any CPU + {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi/SeedApi.csproj b/seed/csharp-sdk/simple-fhir/src/SeedApi/SeedApi.csproj index 8566da2aab9..2d931645b7b 100644 --- a/seed/csharp-sdk/simple-fhir/src/SeedApi/SeedApi.csproj +++ b/seed/csharp-sdk/simple-fhir/src/SeedApi/SeedApi.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/simple-fhir/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs index f41bdaaea18..07df691d3bb 100644 --- a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj index 2b081280a03..1a2dd4152f7 100644 --- a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj +++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Unit/MockServer/BaseMockServerTest.cs index 1cdf615ecfa..3eb56e9543d 100644 --- a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln new file mode 100644 index 00000000000..5ca08ec75e8 --- /dev/null +++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault", "SeedSingleUrlEnvironmentDefault\SeedSingleUrlEnvironmentDefault.csproj", "{844B9910-7282-4B85-B0A8-818D8DD7DA35}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault.Test", "SeedSingleUrlEnvironmentDefault.Test\SeedSingleUrlEnvironmentDefault.Test.csproj", "{AA757F5A-8C56-445C-A3A1-E7447C01812C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Debug|Any CPU.Build.0 = Debug|Any CPU + {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Release|Any CPU.ActiveCfg = Release|Any CPU + {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Release|Any CPU.Build.0 = Release|Any CPU + {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj index 50c183e3277..5f32e1dcd35 100644 --- a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj +++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault/SeedSingleUrlEnvironmentDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/single-url-environment-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs index 627eb79f003..b4d073e3119 100644 --- a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj index bb541d7bc3c..970b922df3a 100644 --- a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj +++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Unit/MockServer/BaseMockServerTest.cs index 10c818a37b7..1222fb88d43 100644 --- a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln new file mode 100644 index 00000000000..784e6d77e10 --- /dev/null +++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault", "SeedSingleUrlEnvironmentNoDefault\SeedSingleUrlEnvironmentNoDefault.csproj", "{599FA3A0-E611-4B88-B965-34584B12BFB6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault.Test", "SeedSingleUrlEnvironmentNoDefault.Test\SeedSingleUrlEnvironmentNoDefault.Test.csproj", "{EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {599FA3A0-E611-4B88-B965-34584B12BFB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {599FA3A0-E611-4B88-B965-34584B12BFB6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {599FA3A0-E611-4B88-B965-34584B12BFB6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {599FA3A0-E611-4B88-B965-34584B12BFB6}.Release|Any CPU.Build.0 = Release|Any CPU + {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj index fe83c620e20..dfa17a3d401 100644 --- a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj +++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault/SeedSingleUrlEnvironmentNoDefault.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/single-url-environment-no-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs index 72453a319a0..b0fefdd9a52 100644 --- a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj index 1a496777c8e..77d9031c2ce 100644 --- a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj +++ b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln new file mode 100644 index 00000000000..382c39c4d8d --- /dev/null +++ b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{053746D4-8B1D-45D1-B7E4-E72F0F1FA544}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{F911A492-0AE9-4EDF-8F65-5B4EAACD746D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Debug|Any CPU.Build.0 = Debug|Any CPU + {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Release|Any CPU.ActiveCfg = Release|Any CPU + {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Release|Any CPU.Build.0 = Release|Any CPU + {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj index 31a406d42be..e0ff2c2f255 100644 --- a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj +++ b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming/SeedStreaming.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/streaming-parameter/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs index 72453a319a0..b0fefdd9a52 100644 --- a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj index 1a496777c8e..77d9031c2ce 100644 --- a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj +++ b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Unit/MockServer/BaseMockServerTest.cs index 259415405a8..fd98ae52e0d 100644 --- a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming.sln b/seed/csharp-sdk/streaming/src/SeedStreaming.sln new file mode 100644 index 00000000000..d6f22f11a37 --- /dev/null +++ b/seed/csharp-sdk/streaming/src/SeedStreaming.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{9C6379BA-50F2-4585-8160-2B1674E0A1BD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{DEE82217-0872-43BE-B212-478EC322BD51}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Release|Any CPU.Build.0 = Release|Any CPU + {DEE82217-0872-43BE-B212-478EC322BD51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DEE82217-0872-43BE-B212-478EC322BD51}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DEE82217-0872-43BE-B212-478EC322BD51}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DEE82217-0872-43BE-B212-478EC322BD51}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming/SeedStreaming.csproj b/seed/csharp-sdk/streaming/src/SeedStreaming/SeedStreaming.csproj index c77c04d7af8..244cf27f28b 100644 --- a/seed/csharp-sdk/streaming/src/SeedStreaming/SeedStreaming.csproj +++ b/seed/csharp-sdk/streaming/src/SeedStreaming/SeedStreaming.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/streaming/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs index 6a568332953..46d97ee294b 100644 --- a/seed/csharp-sdk/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/trace/src/SeedTrace.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj b/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj index 399d362bf4b..ddcf1a5d704 100644 --- a/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj +++ b/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/trace/src/SeedTrace.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/trace/src/SeedTrace.Test/Unit/MockServer/BaseMockServerTest.cs index 6d466a6ed4e..b816736afab 100644 --- a/seed/csharp-sdk/trace/src/SeedTrace.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/trace/src/SeedTrace.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/trace/src/SeedTrace.sln b/seed/csharp-sdk/trace/src/SeedTrace.sln new file mode 100644 index 00000000000..b7d8adcce65 --- /dev/null +++ b/seed/csharp-sdk/trace/src/SeedTrace.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace", "SeedTrace\SeedTrace.csproj", "{0FAD5CEB-103E-4896-B1C5-F365170B583A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace.Test", "SeedTrace.Test\SeedTrace.Test.csproj", "{A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Release|Any CPU.Build.0 = Release|Any CPU + {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/trace/src/SeedTrace/SeedTrace.csproj b/seed/csharp-sdk/trace/src/SeedTrace/SeedTrace.csproj index 548146119e0..951a7994781 100644 --- a/seed/csharp-sdk/trace/src/SeedTrace/SeedTrace.csproj +++ b/seed/csharp-sdk/trace/src/SeedTrace/SeedTrace.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/trace/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs index 5266b03a510..cd47208fb34 100644 --- a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj index e2bb610631d..c08f58082d3 100644 --- a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj +++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Unit/MockServer/BaseMockServerTest.cs index 41bae8813fe..64f1f7d2e2d 100644 --- a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln new file mode 100644 index 00000000000..5f072ce6d37 --- /dev/null +++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions", "SeedUndiscriminatedUnions\SeedUndiscriminatedUnions.csproj", "{4F5F2545-093A-4830-BB1A-F7381C25B863}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions.Test", "SeedUndiscriminatedUnions.Test\SeedUndiscriminatedUnions.Test.csproj", "{3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4F5F2545-093A-4830-BB1A-F7381C25B863}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4F5F2545-093A-4830-BB1A-F7381C25B863}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4F5F2545-093A-4830-BB1A-F7381C25B863}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4F5F2545-093A-4830-BB1A-F7381C25B863}.Release|Any CPU.Build.0 = Release|Any CPU + {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj index 95bea173532..bdfcbba40ff 100644 --- a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj +++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions/SeedUndiscriminatedUnions.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/undiscriminated-unions/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs index 0516ffc357b..d0a072a0128 100644 --- a/seed/csharp-sdk/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/unions/src/SeedUnions.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj b/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj index d299c9c615a..1aab7bd3a92 100644 --- a/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj +++ b/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/unions/src/SeedUnions.sln b/seed/csharp-sdk/unions/src/SeedUnions.sln new file mode 100644 index 00000000000..24dd91c9d82 --- /dev/null +++ b/seed/csharp-sdk/unions/src/SeedUnions.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions", "SeedUnions\SeedUnions.csproj", "{4FDF06C1-8A72-4142-8B65-0C03128B52EF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions.Test", "SeedUnions.Test\SeedUnions.Test.csproj", "{6F1A5A3B-BE41-4646-90D4-7687157B2306}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Release|Any CPU.Build.0 = Release|Any CPU + {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/unions/src/SeedUnions/SeedUnions.csproj b/seed/csharp-sdk/unions/src/SeedUnions/SeedUnions.csproj index 3060ef0c6d8..6c7bd690969 100644 --- a/seed/csharp-sdk/unions/src/SeedUnions/SeedUnions.csproj +++ b/seed/csharp-sdk/unions/src/SeedUnions/SeedUnions.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/unions/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs index 9b5b930b507..e2022c27501 100644 --- a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj index 4657f547dbe..a79c4d294b8 100644 --- a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj +++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Unit/MockServer/BaseMockServerTest.cs index f618d1222ba..6f822078434 100644 --- a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln new file mode 100644 index 00000000000..51d73bb2dfe --- /dev/null +++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny", "SeedUnknownAsAny\SeedUnknownAsAny.csproj", "{7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny.Test", "SeedUnknownAsAny.Test\SeedUnknownAsAny.Test.csproj", "{EAFE08CF-4653-470C-B769-0A2D01E7DEFD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Release|Any CPU.Build.0 = Release|Any CPU + {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj index 3bde5636f99..7d078c15588 100644 --- a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj +++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny/SeedUnknownAsAny.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/unknown/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs index 59dddfa32ef..3f62fc7204d 100644 --- a/seed/csharp-sdk/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/validation/src/SeedValidation.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj b/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj index 902a8f55981..7265c8587af 100644 --- a/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj +++ b/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/validation/src/SeedValidation.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/validation/src/SeedValidation.Test/Unit/MockServer/BaseMockServerTest.cs index ee300b70c6e..cebd625fdba 100644 --- a/seed/csharp-sdk/validation/src/SeedValidation.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/validation/src/SeedValidation.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/validation/src/SeedValidation.sln b/seed/csharp-sdk/validation/src/SeedValidation.sln new file mode 100644 index 00000000000..eda061252db --- /dev/null +++ b/seed/csharp-sdk/validation/src/SeedValidation.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation", "SeedValidation\SeedValidation.csproj", "{2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation.Test", "SeedValidation.Test\SeedValidation.Test.csproj", "{6E3B5574-CC04-4654-BCA5-73DB29EBC69A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Release|Any CPU.Build.0 = Release|Any CPU + {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/validation/src/SeedValidation/SeedValidation.csproj b/seed/csharp-sdk/validation/src/SeedValidation/SeedValidation.csproj index c50cd7d7ab5..b6c0008c8a2 100644 --- a/seed/csharp-sdk/validation/src/SeedValidation/SeedValidation.csproj +++ b/seed/csharp-sdk/validation/src/SeedValidation/SeedValidation.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/validation/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs index 823797580ec..1c16afb4ce2 100644 --- a/seed/csharp-sdk/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/variables/src/SeedVariables.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj b/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj index 4e008c367ca..476174f5e6e 100644 --- a/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj +++ b/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/variables/src/SeedVariables.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/variables/src/SeedVariables.Test/Unit/MockServer/BaseMockServerTest.cs index 9b78924f2f6..df2a9b69b68 100644 --- a/seed/csharp-sdk/variables/src/SeedVariables.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/variables/src/SeedVariables.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/variables/src/SeedVariables.sln b/seed/csharp-sdk/variables/src/SeedVariables.sln new file mode 100644 index 00000000000..1f1cc13b763 --- /dev/null +++ b/seed/csharp-sdk/variables/src/SeedVariables.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables", "SeedVariables\SeedVariables.csproj", "{94101465-540F-4874-83EC-5EBF59D6F3F5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables.Test", "SeedVariables.Test\SeedVariables.Test.csproj", "{8CA39C83-F1B7-4161-8948-BBB39D189855}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {94101465-540F-4874-83EC-5EBF59D6F3F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94101465-540F-4874-83EC-5EBF59D6F3F5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94101465-540F-4874-83EC-5EBF59D6F3F5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94101465-540F-4874-83EC-5EBF59D6F3F5}.Release|Any CPU.Build.0 = Release|Any CPU + {8CA39C83-F1B7-4161-8948-BBB39D189855}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8CA39C83-F1B7-4161-8948-BBB39D189855}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8CA39C83-F1B7-4161-8948-BBB39D189855}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8CA39C83-F1B7-4161-8948-BBB39D189855}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/variables/src/SeedVariables/SeedVariables.csproj b/seed/csharp-sdk/variables/src/SeedVariables/SeedVariables.csproj index c4d48c57862..8fac957d946 100644 --- a/seed/csharp-sdk/variables/src/SeedVariables/SeedVariables.csproj +++ b/seed/csharp-sdk/variables/src/SeedVariables/SeedVariables.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/variables/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs index ba889dc5891..583da3c0d05 100644 --- a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj index ea1b8396b51..22fcd57b3cb 100644 --- a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj +++ b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs index 35b7ef1e954..fb4a1a8a2dc 100644 --- a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion.sln b/seed/csharp-sdk/version-no-default/src/SeedVersion.sln new file mode 100644 index 00000000000..4941e4bb1d1 --- /dev/null +++ b/seed/csharp-sdk/version-no-default/src/SeedVersion.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{56B8A7E9-E533-4917-B131-7E5B2BFF40D2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{D393FF4C-B58D-4A40-84A9-2E42B365C769}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Release|Any CPU.Build.0 = Release|Any CPU + {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion/SeedVersion.csproj b/seed/csharp-sdk/version-no-default/src/SeedVersion/SeedVersion.csproj index 19973c99154..16eef82397a 100644 --- a/seed/csharp-sdk/version-no-default/src/SeedVersion/SeedVersion.csproj +++ b/seed/csharp-sdk/version-no-default/src/SeedVersion/SeedVersion.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/version-no-default/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs index ba889dc5891..583da3c0d05 100644 --- a/seed/csharp-sdk/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/version/src/SeedVersion.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj index ea1b8396b51..22fcd57b3cb 100644 --- a/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj +++ b/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/version/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs b/seed/csharp-sdk/version/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs index 35b7ef1e954..fb4a1a8a2dc 100644 --- a/seed/csharp-sdk/version/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs +++ b/seed/csharp-sdk/version/src/SeedVersion.Test/Unit/MockServer/BaseMockServerTest.cs @@ -35,5 +35,6 @@ public void GlobalSetup() public void GlobalTeardown() { Server.Stop(); + Server.Dispose(); } } diff --git a/seed/csharp-sdk/version/src/SeedVersion.sln b/seed/csharp-sdk/version/src/SeedVersion.sln new file mode 100644 index 00000000000..1b038f192c8 --- /dev/null +++ b/seed/csharp-sdk/version/src/SeedVersion.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{6838D551-7915-43DE-853E-BA78EF928350}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{FD9FF355-A009-4A59-8ADF-77A7B462391B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6838D551-7915-43DE-853E-BA78EF928350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6838D551-7915-43DE-853E-BA78EF928350}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6838D551-7915-43DE-853E-BA78EF928350}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6838D551-7915-43DE-853E-BA78EF928350}.Release|Any CPU.Build.0 = Release|Any CPU + {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/version/src/SeedVersion/SeedVersion.csproj b/seed/csharp-sdk/version/src/SeedVersion/SeedVersion.csproj index 7279f5a2757..1b47c88610f 100644 --- a/seed/csharp-sdk/version/src/SeedVersion/SeedVersion.csproj +++ b/seed/csharp-sdk/version/src/SeedVersion/SeedVersion.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/version/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs b/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs index 901b507973e..dcfcd3eed5a 100644 --- a/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs +++ b/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/Core/EnumSerializerTests.cs @@ -36,7 +36,7 @@ public void ShouldSerializeKnownEnumValue2() new DummyObject { EnumProperty = KnownEnumValue2 }, JsonOptions ); - TestContext.WriteLine("Serialized JSON: \n" + json); + TestContext.Out.WriteLine("Serialized JSON: \n" + json); var enumString = json.GetProperty("enum_property").GetString(); Assert.That(enumString, Is.Not.Null); Assert.That(enumString, Is.EqualTo(KnownEnumValue2String)); diff --git a/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj b/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj index b51b25a8b42..b1ba647bca0 100644 --- a/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj +++ b/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj @@ -10,12 +10,18 @@ - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/seed/csharp-sdk/websocket/src/SeedWebsocket.sln b/seed/csharp-sdk/websocket/src/SeedWebsocket.sln new file mode 100644 index 00000000000..ce132b86c4d --- /dev/null +++ b/seed/csharp-sdk/websocket/src/SeedWebsocket.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket", "SeedWebsocket\SeedWebsocket.csproj", "{61FDB802-61C3-42BD-90DA-99ACD34BAC31}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket.Test", "SeedWebsocket.Test\SeedWebsocket.Test.csproj", "{11C9A093-B3CD-4397-BB50-177A56B34DAC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Debug|Any CPU.Build.0 = Debug|Any CPU + {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Release|Any CPU.ActiveCfg = Release|Any CPU + {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Release|Any CPU.Build.0 = Release|Any CPU + {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/seed/csharp-sdk/websocket/src/SeedWebsocket/SeedWebsocket.csproj b/seed/csharp-sdk/websocket/src/SeedWebsocket/SeedWebsocket.csproj index a2a6736d8d7..1c75b3e274d 100644 --- a/seed/csharp-sdk/websocket/src/SeedWebsocket/SeedWebsocket.csproj +++ b/seed/csharp-sdk/websocket/src/SeedWebsocket/SeedWebsocket.csproj @@ -4,7 +4,6 @@ net462;net8.0;net7.0;net6.0;netstandard2.0 enable - false 12 enable 0.0.1 @@ -12,31 +11,23 @@ $(Version) README.md https://github.com/websocket/fern - - - true - - - - - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + diff --git a/seed/go-sdk/examples/always-send-required-properties/.mock/definition/.service.yml.swp b/seed/go-sdk/examples/always-send-required-properties/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/go-sdk/examples/always-send-required-properties/.mock/definition/.service.yml.swp differ diff --git a/seed/go-sdk/examples/exported-client-name/.mock/definition/.service.yml.swp b/seed/go-sdk/examples/exported-client-name/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/go-sdk/examples/exported-client-name/.mock/definition/.service.yml.swp differ diff --git a/seed/go-sdk/examples/no-custom-config/.mock/definition/.service.yml.swp b/seed/go-sdk/examples/no-custom-config/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/go-sdk/examples/no-custom-config/.mock/definition/.service.yml.swp differ diff --git a/seed/go-sdk/grpc-proto-exhaustive/dataservice.go b/seed/go-sdk/grpc-proto-exhaustive/dataservice.go index 84ee94a71bb..c9fe2f765bc 100644 --- a/seed/go-sdk/grpc-proto-exhaustive/dataservice.go +++ b/seed/go-sdk/grpc-proto-exhaustive/dataservice.go @@ -50,7 +50,7 @@ type Column struct { IndexedData *IndexedData `json:"indexedData,omitempty" url:"indexedData,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (c *Column) GetId() string { @@ -92,20 +92,18 @@ func (c *Column) UnmarshalJSON(data []byte) error { return err } *c = Column(value) - extraProperties, err := internal.ExtractExtraProperties(data, *c) if err != nil { return err } c.extraProperties = extraProperties - - c._rawJSON = json.RawMessage(data) + c.rawJSON = json.RawMessage(data) return nil } func (c *Column) String() string { - if len(c._rawJSON) > 0 { - if value, err := internal.StringifyJSON(c._rawJSON); err == nil { + if len(c.rawJSON) > 0 { + if value, err := internal.StringifyJSON(c.rawJSON); err == nil { return value } } @@ -117,7 +115,7 @@ func (c *Column) String() string { type DeleteResponse struct { extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (d *DeleteResponse) GetExtraProperties() map[string]interface{} { @@ -131,20 +129,18 @@ func (d *DeleteResponse) UnmarshalJSON(data []byte) error { return err } *d = DeleteResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err } d.extraProperties = extraProperties - - d._rawJSON = json.RawMessage(data) + d.rawJSON = json.RawMessage(data) return nil } func (d *DeleteResponse) String() string { - if len(d._rawJSON) > 0 { - if value, err := internal.StringifyJSON(d._rawJSON); err == nil { + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { return value } } @@ -161,7 +157,7 @@ type DescribeResponse struct { TotalCount *int `json:"totalCount,omitempty" url:"totalCount,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (d *DescribeResponse) GetNamespaces() map[string]*NamespaceSummary { @@ -203,20 +199,18 @@ func (d *DescribeResponse) UnmarshalJSON(data []byte) error { return err } *d = DescribeResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err } d.extraProperties = extraProperties - - d._rawJSON = json.RawMessage(data) + d.rawJSON = json.RawMessage(data) return nil } func (d *DescribeResponse) String() string { - if len(d._rawJSON) > 0 { - if value, err := internal.StringifyJSON(d._rawJSON); err == nil { + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { return value } } @@ -232,7 +226,7 @@ type FetchResponse struct { Usage *Usage `json:"usage,omitempty" url:"usage,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (f *FetchResponse) GetColumns() map[string]*Column { @@ -267,20 +261,18 @@ func (f *FetchResponse) UnmarshalJSON(data []byte) error { return err } *f = FetchResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *f) if err != nil { return err } f.extraProperties = extraProperties - - f._rawJSON = json.RawMessage(data) + f.rawJSON = json.RawMessage(data) return nil } func (f *FetchResponse) String() string { - if len(f._rawJSON) > 0 { - if value, err := internal.StringifyJSON(f._rawJSON); err == nil { + if len(f.rawJSON) > 0 { + if value, err := internal.StringifyJSON(f.rawJSON); err == nil { return value } } @@ -295,7 +287,7 @@ type IndexedData struct { Values []float64 `json:"values,omitempty" url:"values,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (i *IndexedData) GetIndices() []int { @@ -323,20 +315,18 @@ func (i *IndexedData) UnmarshalJSON(data []byte) error { return err } *i = IndexedData(value) - extraProperties, err := internal.ExtractExtraProperties(data, *i) if err != nil { return err } i.extraProperties = extraProperties - - i._rawJSON = json.RawMessage(data) + i.rawJSON = json.RawMessage(data) return nil } func (i *IndexedData) String() string { - if len(i._rawJSON) > 0 { - if value, err := internal.StringifyJSON(i._rawJSON); err == nil { + if len(i.rawJSON) > 0 { + if value, err := internal.StringifyJSON(i.rawJSON); err == nil { return value } } @@ -350,7 +340,7 @@ type ListElement struct { Id *string `json:"id,omitempty" url:"id,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (l *ListElement) GetId() *string { @@ -371,20 +361,18 @@ func (l *ListElement) UnmarshalJSON(data []byte) error { return err } *l = ListElement(value) - extraProperties, err := internal.ExtractExtraProperties(data, *l) if err != nil { return err } l.extraProperties = extraProperties - - l._rawJSON = json.RawMessage(data) + l.rawJSON = json.RawMessage(data) return nil } func (l *ListElement) String() string { - if len(l._rawJSON) > 0 { - if value, err := internal.StringifyJSON(l._rawJSON); err == nil { + if len(l.rawJSON) > 0 { + if value, err := internal.StringifyJSON(l.rawJSON); err == nil { return value } } @@ -401,7 +389,7 @@ type ListResponse struct { Usage *Usage `json:"usage,omitempty" url:"usage,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (l *ListResponse) GetColumns() []*ListElement { @@ -443,20 +431,18 @@ func (l *ListResponse) UnmarshalJSON(data []byte) error { return err } *l = ListResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *l) if err != nil { return err } l.extraProperties = extraProperties - - l._rawJSON = json.RawMessage(data) + l.rawJSON = json.RawMessage(data) return nil } func (l *ListResponse) String() string { - if len(l._rawJSON) > 0 { - if value, err := internal.StringifyJSON(l._rawJSON); err == nil { + if len(l.rawJSON) > 0 { + if value, err := internal.StringifyJSON(l.rawJSON); err == nil { return value } } @@ -635,7 +621,7 @@ type NamespaceSummary struct { Count *int `json:"count,omitempty" url:"count,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (n *NamespaceSummary) GetCount() *int { @@ -656,20 +642,18 @@ func (n *NamespaceSummary) UnmarshalJSON(data []byte) error { return err } *n = NamespaceSummary(value) - extraProperties, err := internal.ExtractExtraProperties(data, *n) if err != nil { return err } n.extraProperties = extraProperties - - n._rawJSON = json.RawMessage(data) + n.rawJSON = json.RawMessage(data) return nil } func (n *NamespaceSummary) String() string { - if len(n._rawJSON) > 0 { - if value, err := internal.StringifyJSON(n._rawJSON); err == nil { + if len(n.rawJSON) > 0 { + if value, err := internal.StringifyJSON(n.rawJSON); err == nil { return value } } @@ -683,7 +667,7 @@ type Pagination struct { Next *string `json:"next,omitempty" url:"next,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (p *Pagination) GetNext() *string { @@ -704,20 +688,18 @@ func (p *Pagination) UnmarshalJSON(data []byte) error { return err } *p = Pagination(value) - extraProperties, err := internal.ExtractExtraProperties(data, *p) if err != nil { return err } p.extraProperties = extraProperties - - p._rawJSON = json.RawMessage(data) + p.rawJSON = json.RawMessage(data) return nil } func (p *Pagination) String() string { - if len(p._rawJSON) > 0 { - if value, err := internal.StringifyJSON(p._rawJSON); err == nil { + if len(p.rawJSON) > 0 { + if value, err := internal.StringifyJSON(p.rawJSON); err == nil { return value } } @@ -735,7 +717,7 @@ type QueryColumn struct { IndexedData *IndexedData `json:"indexedData,omitempty" url:"indexedData,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (q *QueryColumn) GetValues() []float64 { @@ -784,20 +766,18 @@ func (q *QueryColumn) UnmarshalJSON(data []byte) error { return err } *q = QueryColumn(value) - extraProperties, err := internal.ExtractExtraProperties(data, *q) if err != nil { return err } q.extraProperties = extraProperties - - q._rawJSON = json.RawMessage(data) + q.rawJSON = json.RawMessage(data) return nil } func (q *QueryColumn) String() string { - if len(q._rawJSON) > 0 { - if value, err := internal.StringifyJSON(q._rawJSON); err == nil { + if len(q.rawJSON) > 0 { + if value, err := internal.StringifyJSON(q.rawJSON); err == nil { return value } } @@ -814,7 +794,7 @@ type QueryResponse struct { Usage *Usage `json:"usage,omitempty" url:"usage,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (q *QueryResponse) GetResults() []*QueryResult { @@ -856,20 +836,18 @@ func (q *QueryResponse) UnmarshalJSON(data []byte) error { return err } *q = QueryResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *q) if err != nil { return err } q.extraProperties = extraProperties - - q._rawJSON = json.RawMessage(data) + q.rawJSON = json.RawMessage(data) return nil } func (q *QueryResponse) String() string { - if len(q._rawJSON) > 0 { - if value, err := internal.StringifyJSON(q._rawJSON); err == nil { + if len(q.rawJSON) > 0 { + if value, err := internal.StringifyJSON(q.rawJSON); err == nil { return value } } @@ -884,7 +862,7 @@ type QueryResult struct { Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (q *QueryResult) GetMatches() []*ScoredColumn { @@ -912,20 +890,18 @@ func (q *QueryResult) UnmarshalJSON(data []byte) error { return err } *q = QueryResult(value) - extraProperties, err := internal.ExtractExtraProperties(data, *q) if err != nil { return err } q.extraProperties = extraProperties - - q._rawJSON = json.RawMessage(data) + q.rawJSON = json.RawMessage(data) return nil } func (q *QueryResult) String() string { - if len(q._rawJSON) > 0 { - if value, err := internal.StringifyJSON(q._rawJSON); err == nil { + if len(q.rawJSON) > 0 { + if value, err := internal.StringifyJSON(q.rawJSON); err == nil { return value } } @@ -943,7 +919,7 @@ type ScoredColumn struct { IndexedData *IndexedData `json:"indexedData,omitempty" url:"indexedData,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (s *ScoredColumn) GetId() string { @@ -992,20 +968,18 @@ func (s *ScoredColumn) UnmarshalJSON(data []byte) error { return err } *s = ScoredColumn(value) - extraProperties, err := internal.ExtractExtraProperties(data, *s) if err != nil { return err } s.extraProperties = extraProperties - - s._rawJSON = json.RawMessage(data) + s.rawJSON = json.RawMessage(data) return nil } func (s *ScoredColumn) String() string { - if len(s._rawJSON) > 0 { - if value, err := internal.StringifyJSON(s._rawJSON); err == nil { + if len(s.rawJSON) > 0 { + if value, err := internal.StringifyJSON(s.rawJSON); err == nil { return value } } @@ -1017,7 +991,7 @@ func (s *ScoredColumn) String() string { type UpdateResponse struct { extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (u *UpdateResponse) GetExtraProperties() map[string]interface{} { @@ -1031,20 +1005,18 @@ func (u *UpdateResponse) UnmarshalJSON(data []byte) error { return err } *u = UpdateResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *u) if err != nil { return err } u.extraProperties = extraProperties - - u._rawJSON = json.RawMessage(data) + u.rawJSON = json.RawMessage(data) return nil } func (u *UpdateResponse) String() string { - if len(u._rawJSON) > 0 { - if value, err := internal.StringifyJSON(u._rawJSON); err == nil { + if len(u.rawJSON) > 0 { + if value, err := internal.StringifyJSON(u.rawJSON); err == nil { return value } } @@ -1058,7 +1030,7 @@ type UploadResponse struct { Count *int `json:"count,omitempty" url:"count,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (u *UploadResponse) GetCount() *int { @@ -1079,20 +1051,18 @@ func (u *UploadResponse) UnmarshalJSON(data []byte) error { return err } *u = UploadResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *u) if err != nil { return err } u.extraProperties = extraProperties - - u._rawJSON = json.RawMessage(data) + u.rawJSON = json.RawMessage(data) return nil } func (u *UploadResponse) String() string { - if len(u._rawJSON) > 0 { - if value, err := internal.StringifyJSON(u._rawJSON); err == nil { + if len(u.rawJSON) > 0 { + if value, err := internal.StringifyJSON(u.rawJSON); err == nil { return value } } @@ -1106,7 +1076,7 @@ type Usage struct { Units *int `json:"units,omitempty" url:"units,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (u *Usage) GetUnits() *int { @@ -1127,20 +1097,18 @@ func (u *Usage) UnmarshalJSON(data []byte) error { return err } *u = Usage(value) - extraProperties, err := internal.ExtractExtraProperties(data, *u) if err != nil { return err } u.extraProperties = extraProperties - - u._rawJSON = json.RawMessage(data) + u.rawJSON = json.RawMessage(data) return nil } func (u *Usage) String() string { - if len(u._rawJSON) > 0 { - if value, err := internal.StringifyJSON(u._rawJSON); err == nil { + if len(u.rawJSON) > 0 { + if value, err := internal.StringifyJSON(u.rawJSON); err == nil { return value } } diff --git a/seed/go-sdk/grpc-proto-exhaustive/dataservice/client.go b/seed/go-sdk/grpc-proto-exhaustive/dataservice/client.go index 9bfe63485d0..92e351eb460 100644 --- a/seed/go-sdk/grpc-proto-exhaustive/dataservice/client.go +++ b/seed/go-sdk/grpc-proto-exhaustive/dataservice/client.go @@ -37,17 +37,16 @@ func (c *Client) Upload( opts ...option.RequestOption, ) (*fern.UploadResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data" - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) headers.Set("Content-Type", "application/json") var response *fern.UploadResponse @@ -56,8 +55,8 @@ func (c *Client) Upload( &internal.CallParams{ URL: endpointURL, Method: http.MethodPost, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, @@ -76,17 +75,16 @@ func (c *Client) Delete( opts ...option.RequestOption, ) (*fern.DeleteResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data/delete" - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) headers.Set("Content-Type", "application/json") var response *fern.DeleteResponse @@ -95,8 +93,8 @@ func (c *Client) Delete( &internal.CallParams{ URL: endpointURL, Method: http.MethodPost, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, @@ -115,17 +113,16 @@ func (c *Client) Describe( opts ...option.RequestOption, ) (*fern.DescribeResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data/describe" - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) headers.Set("Content-Type", "application/json") var response *fern.DescribeResponse @@ -134,8 +131,8 @@ func (c *Client) Describe( &internal.CallParams{ URL: endpointURL, Method: http.MethodPost, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, @@ -154,16 +151,12 @@ func (c *Client) Fetch( opts ...option.RequestOption, ) (*fern.FetchResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data/fetch" - queryParams, err := internal.QueryValues(request) if err != nil { return nil, err @@ -171,8 +164,10 @@ func (c *Client) Fetch( if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() } - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) var response *fern.FetchResponse if err := c.caller.Call( @@ -180,8 +175,8 @@ func (c *Client) Fetch( &internal.CallParams{ URL: endpointURL, Method: http.MethodGet, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, @@ -199,16 +194,12 @@ func (c *Client) List( opts ...option.RequestOption, ) (*fern.ListResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data/list" - queryParams, err := internal.QueryValues(request) if err != nil { return nil, err @@ -216,8 +207,10 @@ func (c *Client) List( if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() } - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) var response *fern.ListResponse if err := c.caller.Call( @@ -225,8 +218,8 @@ func (c *Client) List( &internal.CallParams{ URL: endpointURL, Method: http.MethodGet, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, @@ -244,17 +237,16 @@ func (c *Client) Query( opts ...option.RequestOption, ) (*fern.QueryResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data/query" - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) headers.Set("Content-Type", "application/json") var response *fern.QueryResponse @@ -263,8 +255,8 @@ func (c *Client) Query( &internal.CallParams{ URL: endpointURL, Method: http.MethodPost, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, @@ -283,17 +275,16 @@ func (c *Client) Update( opts ...option.RequestOption, ) (*fern.UpdateResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/data/update" - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) headers.Set("Content-Type", "application/json") var response *fern.UpdateResponse @@ -302,8 +293,8 @@ func (c *Client) Update( &internal.CallParams{ URL: endpointURL, Method: http.MethodPost, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, diff --git a/seed/go-sdk/grpc-proto-exhaustive/internal/caller.go b/seed/go-sdk/grpc-proto-exhaustive/internal/caller.go index 8ebdc9cc493..779b5dedb90 100644 --- a/seed/go-sdk/grpc-proto-exhaustive/internal/caller.go +++ b/seed/go-sdk/grpc-proto-exhaustive/internal/caller.go @@ -21,10 +21,6 @@ const ( contentTypeHeader = "Content-Type" ) -// ErrorDecoder decodes *http.Response errors and returns a -// typed API error (e.g. *core.APIError). -type ErrorDecoder func(statusCode int, body io.Reader) error - // Caller calls APIs and deserializes their response, if any. type Caller struct { client core.HTTPClient diff --git a/seed/go-sdk/grpc-proto-exhaustive/internal/error_decoder.go b/seed/go-sdk/grpc-proto-exhaustive/internal/error_decoder.go new file mode 100644 index 00000000000..da6b7c959a4 --- /dev/null +++ b/seed/go-sdk/grpc-proto-exhaustive/internal/error_decoder.go @@ -0,0 +1,45 @@ +package internal + +import ( + "bytes" + "encoding/json" + "errors" + "fmt" + "io" + + "github.com/grpc-proto-exhaustive/fern/core" +) + +// ErrorDecoder decodes *http.Response errors and returns a +// typed API error (e.g. *core.APIError). +type ErrorDecoder func(statusCode int, body io.Reader) error + +// ErrorCodes maps HTTP status codes to error constructors. +type ErrorCodes map[int]func(*core.APIError) error + +// NewErrorDecoder returns a new ErrorDecoder backed by the given error codes. +func NewErrorDecoder(errorCodes ErrorCodes) ErrorDecoder { + return func(statusCode int, body io.Reader) error { + raw, err := io.ReadAll(body) + if err != nil { + return fmt.Errorf("failed to read error from response body: %w", err) + } + apiError := core.NewAPIError( + statusCode, + errors.New(string(raw)), + ) + newErrorFunc, ok := errorCodes[statusCode] + if !ok { + // This status code isn't recognized, so we return + // the API error as-is. + return apiError + } + customError := newErrorFunc(apiError) + if err := json.NewDecoder(bytes.NewReader(raw)).Decode(customError); err != nil { + // If we fail to decode the error, we return the + // API error as-is. + return apiError + } + return customError + } +} diff --git a/seed/go-sdk/grpc-proto-exhaustive/internal/error_decoder_test.go b/seed/go-sdk/grpc-proto-exhaustive/internal/error_decoder_test.go new file mode 100644 index 00000000000..cb81d547a1c --- /dev/null +++ b/seed/go-sdk/grpc-proto-exhaustive/internal/error_decoder_test.go @@ -0,0 +1,55 @@ +package internal + +import ( + "bytes" + "errors" + "net/http" + "testing" + + "github.com/grpc-proto-exhaustive/fern/core" + "github.com/stretchr/testify/assert" +) + +func TestErrorDecoder(t *testing.T) { + decoder := NewErrorDecoder( + ErrorCodes{ + http.StatusNotFound: func(apiError *core.APIError) error { + return &NotFoundError{APIError: apiError} + }, + }) + + tests := []struct { + description string + giveStatusCode int + giveBody string + wantError error + }{ + { + description: "unrecognized status code", + giveStatusCode: http.StatusInternalServerError, + giveBody: "Internal Server Error", + wantError: core.NewAPIError(http.StatusInternalServerError, errors.New("Internal Server Error")), + }, + { + description: "not found with valid JSON", + giveStatusCode: http.StatusNotFound, + giveBody: `{"message": "Resource not found"}`, + wantError: &NotFoundError{ + APIError: core.NewAPIError(http.StatusNotFound, errors.New(`{"message": "Resource not found"}`)), + Message: "Resource not found", + }, + }, + { + description: "not found with invalid JSON", + giveStatusCode: http.StatusNotFound, + giveBody: `Resource not found`, + wantError: core.NewAPIError(http.StatusNotFound, errors.New("Resource not found")), + }, + } + + for _, tt := range tests { + t.Run(tt.description, func(t *testing.T) { + assert.Equal(t, tt.wantError, decoder(tt.giveStatusCode, bytes.NewReader([]byte(tt.giveBody)))) + }) + } +} diff --git a/seed/go-sdk/grpc-proto-exhaustive/internal/http.go b/seed/go-sdk/grpc-proto-exhaustive/internal/http.go index 2be0805a8be..768968bd621 100644 --- a/seed/go-sdk/grpc-proto-exhaustive/internal/http.go +++ b/seed/go-sdk/grpc-proto-exhaustive/internal/http.go @@ -11,6 +11,17 @@ type HTTPClient interface { Do(*http.Request) (*http.Response, error) } +// ResolveBaseURL resolves the base URL from the given arguments, +// preferring the first non-empty value. +func ResolveBaseURL(values ...string) string { + for _, value := range values { + if value != "" { + return value + } + } + return "" +} + // EncodeURL encodes the given arguments into the URL, escaping // values as needed. func EncodeURL(urlFormat string, args ...interface{}) string { diff --git a/seed/go-sdk/grpc-proto/internal/caller.go b/seed/go-sdk/grpc-proto/internal/caller.go index cfeebc21ef3..4ac43d30fe3 100644 --- a/seed/go-sdk/grpc-proto/internal/caller.go +++ b/seed/go-sdk/grpc-proto/internal/caller.go @@ -21,10 +21,6 @@ const ( contentTypeHeader = "Content-Type" ) -// ErrorDecoder decodes *http.Response errors and returns a -// typed API error (e.g. *core.APIError). -type ErrorDecoder func(statusCode int, body io.Reader) error - // Caller calls APIs and deserializes their response, if any. type Caller struct { client core.HTTPClient diff --git a/seed/go-sdk/grpc-proto/internal/error_decoder.go b/seed/go-sdk/grpc-proto/internal/error_decoder.go new file mode 100644 index 00000000000..b00fd3f8783 --- /dev/null +++ b/seed/go-sdk/grpc-proto/internal/error_decoder.go @@ -0,0 +1,45 @@ +package internal + +import ( + "bytes" + "encoding/json" + "errors" + "fmt" + "io" + + "github.com/grpc-proto/fern/core" +) + +// ErrorDecoder decodes *http.Response errors and returns a +// typed API error (e.g. *core.APIError). +type ErrorDecoder func(statusCode int, body io.Reader) error + +// ErrorCodes maps HTTP status codes to error constructors. +type ErrorCodes map[int]func(*core.APIError) error + +// NewErrorDecoder returns a new ErrorDecoder backed by the given error codes. +func NewErrorDecoder(errorCodes ErrorCodes) ErrorDecoder { + return func(statusCode int, body io.Reader) error { + raw, err := io.ReadAll(body) + if err != nil { + return fmt.Errorf("failed to read error from response body: %w", err) + } + apiError := core.NewAPIError( + statusCode, + errors.New(string(raw)), + ) + newErrorFunc, ok := errorCodes[statusCode] + if !ok { + // This status code isn't recognized, so we return + // the API error as-is. + return apiError + } + customError := newErrorFunc(apiError) + if err := json.NewDecoder(bytes.NewReader(raw)).Decode(customError); err != nil { + // If we fail to decode the error, we return the + // API error as-is. + return apiError + } + return customError + } +} diff --git a/seed/go-sdk/grpc-proto/internal/error_decoder_test.go b/seed/go-sdk/grpc-proto/internal/error_decoder_test.go new file mode 100644 index 00000000000..f305d7fef22 --- /dev/null +++ b/seed/go-sdk/grpc-proto/internal/error_decoder_test.go @@ -0,0 +1,55 @@ +package internal + +import ( + "bytes" + "errors" + "net/http" + "testing" + + "github.com/grpc-proto/fern/core" + "github.com/stretchr/testify/assert" +) + +func TestErrorDecoder(t *testing.T) { + decoder := NewErrorDecoder( + ErrorCodes{ + http.StatusNotFound: func(apiError *core.APIError) error { + return &NotFoundError{APIError: apiError} + }, + }) + + tests := []struct { + description string + giveStatusCode int + giveBody string + wantError error + }{ + { + description: "unrecognized status code", + giveStatusCode: http.StatusInternalServerError, + giveBody: "Internal Server Error", + wantError: core.NewAPIError(http.StatusInternalServerError, errors.New("Internal Server Error")), + }, + { + description: "not found with valid JSON", + giveStatusCode: http.StatusNotFound, + giveBody: `{"message": "Resource not found"}`, + wantError: &NotFoundError{ + APIError: core.NewAPIError(http.StatusNotFound, errors.New(`{"message": "Resource not found"}`)), + Message: "Resource not found", + }, + }, + { + description: "not found with invalid JSON", + giveStatusCode: http.StatusNotFound, + giveBody: `Resource not found`, + wantError: core.NewAPIError(http.StatusNotFound, errors.New("Resource not found")), + }, + } + + for _, tt := range tests { + t.Run(tt.description, func(t *testing.T) { + assert.Equal(t, tt.wantError, decoder(tt.giveStatusCode, bytes.NewReader([]byte(tt.giveBody)))) + }) + } +} diff --git a/seed/go-sdk/grpc-proto/internal/http.go b/seed/go-sdk/grpc-proto/internal/http.go index 2be0805a8be..768968bd621 100644 --- a/seed/go-sdk/grpc-proto/internal/http.go +++ b/seed/go-sdk/grpc-proto/internal/http.go @@ -11,6 +11,17 @@ type HTTPClient interface { Do(*http.Request) (*http.Response, error) } +// ResolveBaseURL resolves the base URL from the given arguments, +// preferring the first non-empty value. +func ResolveBaseURL(values ...string) string { + for _, value := range values { + if value != "" { + return value + } + } + return "" +} + // EncodeURL encodes the given arguments into the URL, escaping // values as needed. func EncodeURL(urlFormat string, args ...interface{}) string { diff --git a/seed/go-sdk/grpc-proto/userservice.go b/seed/go-sdk/grpc-proto/userservice.go index fb39ffb45e7..41894a1f5b3 100644 --- a/seed/go-sdk/grpc-proto/userservice.go +++ b/seed/go-sdk/grpc-proto/userservice.go @@ -20,7 +20,7 @@ type CreateResponse struct { User *UserModel `json:"user,omitempty" url:"user,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (c *CreateResponse) GetUser() *UserModel { @@ -41,20 +41,18 @@ func (c *CreateResponse) UnmarshalJSON(data []byte) error { return err } *c = CreateResponse(value) - extraProperties, err := internal.ExtractExtraProperties(data, *c) if err != nil { return err } c.extraProperties = extraProperties - - c._rawJSON = json.RawMessage(data) + c.rawJSON = json.RawMessage(data) return nil } func (c *CreateResponse) String() string { - if len(c._rawJSON) > 0 { - if value, err := internal.StringifyJSON(c._rawJSON); err == nil { + if len(c.rawJSON) > 0 { + if value, err := internal.StringifyJSON(c.rawJSON); err == nil { return value } } @@ -237,7 +235,7 @@ type UserModel struct { Metadata *Metadata `json:"metadata,omitempty" url:"metadata,omitempty"` extraProperties map[string]interface{} - _rawJSON json.RawMessage + rawJSON json.RawMessage } func (u *UserModel) GetUsername() *string { @@ -286,20 +284,18 @@ func (u *UserModel) UnmarshalJSON(data []byte) error { return err } *u = UserModel(value) - extraProperties, err := internal.ExtractExtraProperties(data, *u) if err != nil { return err } u.extraProperties = extraProperties - - u._rawJSON = json.RawMessage(data) + u.rawJSON = json.RawMessage(data) return nil } func (u *UserModel) String() string { - if len(u._rawJSON) > 0 { - if value, err := internal.StringifyJSON(u._rawJSON); err == nil { + if len(u.rawJSON) > 0 { + if value, err := internal.StringifyJSON(u.rawJSON); err == nil { return value } } diff --git a/seed/go-sdk/grpc-proto/userservice/client.go b/seed/go-sdk/grpc-proto/userservice/client.go index 634cae165e2..e4b9cf7aa12 100644 --- a/seed/go-sdk/grpc-proto/userservice/client.go +++ b/seed/go-sdk/grpc-proto/userservice/client.go @@ -37,17 +37,16 @@ func (c *Client) Create( opts ...option.RequestOption, ) (*fern.CreateResponse, error) { options := core.NewRequestOptions(opts...) - - baseURL := "" - if c.baseURL != "" { - baseURL = c.baseURL - } - if options.BaseURL != "" { - baseURL = options.BaseURL - } + baseURL := internal.ResolveBaseURL( + options.BaseURL, + c.baseURL, + "", + ) endpointURL := baseURL + "/users" - - headers := internal.MergeHeaders(c.header.Clone(), options.ToHeader()) + headers := internal.MergeHeaders( + c.header.Clone(), + options.ToHeader(), + ) headers.Set("Content-Type", "application/json") var response *fern.CreateResponse @@ -56,8 +55,8 @@ func (c *Client) Create( &internal.CallParams{ URL: endpointURL, Method: http.MethodPost, - MaxAttempts: options.MaxAttempts, Headers: headers, + MaxAttempts: options.MaxAttempts, BodyProperties: options.BodyProperties, QueryParameters: options.QueryParameters, Client: options.HTTPClient, diff --git a/seed/go-sdk/validation/dynamic-snippets/example0/snippet.go b/seed/go-sdk/validation/dynamic-snippets/example0/snippet.go index 16c5c59efba..45e5c39c653 100644 --- a/seed/go-sdk/validation/dynamic-snippets/example0/snippet.go +++ b/seed/go-sdk/validation/dynamic-snippets/example0/snippet.go @@ -11,9 +11,9 @@ func do() () { client.Create( context.TODO(), &fern.CreateRequest{ - Decimal: 1.1, - Even: 1, - Name: "name", + Decimal: 2.2, + Even: 100, + Name: "foo", Shape: fern.ShapeSquare, }, ) diff --git a/seed/go-sdk/validation/dynamic-snippets/example1/snippet.go b/seed/go-sdk/validation/dynamic-snippets/example1/snippet.go index 79c6da84dba..5e6fac5a66a 100644 --- a/seed/go-sdk/validation/dynamic-snippets/example1/snippet.go +++ b/seed/go-sdk/validation/dynamic-snippets/example1/snippet.go @@ -11,9 +11,9 @@ func do() () { client.Get( context.TODO(), &fern.GetRequest{ - Decimal: 1.1, - Even: 1, - Name: "name", + Decimal: 2.2, + Even: 100, + Name: "foo", }, ) } diff --git a/seed/go-sdk/validation/snippet.json b/seed/go-sdk/validation/snippet.json index ba92f7fa1a9..3cc7fd65492 100644 --- a/seed/go-sdk/validation/snippet.json +++ b/seed/go-sdk/validation/snippet.json @@ -8,7 +8,7 @@ }, "snippet": { "type": "go", - "client": "import (\n\tcontext \"context\"\n\tfern \"github.com/validation/fern\"\n\tfernclient \"github.com/validation/fern/client\"\n)\n\nclient := fernclient.NewClient()\nresponse, err := client.Get(\n\tcontext.TODO(),\n\t\u0026fern.GetRequest{\n\t\tDecimal: 1.1,\n\t\tEven: 1,\n\t\tName: \"name\",\n\t},\n)\n" + "client": "import (\n\tcontext \"context\"\n\tfern \"github.com/validation/fern\"\n\tfernclient \"github.com/validation/fern/client\"\n)\n\nclient := fernclient.NewClient()\nresponse, err := client.Get(\n\tcontext.TODO(),\n\t\u0026fern.GetRequest{\n\t\tDecimal: 2.2,\n\t\tEven: 100,\n\t\tName: \"foo\",\n\t},\n)\n" } }, { @@ -19,7 +19,7 @@ }, "snippet": { "type": "go", - "client": "import (\n\tcontext \"context\"\n\tfern \"github.com/validation/fern\"\n\tfernclient \"github.com/validation/fern/client\"\n)\n\nclient := fernclient.NewClient()\nresponse, err := client.Create(\n\tcontext.TODO(),\n\t\u0026fern.CreateRequest{\n\t\tDecimal: 1.1,\n\t\tEven: 1,\n\t\tName: \"name\",\n\t\tShape: fern.ShapeSquare,\n\t},\n)\n" + "client": "import (\n\tcontext \"context\"\n\tfern \"github.com/validation/fern\"\n\tfernclient \"github.com/validation/fern/client\"\n)\n\nclient := fernclient.NewClient()\nresponse, err := client.Create(\n\tcontext.TODO(),\n\t\u0026fern.CreateRequest{\n\t\tDecimal: 2.2,\n\t\tEven: 100,\n\t\tName: \"foo\",\n\t\tShape: fern.ShapeSquare,\n\t},\n)\n" } } ] diff --git a/seed/java-model/examples/.mock/definition/.service.yml.swp b/seed/java-model/examples/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/java-model/examples/.mock/definition/.service.yml.swp differ diff --git a/seed/java-model/file-upload/.mock/definition/service.yml b/seed/java-model/file-upload/.mock/definition/service.yml index 5ae95021c2d..956e6ba73ba 100644 --- a/seed/java-model/file-upload/.mock/definition/service.yml +++ b/seed/java-model/file-upload/.mock/definition/service.yml @@ -64,6 +64,9 @@ service: bar: type: MyObject content-type: application/json + foobar: + type: optional + content-type: application/json types: Id: string diff --git a/seed/java-model/license/.github/workflows/ci.yml b/seed/java-model/license/.github/workflows/ci.yml new file mode 100644 index 00000000000..8598a73092a --- /dev/null +++ b/seed/java-model/license/.github/workflows/ci.yml @@ -0,0 +1,61 @@ +name: ci + +on: [push] + +jobs: + compile: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set up Java + id: setup-jre + uses: actions/setup-java@v1 + with: + java-version: "11" + architecture: x64 + + - name: Compile + run: ./gradlew compileJava + + test: + needs: [ compile ] + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set up Java + id: setup-jre + uses: actions/setup-java@v1 + with: + java-version: "11" + architecture: x64 + + - name: Test + run: ./gradlew test + publish: + needs: [ compile, test ] + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set up Java + id: setup-jre + uses: actions/setup-java@v1 + with: + java-version: "11" + architecture: x64 + + - name: Publish to maven + run: | + ./gradlew publish + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + MAVEN_PUBLISH_REGISTRY_URL: "" diff --git a/seed/java-model/license/.gitignore b/seed/java-model/license/.gitignore new file mode 100644 index 00000000000..d4199abc2cd --- /dev/null +++ b/seed/java-model/license/.gitignore @@ -0,0 +1,24 @@ +*.class +.project +.gradle +? +.classpath +.checkstyle +.settings +.node +build + +# IntelliJ +*.iml +*.ipr +*.iws +.idea/ +out/ + +# Eclipse/IntelliJ APT +generated_src/ +generated_testSrc/ +generated/ + +bin +build \ No newline at end of file diff --git a/seed/java-model/license/.mock/definition/__package__.yml b/seed/java-model/license/.mock/definition/__package__.yml new file mode 100644 index 00000000000..b1e4d4a878f --- /dev/null +++ b/seed/java-model/license/.mock/definition/__package__.yml @@ -0,0 +1,13 @@ +types: + Type: + docs: A simple type with just a name. + properties: + name: string + +service: + auth: false + base-path: / + endpoints: + get: + path: "/" + method: GET diff --git a/seed/java-model/license/.mock/definition/api.yml b/seed/java-model/license/.mock/definition/api.yml new file mode 100644 index 00000000000..5523ff1f181 --- /dev/null +++ b/seed/java-model/license/.mock/definition/api.yml @@ -0,0 +1 @@ +name: license diff --git a/seed/csharp-model/code-samples/.mock/fern.config.json b/seed/java-model/license/.mock/fern.config.json similarity index 100% rename from seed/csharp-model/code-samples/.mock/fern.config.json rename to seed/java-model/license/.mock/fern.config.json diff --git a/seed/csharp-model/code-samples/.mock/generators.yml b/seed/java-model/license/.mock/generators.yml similarity index 100% rename from seed/csharp-model/code-samples/.mock/generators.yml rename to seed/java-model/license/.mock/generators.yml diff --git a/seed/java-model/license/build.gradle b/seed/java-model/license/build.gradle new file mode 100644 index 00000000000..7493b275aa8 --- /dev/null +++ b/seed/java-model/license/build.gradle @@ -0,0 +1,67 @@ +plugins { + id 'java-library' + id 'maven-publish' + id 'com.diffplug.spotless' version '6.11.0' +} + +repositories { + mavenCentral() + maven { + url 'https://s01.oss.sonatype.org/content/repositories/releases/' + } +} + +dependencies { + api 'com.fasterxml.jackson.core:jackson-databind:2.17.2' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2' +} + + +sourceCompatibility = 1.8 +targetCompatibility = 1.8 + +spotless { + java { + palantirJavaFormat() + } +} + +java { + withSourcesJar() + withJavadocJar() +} + +test { + useJUnitPlatform() + testLogging { + showStandardStreams = true + } +} +publishing { + publications { + maven(MavenPublication) { + groupId = 'com.fern' + artifactId = 'license' + version = '0.0.1' + from components.java + pom { + scm { + connection = 'scm:git:git://github.com/license/fern.git' + developerConnection = 'scm:git:git://github.com/license/fern.git' + url = 'https://github.com/license/fern' + } + } + } + } + repositories { + maven { + url "$System.env.MAVEN_PUBLISH_REGISTRY_URL" + credentials { + username "$System.env.MAVEN_USERNAME" + password "$System.env.MAVEN_PASSWORD" + } + } + } +} + diff --git a/seed/csharp-model/code-samples/snippet-templates.json b/seed/java-model/license/settings.gradle similarity index 100% rename from seed/csharp-model/code-samples/snippet-templates.json rename to seed/java-model/license/settings.gradle diff --git a/seed/csharp-model/enum/snippet-templates.json b/seed/java-model/license/snippet-templates.json similarity index 100% rename from seed/csharp-model/enum/snippet-templates.json rename to seed/java-model/license/snippet-templates.json diff --git a/seed/csharp-model/code-samples/snippet.json b/seed/java-model/license/snippet.json similarity index 100% rename from seed/csharp-model/code-samples/snippet.json rename to seed/java-model/license/snippet.json diff --git a/seed/java-model/license/src/main/java/com/seed/license/core/DateTimeDeserializer.java b/seed/java-model/license/src/main/java/com/seed/license/core/DateTimeDeserializer.java new file mode 100644 index 00000000000..d40c7d4dcfe --- /dev/null +++ b/seed/java-model/license/src/main/java/com/seed/license/core/DateTimeDeserializer.java @@ -0,0 +1,55 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.seed.license.core; + +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonDeserializer; +import com.fasterxml.jackson.databind.module.SimpleModule; +import java.io.IOException; +import java.time.Instant; +import java.time.LocalDateTime; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; +import java.time.format.DateTimeFormatter; +import java.time.temporal.TemporalAccessor; +import java.time.temporal.TemporalQueries; + +/** + * Custom deserializer that handles converting ISO8601 dates into {@link OffsetDateTime} objects. + */ +class DateTimeDeserializer extends JsonDeserializer { + private static final SimpleModule MODULE; + + static { + MODULE = new SimpleModule().addDeserializer(OffsetDateTime.class, new DateTimeDeserializer()); + } + + /** + * Gets a module wrapping this deserializer as an adapter for the Jackson ObjectMapper. + * + * @return A {@link SimpleModule} to be plugged onto Jackson ObjectMapper. + */ + public static SimpleModule getModule() { + return MODULE; + } + + @Override + public OffsetDateTime deserialize(JsonParser parser, DeserializationContext context) throws IOException { + JsonToken token = parser.currentToken(); + if (token == JsonToken.VALUE_NUMBER_INT) { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(parser.getValueAsLong()), ZoneOffset.UTC); + } else { + TemporalAccessor temporal = DateTimeFormatter.ISO_DATE_TIME.parseBest( + parser.getValueAsString(), OffsetDateTime::from, LocalDateTime::from); + + if (temporal.query(TemporalQueries.offset()) == null) { + return LocalDateTime.from(temporal).atOffset(ZoneOffset.UTC); + } else { + return OffsetDateTime.from(temporal); + } + } + } +} diff --git a/seed/java-model/license/src/main/java/com/seed/license/core/ObjectMappers.java b/seed/java-model/license/src/main/java/com/seed/license/core/ObjectMappers.java new file mode 100644 index 00000000000..8b4851fb4b6 --- /dev/null +++ b/seed/java-model/license/src/main/java/com/seed/license/core/ObjectMappers.java @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.seed.license.core; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.DeserializationFeature; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.SerializationFeature; +import com.fasterxml.jackson.databind.json.JsonMapper; +import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import java.io.IOException; + +public final class ObjectMappers { + public static final ObjectMapper JSON_MAPPER = JsonMapper.builder() + .addModule(new Jdk8Module()) + .addModule(new JavaTimeModule()) + .addModule(DateTimeDeserializer.getModule()) + .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) + .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) + .build(); + + private ObjectMappers() {} + + public static String stringify(Object o) { + try { + return JSON_MAPPER + .setSerializationInclusion(JsonInclude.Include.ALWAYS) + .writerWithDefaultPrettyPrinter() + .writeValueAsString(o); + } catch (IOException e) { + return o.getClass().getName() + "@" + Integer.toHexString(o.hashCode()); + } + } +} diff --git a/seed/java-model/license/src/main/java/com/seed/license/model/Type.java b/seed/java-model/license/src/main/java/com/seed/license/model/Type.java new file mode 100644 index 00000000000..990813048a9 --- /dev/null +++ b/seed/java-model/license/src/main/java/com/seed/license/model/Type.java @@ -0,0 +1,86 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.seed.license.model; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonSetter; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.seed.license.core.ObjectMappers; +import java.util.Objects; + +@JsonInclude(JsonInclude.Include.NON_ABSENT) +@JsonDeserialize(builder = Type.Builder.class) +public final class Type { + private final String name; + + private Type(String name) { + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof Type && equalTo((Type) other); + } + + private boolean equalTo(Type other) { + return name.equals(other.name); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.name); + } + + @java.lang.Override + public String toString() { + return ObjectMappers.stringify(this); + } + + public static NameStage builder() { + return new Builder(); + } + + public interface NameStage { + _FinalStage name(String name); + + Builder from(Type other); + } + + public interface _FinalStage { + Type build(); + } + + @JsonIgnoreProperties(ignoreUnknown = true) + public static final class Builder implements NameStage, _FinalStage { + private String name; + + private Builder() {} + + @java.lang.Override + public Builder from(Type other) { + name(other.getName()); + return this; + } + + @java.lang.Override + @JsonSetter("name") + public _FinalStage name(String name) { + this.name = Objects.requireNonNull(name, "name must not be null"); + return this; + } + + @java.lang.Override + public Type build() { + return new Type(name); + } + } +} diff --git a/seed/java-model/pagination/.mock/definition/users.yml b/seed/java-model/pagination/.mock/definition/users.yml index ecde10ef707..ddc0bc1848b 100644 --- a/seed/java-model/pagination/.mock/definition/users.yml +++ b/seed/java-model/pagination/.mock/definition/users.yml @@ -1,9 +1,9 @@ imports: root: __package__.yml -types: - Order: - enum: +types: + Order: + enum: - asc - desc @@ -15,8 +15,8 @@ types: properties: cursor: optional - UserListContainer: - properties: + UserListContainer: + properties: users: list UserPage: @@ -24,60 +24,59 @@ types: data: UserListContainer next: optional - UserOptionalListContainer: - properties: + UserOptionalListContainer: + properties: users: optional> UserOptionalListPage: properties: data: UserOptionalListContainer next: optional - UsernameContainer: properties: results: list - ListUsersExtendedResponse: + ListUsersExtendedResponse: extends: - UserPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - ListUsersExtendedOptionalListResponse: + ListUsersExtendedOptionalListResponse: extends: - UserOptionalListPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - - ListUsersPaginationResponse: - properties: + + ListUsersPaginationResponse: + properties: hasNextPage: optional page: optional - total_count: + total_count: type: integer docs: The totall number of /users data: list - Page: - properties: - page: + Page: + properties: + page: type: integer docs: The current page next: optional per_page: integer total_page: integer - NextPage: - properties: + NextPage: + properties: page: integer starting_after: string - User: - properties: + User: + properties: name: string id: integer @@ -86,7 +85,7 @@ service: base-path: /users endpoints: listWithCursorPagination: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.page.next.starting_after results: $response.data @@ -95,41 +94,41 @@ service: request: name: ListUsersCursorPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyCursorPagination: - pagination: + pagination: cursor: $request.pagination.cursor next_cursor: $response.page.next.starting_after results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyCursorPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithOffsetPagination: - pagination: + pagination: offset: $request.page results: $response.data method: GET @@ -137,38 +136,37 @@ service: request: name: ListUsersOffsetPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyOffsetPagination: - pagination: + pagination: offset: $request.pagination.page results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyOffsetPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the offset used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse - listWithOffsetStepPagination: pagination: offset: $request.page @@ -191,8 +189,8 @@ service: order: type: optional response: ListUsersPaginationResponse - - listWithOffsetPaginationHasNextPage: + + listWithOffsetPaginationHasNextPage: pagination: offset: $request.page results: $response.data @@ -217,7 +215,7 @@ service: response: ListUsersPaginationResponse listWithExtendedResults: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -230,7 +228,7 @@ service: response: ListUsersExtendedResponse listWithExtendedResultsAndOptionalData: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -243,7 +241,7 @@ service: response: ListUsersExtendedOptionalListResponse listUsernames: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.cursor.after results: $response.cursor.data @@ -252,10 +250,10 @@ service: request: name: ListUsernamesRequest query-parameters: - starting_after: + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: root.UsernameCursor @@ -266,6 +264,6 @@ service: request: name: ListWithGlobalConfigRequest query-parameters: - offset: + offset: type: optional response: UsernameContainer \ No newline at end of file diff --git a/seed/java-model/server-sent-event-examples/.github/workflows/ci.yml b/seed/java-model/server-sent-event-examples/.github/workflows/ci.yml new file mode 100644 index 00000000000..8598a73092a --- /dev/null +++ b/seed/java-model/server-sent-event-examples/.github/workflows/ci.yml @@ -0,0 +1,61 @@ +name: ci + +on: [push] + +jobs: + compile: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set up Java + id: setup-jre + uses: actions/setup-java@v1 + with: + java-version: "11" + architecture: x64 + + - name: Compile + run: ./gradlew compileJava + + test: + needs: [ compile ] + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set up Java + id: setup-jre + uses: actions/setup-java@v1 + with: + java-version: "11" + architecture: x64 + + - name: Test + run: ./gradlew test + publish: + needs: [ compile, test ] + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set up Java + id: setup-jre + uses: actions/setup-java@v1 + with: + java-version: "11" + architecture: x64 + + - name: Publish to maven + run: | + ./gradlew publish + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + MAVEN_PUBLISH_REGISTRY_URL: "" diff --git a/seed/java-model/server-sent-event-examples/.gitignore b/seed/java-model/server-sent-event-examples/.gitignore new file mode 100644 index 00000000000..d4199abc2cd --- /dev/null +++ b/seed/java-model/server-sent-event-examples/.gitignore @@ -0,0 +1,24 @@ +*.class +.project +.gradle +? +.classpath +.checkstyle +.settings +.node +build + +# IntelliJ +*.iml +*.ipr +*.iws +.idea/ +out/ + +# Eclipse/IntelliJ APT +generated_src/ +generated_testSrc/ +generated/ + +bin +build \ No newline at end of file diff --git a/seed/java-model/server-sent-event-examples/.mock/definition/api.yml b/seed/java-model/server-sent-event-examples/.mock/definition/api.yml new file mode 100644 index 00000000000..80e84c41785 --- /dev/null +++ b/seed/java-model/server-sent-event-examples/.mock/definition/api.yml @@ -0,0 +1 @@ +name: server-sent-events diff --git a/seed/java-model/server-sent-event-examples/.mock/definition/completions.yml b/seed/java-model/server-sent-event-examples/.mock/definition/completions.yml new file mode 100644 index 00000000000..09a88253331 --- /dev/null +++ b/seed/java-model/server-sent-event-examples/.mock/definition/completions.yml @@ -0,0 +1,36 @@ +types: + StreamedCompletion: + properties: + delta: string + tokens: optional + +service: + auth: false + base-path: "" + endpoints: + stream: + method: POST + path: /stream + request: + name: StreamCompletionRequest + body: + properties: + query: string + response-stream: + type: StreamedCompletion + format: sse + terminator: "[[DONE]]" + examples: + - name: "Stream completions" + request: + query: "foo" + response: + stream: + - event: discriminant-1 + data: + delta: "foo" + tokens: 1 + - event: discriminant-2 + data: + delta: "bar" + tokens: 2 diff --git a/seed/csharp-model/enum/.mock/fern.config.json b/seed/java-model/server-sent-event-examples/.mock/fern.config.json similarity index 100% rename from seed/csharp-model/enum/.mock/fern.config.json rename to seed/java-model/server-sent-event-examples/.mock/fern.config.json diff --git a/seed/csharp-model/enum/.mock/generators.yml b/seed/java-model/server-sent-event-examples/.mock/generators.yml similarity index 100% rename from seed/csharp-model/enum/.mock/generators.yml rename to seed/java-model/server-sent-event-examples/.mock/generators.yml diff --git a/seed/java-model/server-sent-event-examples/build.gradle b/seed/java-model/server-sent-event-examples/build.gradle new file mode 100644 index 00000000000..9258eb95238 --- /dev/null +++ b/seed/java-model/server-sent-event-examples/build.gradle @@ -0,0 +1,67 @@ +plugins { + id 'java-library' + id 'maven-publish' + id 'com.diffplug.spotless' version '6.11.0' +} + +repositories { + mavenCentral() + maven { + url 'https://s01.oss.sonatype.org/content/repositories/releases/' + } +} + +dependencies { + api 'com.fasterxml.jackson.core:jackson-databind:2.17.2' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2' +} + + +sourceCompatibility = 1.8 +targetCompatibility = 1.8 + +spotless { + java { + palantirJavaFormat() + } +} + +java { + withSourcesJar() + withJavadocJar() +} + +test { + useJUnitPlatform() + testLogging { + showStandardStreams = true + } +} +publishing { + publications { + maven(MavenPublication) { + groupId = 'com.fern' + artifactId = 'server-sent-event-examples' + version = '0.0.1' + from components.java + pom { + scm { + connection = 'scm:git:git://github.com/server-sent-event-examples/fern.git' + developerConnection = 'scm:git:git://github.com/server-sent-event-examples/fern.git' + url = 'https://github.com/server-sent-event-examples/fern' + } + } + } + } + repositories { + maven { + url "$System.env.MAVEN_PUBLISH_REGISTRY_URL" + credentials { + username "$System.env.MAVEN_USERNAME" + password "$System.env.MAVEN_PASSWORD" + } + } + } +} + diff --git a/seed/csharp-model/enum/snippet.json b/seed/java-model/server-sent-event-examples/settings.gradle similarity index 100% rename from seed/csharp-model/enum/snippet.json rename to seed/java-model/server-sent-event-examples/settings.gradle diff --git a/seed/csharp-model/grpc/snippet-templates.json b/seed/java-model/server-sent-event-examples/snippet-templates.json similarity index 100% rename from seed/csharp-model/grpc/snippet-templates.json rename to seed/java-model/server-sent-event-examples/snippet-templates.json diff --git a/seed/csharp-model/grpc/snippet.json b/seed/java-model/server-sent-event-examples/snippet.json similarity index 100% rename from seed/csharp-model/grpc/snippet.json rename to seed/java-model/server-sent-event-examples/snippet.json diff --git a/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/core/DateTimeDeserializer.java b/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/core/DateTimeDeserializer.java new file mode 100644 index 00000000000..180511c8a53 --- /dev/null +++ b/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/core/DateTimeDeserializer.java @@ -0,0 +1,55 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.seed.serverSentEvents.core; + +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonDeserializer; +import com.fasterxml.jackson.databind.module.SimpleModule; +import java.io.IOException; +import java.time.Instant; +import java.time.LocalDateTime; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; +import java.time.format.DateTimeFormatter; +import java.time.temporal.TemporalAccessor; +import java.time.temporal.TemporalQueries; + +/** + * Custom deserializer that handles converting ISO8601 dates into {@link OffsetDateTime} objects. + */ +class DateTimeDeserializer extends JsonDeserializer { + private static final SimpleModule MODULE; + + static { + MODULE = new SimpleModule().addDeserializer(OffsetDateTime.class, new DateTimeDeserializer()); + } + + /** + * Gets a module wrapping this deserializer as an adapter for the Jackson ObjectMapper. + * + * @return A {@link SimpleModule} to be plugged onto Jackson ObjectMapper. + */ + public static SimpleModule getModule() { + return MODULE; + } + + @Override + public OffsetDateTime deserialize(JsonParser parser, DeserializationContext context) throws IOException { + JsonToken token = parser.currentToken(); + if (token == JsonToken.VALUE_NUMBER_INT) { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(parser.getValueAsLong()), ZoneOffset.UTC); + } else { + TemporalAccessor temporal = DateTimeFormatter.ISO_DATE_TIME.parseBest( + parser.getValueAsString(), OffsetDateTime::from, LocalDateTime::from); + + if (temporal.query(TemporalQueries.offset()) == null) { + return LocalDateTime.from(temporal).atOffset(ZoneOffset.UTC); + } else { + return OffsetDateTime.from(temporal); + } + } + } +} diff --git a/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/core/ObjectMappers.java b/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/core/ObjectMappers.java new file mode 100644 index 00000000000..f0bd140fc48 --- /dev/null +++ b/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/core/ObjectMappers.java @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.seed.serverSentEvents.core; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.DeserializationFeature; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.SerializationFeature; +import com.fasterxml.jackson.databind.json.JsonMapper; +import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import java.io.IOException; + +public final class ObjectMappers { + public static final ObjectMapper JSON_MAPPER = JsonMapper.builder() + .addModule(new Jdk8Module()) + .addModule(new JavaTimeModule()) + .addModule(DateTimeDeserializer.getModule()) + .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) + .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) + .build(); + + private ObjectMappers() {} + + public static String stringify(Object o) { + try { + return JSON_MAPPER + .setSerializationInclusion(JsonInclude.Include.ALWAYS) + .writerWithDefaultPrettyPrinter() + .writeValueAsString(o); + } catch (IOException e) { + return o.getClass().getName() + "@" + Integer.toHexString(o.hashCode()); + } + } +} diff --git a/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/model/completions/StreamedCompletion.java b/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/model/completions/StreamedCompletion.java new file mode 100644 index 00000000000..b271add6f6f --- /dev/null +++ b/seed/java-model/server-sent-event-examples/src/main/java/com/seed/serverSentEvents/model/completions/StreamedCompletion.java @@ -0,0 +1,116 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.seed.serverSentEvents.model.completions; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonSetter; +import com.fasterxml.jackson.annotation.Nulls; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.seed.serverSentEvents.core.ObjectMappers; +import java.util.Objects; +import java.util.Optional; + +@JsonInclude(JsonInclude.Include.NON_ABSENT) +@JsonDeserialize(builder = StreamedCompletion.Builder.class) +public final class StreamedCompletion { + private final String delta; + + private final Optional tokens; + + private StreamedCompletion(String delta, Optional tokens) { + this.delta = delta; + this.tokens = tokens; + } + + @JsonProperty("delta") + public String getDelta() { + return delta; + } + + @JsonProperty("tokens") + public Optional getTokens() { + return tokens; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof StreamedCompletion && equalTo((StreamedCompletion) other); + } + + private boolean equalTo(StreamedCompletion other) { + return delta.equals(other.delta) && tokens.equals(other.tokens); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.delta, this.tokens); + } + + @java.lang.Override + public String toString() { + return ObjectMappers.stringify(this); + } + + public static DeltaStage builder() { + return new Builder(); + } + + public interface DeltaStage { + _FinalStage delta(String delta); + + Builder from(StreamedCompletion other); + } + + public interface _FinalStage { + StreamedCompletion build(); + + _FinalStage tokens(Optional tokens); + + _FinalStage tokens(Integer tokens); + } + + @JsonIgnoreProperties(ignoreUnknown = true) + public static final class Builder implements DeltaStage, _FinalStage { + private String delta; + + private Optional tokens = Optional.empty(); + + private Builder() {} + + @java.lang.Override + public Builder from(StreamedCompletion other) { + delta(other.getDelta()); + tokens(other.getTokens()); + return this; + } + + @java.lang.Override + @JsonSetter("delta") + public _FinalStage delta(String delta) { + this.delta = Objects.requireNonNull(delta, "delta must not be null"); + return this; + } + + @java.lang.Override + public _FinalStage tokens(Integer tokens) { + this.tokens = Optional.ofNullable(tokens); + return this; + } + + @java.lang.Override + @JsonSetter(value = "tokens", nulls = Nulls.SKIP) + public _FinalStage tokens(Optional tokens) { + this.tokens = tokens; + return this; + } + + @java.lang.Override + public StreamedCompletion build() { + return new StreamedCompletion(delta, tokens); + } + } +} diff --git a/seed/java-sdk/examples/.mock/definition/.service.yml.swp b/seed/java-sdk/examples/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/java-sdk/examples/.mock/definition/.service.yml.swp differ diff --git a/seed/java-sdk/pagination/.mock/definition/users.yml b/seed/java-sdk/pagination/.mock/definition/users.yml index ecde10ef707..ddc0bc1848b 100644 --- a/seed/java-sdk/pagination/.mock/definition/users.yml +++ b/seed/java-sdk/pagination/.mock/definition/users.yml @@ -1,9 +1,9 @@ imports: root: __package__.yml -types: - Order: - enum: +types: + Order: + enum: - asc - desc @@ -15,8 +15,8 @@ types: properties: cursor: optional - UserListContainer: - properties: + UserListContainer: + properties: users: list UserPage: @@ -24,60 +24,59 @@ types: data: UserListContainer next: optional - UserOptionalListContainer: - properties: + UserOptionalListContainer: + properties: users: optional> UserOptionalListPage: properties: data: UserOptionalListContainer next: optional - UsernameContainer: properties: results: list - ListUsersExtendedResponse: + ListUsersExtendedResponse: extends: - UserPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - ListUsersExtendedOptionalListResponse: + ListUsersExtendedOptionalListResponse: extends: - UserOptionalListPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - - ListUsersPaginationResponse: - properties: + + ListUsersPaginationResponse: + properties: hasNextPage: optional page: optional - total_count: + total_count: type: integer docs: The totall number of /users data: list - Page: - properties: - page: + Page: + properties: + page: type: integer docs: The current page next: optional per_page: integer total_page: integer - NextPage: - properties: + NextPage: + properties: page: integer starting_after: string - User: - properties: + User: + properties: name: string id: integer @@ -86,7 +85,7 @@ service: base-path: /users endpoints: listWithCursorPagination: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.page.next.starting_after results: $response.data @@ -95,41 +94,41 @@ service: request: name: ListUsersCursorPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyCursorPagination: - pagination: + pagination: cursor: $request.pagination.cursor next_cursor: $response.page.next.starting_after results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyCursorPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithOffsetPagination: - pagination: + pagination: offset: $request.page results: $response.data method: GET @@ -137,38 +136,37 @@ service: request: name: ListUsersOffsetPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyOffsetPagination: - pagination: + pagination: offset: $request.pagination.page results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyOffsetPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the offset used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse - listWithOffsetStepPagination: pagination: offset: $request.page @@ -191,8 +189,8 @@ service: order: type: optional response: ListUsersPaginationResponse - - listWithOffsetPaginationHasNextPage: + + listWithOffsetPaginationHasNextPage: pagination: offset: $request.page results: $response.data @@ -217,7 +215,7 @@ service: response: ListUsersPaginationResponse listWithExtendedResults: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -230,7 +228,7 @@ service: response: ListUsersExtendedResponse listWithExtendedResultsAndOptionalData: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -243,7 +241,7 @@ service: response: ListUsersExtendedOptionalListResponse listUsernames: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.cursor.after results: $response.cursor.data @@ -252,10 +250,10 @@ service: request: name: ListUsernamesRequest query-parameters: - starting_after: + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: root.UsernameCursor @@ -266,6 +264,6 @@ service: request: name: ListWithGlobalConfigRequest query-parameters: - offset: + offset: type: optional response: UsernameContainer \ No newline at end of file diff --git a/seed/postman/examples/.mock/definition/.service.yml.swp b/seed/postman/examples/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/postman/examples/.mock/definition/.service.yml.swp differ diff --git a/seed/postman/file-upload/.mock/definition/service.yml b/seed/postman/file-upload/.mock/definition/service.yml index 5ae95021c2d..956e6ba73ba 100644 --- a/seed/postman/file-upload/.mock/definition/service.yml +++ b/seed/postman/file-upload/.mock/definition/service.yml @@ -64,6 +64,9 @@ service: bar: type: MyObject content-type: application/json + foobar: + type: optional + content-type: application/json types: Id: string diff --git a/seed/postman/pagination/.mock/definition/users.yml b/seed/postman/pagination/.mock/definition/users.yml index ecde10ef707..ddc0bc1848b 100644 --- a/seed/postman/pagination/.mock/definition/users.yml +++ b/seed/postman/pagination/.mock/definition/users.yml @@ -1,9 +1,9 @@ imports: root: __package__.yml -types: - Order: - enum: +types: + Order: + enum: - asc - desc @@ -15,8 +15,8 @@ types: properties: cursor: optional - UserListContainer: - properties: + UserListContainer: + properties: users: list UserPage: @@ -24,60 +24,59 @@ types: data: UserListContainer next: optional - UserOptionalListContainer: - properties: + UserOptionalListContainer: + properties: users: optional> UserOptionalListPage: properties: data: UserOptionalListContainer next: optional - UsernameContainer: properties: results: list - ListUsersExtendedResponse: + ListUsersExtendedResponse: extends: - UserPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - ListUsersExtendedOptionalListResponse: + ListUsersExtendedOptionalListResponse: extends: - UserOptionalListPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - - ListUsersPaginationResponse: - properties: + + ListUsersPaginationResponse: + properties: hasNextPage: optional page: optional - total_count: + total_count: type: integer docs: The totall number of /users data: list - Page: - properties: - page: + Page: + properties: + page: type: integer docs: The current page next: optional per_page: integer total_page: integer - NextPage: - properties: + NextPage: + properties: page: integer starting_after: string - User: - properties: + User: + properties: name: string id: integer @@ -86,7 +85,7 @@ service: base-path: /users endpoints: listWithCursorPagination: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.page.next.starting_after results: $response.data @@ -95,41 +94,41 @@ service: request: name: ListUsersCursorPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyCursorPagination: - pagination: + pagination: cursor: $request.pagination.cursor next_cursor: $response.page.next.starting_after results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyCursorPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithOffsetPagination: - pagination: + pagination: offset: $request.page results: $response.data method: GET @@ -137,38 +136,37 @@ service: request: name: ListUsersOffsetPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyOffsetPagination: - pagination: + pagination: offset: $request.pagination.page results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyOffsetPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the offset used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse - listWithOffsetStepPagination: pagination: offset: $request.page @@ -191,8 +189,8 @@ service: order: type: optional response: ListUsersPaginationResponse - - listWithOffsetPaginationHasNextPage: + + listWithOffsetPaginationHasNextPage: pagination: offset: $request.page results: $response.data @@ -217,7 +215,7 @@ service: response: ListUsersPaginationResponse listWithExtendedResults: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -230,7 +228,7 @@ service: response: ListUsersExtendedResponse listWithExtendedResultsAndOptionalData: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -243,7 +241,7 @@ service: response: ListUsersExtendedOptionalListResponse listUsernames: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.cursor.after results: $response.cursor.data @@ -252,10 +250,10 @@ service: request: name: ListUsernamesRequest query-parameters: - starting_after: + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: root.UsernameCursor @@ -266,6 +264,6 @@ service: request: name: ListWithGlobalConfigRequest query-parameters: - offset: + offset: type: optional response: UsernameContainer \ No newline at end of file diff --git a/seed/postman/validation/collection.json b/seed/postman/validation/collection.json index 7fb804034f8..203bea9be51 100644 --- a/seed/postman/validation/collection.json +++ b/seed/postman/validation/collection.json @@ -40,7 +40,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"decimal\": 1.1,\n \"even\": 1,\n \"name\": \"name\",\n \"shape\": \"SQUARE\"\n}", + "raw": "{\n \"decimal\": 2.2,\n \"even\": 100,\n \"name\": \"foo\",\n \"shape\": \"SQUARE\"\n}", "options": { "raw": { "language": "json" @@ -77,7 +77,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"decimal\": 1.1,\n \"even\": 1,\n \"name\": \"name\",\n \"shape\": \"SQUARE\"\n}", + "raw": "{\n \"decimal\": 2.2,\n \"even\": 100,\n \"name\": \"foo\",\n \"shape\": \"SQUARE\"\n}", "options": { "raw": { "language": "json" @@ -86,7 +86,7 @@ } }, "description": null, - "body": "{\n \"decimal\": 1.1,\n \"even\": 1,\n \"name\": \"name\",\n \"shape\": \"SQUARE\"\n}", + "body": "{\n \"decimal\": 2.2,\n \"even\": 100,\n \"name\": \"foo\",\n \"shape\": \"SQUARE\"\n}", "_postman_previewlanguage": "json" } ] @@ -97,7 +97,7 @@ "request": { "description": null, "url": { - "raw": "{{baseUrl}}?decimal=1.1&even=1&name=name", + "raw": "{{baseUrl}}?decimal=2.2&even=100&name=foo", "host": [ "{{baseUrl}}" ], @@ -106,17 +106,17 @@ { "key": "decimal", "description": null, - "value": "1.1" + "value": "2.2" }, { "key": "even", "description": null, - "value": "1" + "value": "100" }, { "key": "name", "description": null, - "value": "name" + "value": "foo" } ], "variable": [] @@ -140,7 +140,7 @@ "originalRequest": { "description": null, "url": { - "raw": "{{baseUrl}}?decimal=1.1&even=1&name=name", + "raw": "{{baseUrl}}?decimal=2.2&even=100&name=foo", "host": [ "{{baseUrl}}" ], @@ -149,17 +149,17 @@ { "key": "decimal", "description": null, - "value": "1.1" + "value": "2.2" }, { "key": "even", "description": null, - "value": "1" + "value": "100" }, { "key": "name", "description": null, - "value": "name" + "value": "foo" } ], "variable": [] @@ -176,7 +176,7 @@ "body": null }, "description": null, - "body": "{\n \"decimal\": 1.1,\n \"even\": 1,\n \"name\": \"name\",\n \"shape\": \"SQUARE\"\n}", + "body": "{\n \"decimal\": 2.2,\n \"even\": 100,\n \"name\": \"foo\",\n \"shape\": \"SQUARE\"\n}", "_postman_previewlanguage": "json" } ] diff --git a/seed/ruby-sdk/examples/.mock/definition/.service.yml.swp b/seed/ruby-sdk/examples/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/ruby-sdk/examples/.mock/definition/.service.yml.swp differ diff --git a/seed/ruby-sdk/pagination/.mock/definition/users.yml b/seed/ruby-sdk/pagination/.mock/definition/users.yml index ecde10ef707..ddc0bc1848b 100644 --- a/seed/ruby-sdk/pagination/.mock/definition/users.yml +++ b/seed/ruby-sdk/pagination/.mock/definition/users.yml @@ -1,9 +1,9 @@ imports: root: __package__.yml -types: - Order: - enum: +types: + Order: + enum: - asc - desc @@ -15,8 +15,8 @@ types: properties: cursor: optional - UserListContainer: - properties: + UserListContainer: + properties: users: list UserPage: @@ -24,60 +24,59 @@ types: data: UserListContainer next: optional - UserOptionalListContainer: - properties: + UserOptionalListContainer: + properties: users: optional> UserOptionalListPage: properties: data: UserOptionalListContainer next: optional - UsernameContainer: properties: results: list - ListUsersExtendedResponse: + ListUsersExtendedResponse: extends: - UserPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - ListUsersExtendedOptionalListResponse: + ListUsersExtendedOptionalListResponse: extends: - UserOptionalListPage properties: - total_count: + total_count: type: integer docs: The totall number of /users - - ListUsersPaginationResponse: - properties: + + ListUsersPaginationResponse: + properties: hasNextPage: optional page: optional - total_count: + total_count: type: integer docs: The totall number of /users data: list - Page: - properties: - page: + Page: + properties: + page: type: integer docs: The current page next: optional per_page: integer total_page: integer - NextPage: - properties: + NextPage: + properties: page: integer starting_after: string - User: - properties: + User: + properties: name: string id: integer @@ -86,7 +85,7 @@ service: base-path: /users endpoints: listWithCursorPagination: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.page.next.starting_after results: $response.data @@ -95,41 +94,41 @@ service: request: name: ListUsersCursorPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyCursorPagination: - pagination: + pagination: cursor: $request.pagination.cursor next_cursor: $response.page.next.starting_after results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyCursorPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithOffsetPagination: - pagination: + pagination: offset: $request.page results: $response.data method: GET @@ -137,38 +136,37 @@ service: request: name: ListUsersOffsetPaginationRequest query-parameters: - page: + page: type: optional docs: Defaults to first page - per_page: + per_page: type: optional docs: Defaults to per page - order: - type: optional - starting_after: + order: + type: optional + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse listWithBodyOffsetPagination: - pagination: + pagination: offset: $request.pagination.page results: $response.data method: POST path: "" - request: + request: name: ListUsersBodyOffsetPaginationRequest - body: + body: properties: - pagination: + pagination: type: optional - docs: | + docs: | The object that contains the offset used for pagination in order to fetch the next page of results. response: ListUsersPaginationResponse - listWithOffsetStepPagination: pagination: offset: $request.page @@ -191,8 +189,8 @@ service: order: type: optional response: ListUsersPaginationResponse - - listWithOffsetPaginationHasNextPage: + + listWithOffsetPaginationHasNextPage: pagination: offset: $request.page results: $response.data @@ -217,7 +215,7 @@ service: response: ListUsersPaginationResponse listWithExtendedResults: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -230,7 +228,7 @@ service: response: ListUsersExtendedResponse listWithExtendedResultsAndOptionalData: - pagination: + pagination: cursor: $request.cursor next_cursor: $response.next results: $response.data.users @@ -243,7 +241,7 @@ service: response: ListUsersExtendedOptionalListResponse listUsernames: - pagination: + pagination: cursor: $request.starting_after next_cursor: $response.cursor.after results: $response.cursor.data @@ -252,10 +250,10 @@ service: request: name: ListUsernamesRequest query-parameters: - starting_after: + starting_after: type: optional - docs: | - The cursor used for pagination in order to fetch + docs: | + The cursor used for pagination in order to fetch the next page of results. response: root.UsernameCursor @@ -266,6 +264,6 @@ service: request: name: ListWithGlobalConfigRequest query-parameters: - offset: + offset: type: optional response: UsernameContainer \ No newline at end of file diff --git a/seed/ruby-sdk/validation/lib/fern_validation.rb b/seed/ruby-sdk/validation/lib/fern_validation.rb index dcfbbb2245c..6333003628f 100644 --- a/seed/ruby-sdk/validation/lib/fern_validation.rb +++ b/seed/ruby-sdk/validation/lib/fern_validation.rb @@ -28,9 +28,9 @@ def initialize(base_url: nil, max_retries: nil, timeout_in_seconds: nil) # @example # validation = SeedValidationClient::Client.new(base_url: "https://api.example.com") # validation.create( - # decimal: 1.1, - # even: 1, - # name: "name", + # decimal: 2.2, + # even: 100, + # name: "foo", # shape: SQUARE # ) def create(decimal:, even:, name:, shape:, request_options: nil) @@ -64,9 +64,9 @@ def create(decimal:, even:, name:, shape:, request_options: nil) # @example # validation = SeedValidationClient::Client.new(base_url: "https://api.example.com") # validation.get( - # decimal: 1.1, - # even: 1, - # name: "name" + # decimal: 2.2, + # even: 100, + # name: "foo" # ) def get(decimal:, even:, name:, request_options: nil) response = @request_client.conn.get do |req| @@ -113,9 +113,9 @@ def initialize(base_url: nil, max_retries: nil, timeout_in_seconds: nil) # @example # validation = SeedValidationClient::Client.new(base_url: "https://api.example.com") # validation.create( - # decimal: 1.1, - # even: 1, - # name: "name", + # decimal: 2.2, + # even: 100, + # name: "foo", # shape: SQUARE # ) def create(decimal:, even:, name:, shape:, request_options: nil) @@ -149,9 +149,9 @@ def create(decimal:, even:, name:, shape:, request_options: nil) # @example # validation = SeedValidationClient::Client.new(base_url: "https://api.example.com") # validation.get( - # decimal: 1.1, - # even: 1, - # name: "name" + # decimal: 2.2, + # even: 100, + # name: "foo" # ) def get(decimal:, even:, name:, request_options: nil) response = @async_request_client.conn.get do |req| diff --git a/seed/ruby-sdk/validation/snippet.json b/seed/ruby-sdk/validation/snippet.json index 4b0e1af18fe..b30f304f21a 100644 --- a/seed/ruby-sdk/validation/snippet.json +++ b/seed/ruby-sdk/validation/snippet.json @@ -7,7 +7,7 @@ "identifierOverride": "endpoint_.create" }, "snippet": { - "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.create(\n decimal: 1.1,\n even: 1,\n name: \"name\",\n shape: SQUARE\n)", + "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.create(\n decimal: 2.2,\n even: 100,\n name: \"foo\",\n shape: SQUARE\n)", "type": "ruby" } }, @@ -18,7 +18,7 @@ "identifierOverride": "endpoint_.get" }, "snippet": { - "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.get(\n decimal: 1.1,\n even: 1,\n name: \"name\"\n)", + "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.get(\n decimal: 2.2,\n even: 100,\n name: \"foo\"\n)", "type": "ruby" } }, @@ -29,7 +29,7 @@ "identifierOverride": "endpoint_.create" }, "snippet": { - "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.create(\n decimal: 1.1,\n even: 1,\n name: \"name\",\n shape: SQUARE\n)", + "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.create(\n decimal: 2.2,\n even: 100,\n name: \"foo\",\n shape: SQUARE\n)", "type": "ruby" } }, @@ -40,7 +40,7 @@ "identifierOverride": "endpoint_.get" }, "snippet": { - "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.get(\n decimal: 1.1,\n even: 1,\n name: \"name\"\n)", + "client": "require \"fern_validation\"\n\nvalidation = SeedValidationClient::Client.new(base_url: \"https://api.example.com\")\nvalidation.get(\n decimal: 2.2,\n even: 100,\n name: \"foo\"\n)", "type": "ruby" } } diff --git a/seed/ts-sdk/examples/examples-with-api-reference/.mock/definition/.service.yml.swp b/seed/ts-sdk/examples/examples-with-api-reference/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/ts-sdk/examples/examples-with-api-reference/.mock/definition/.service.yml.swp differ diff --git a/seed/ts-sdk/examples/retain-original-casing/.mock/definition/.service.yml.swp b/seed/ts-sdk/examples/retain-original-casing/.mock/definition/.service.yml.swp new file mode 100644 index 00000000000..07f2f5e8b68 Binary files /dev/null and b/seed/ts-sdk/examples/retain-original-casing/.mock/definition/.service.yml.swp differ diff --git a/seed/ts-sdk/path-parameters/README.md b/seed/ts-sdk/path-parameters/README.md index c9d302c1c34..8004056e9c5 100644 --- a/seed/ts-sdk/path-parameters/README.md +++ b/seed/ts-sdk/path-parameters/README.md @@ -20,7 +20,7 @@ A full reference for this library is available [here](./reference.md). Instantiate and use the client with the following: ```typescript -import { SeedPathParametersClient, SeedPathParameters } from "@fern/path-parameters"; +import { SeedPathParametersClient } from "@fern/path-parameters"; const client = new SeedPathParametersClient({ environment: "YOUR_BASE_URL" }); await client.user.getOrganization("organizationId"); @@ -58,17 +58,6 @@ try { } ``` -## Pagination - -List endpoints are paginated. The SDK provides an iterator so that you can simply loop over the items: - -```typescript -import { SeedPathParametersClient, SeedPathParameters } from "@fern/path-parameters"; - -const client = new SeedPathParametersClient({ environment: "YOUR_BASE_URL" }); -await client.user.getOrganization("organizationId"); -``` - ## Advanced ### Raw Responses diff --git a/seed/ts-sdk/path-parameters/snippet.json b/seed/ts-sdk/path-parameters/snippet.json index 7667eaf5c6c..2938c81ec8e 100644 --- a/seed/ts-sdk/path-parameters/snippet.json +++ b/seed/ts-sdk/path-parameters/snippet.json @@ -8,7 +8,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedPathParametersClient, SeedPathParameters } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.getOrganization(\"organizationId\");\n" + "client": "import { SeedPathParametersClient } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.getOrganization(\"organizationId\");\n" } }, { @@ -19,7 +19,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedPathParametersClient, SeedPathParameters } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.getUser(\"userId\");\n" + "client": "import { SeedPathParametersClient } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.getUser(\"userId\");\n" } }, { @@ -30,7 +30,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedPathParametersClient, SeedPathParameters } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.getOrganizationUser(\"organizationId\", \"userId\");\n" + "client": "import { SeedPathParametersClient } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.getOrganizationUser(\"organizationId\", \"userId\");\n" } }, { @@ -41,7 +41,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedPathParametersClient, SeedPathParameters } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.searchUsers(\"userId\", {\n limit: 1\n});\n" + "client": "import { SeedPathParametersClient } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.searchUsers(\"userId\", {\n limit: 1\n});\n" } }, { @@ -52,7 +52,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedPathParametersClient, SeedPathParameters } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.searchOrganizations(\"organizationId\", {\n limit: 1\n});\n" + "client": "import { SeedPathParametersClient } from \"@fern/path-parameters\";\n\nconst client = new SeedPathParametersClient({ environment: \"YOUR_BASE_URL\" });\nawait client.user.searchOrganizations(\"organizationId\", {\n limit: 1\n});\n" } } ], diff --git a/seed/ts-sdk/path-parameters/src/api/resources/user/client/Client.ts b/seed/ts-sdk/path-parameters/src/api/resources/user/client/Client.ts index 18fe2387ef7..724da5a5497 100644 --- a/seed/ts-sdk/path-parameters/src/api/resources/user/client/Client.ts +++ b/seed/ts-sdk/path-parameters/src/api/resources/user/client/Client.ts @@ -321,7 +321,7 @@ export class User { }); case "timeout": throw new errors.SeedPathParametersTimeoutError( - "Timeout exceeded when calling GET /user/users/{userId}." + "Timeout exceeded when calling GET /user/users/{userId}/search." ); case "unknown": throw new errors.SeedPathParametersError({ @@ -403,7 +403,7 @@ export class User { }); case "timeout": throw new errors.SeedPathParametersTimeoutError( - "Timeout exceeded when calling GET /user/organizations/{organizationId}." + "Timeout exceeded when calling GET /user/organizations/{organizationId}/search." ); case "unknown": throw new errors.SeedPathParametersError({ diff --git a/seed/ts-sdk/validation/README.md b/seed/ts-sdk/validation/README.md index a1b8d73acde..03baec5b5da 100644 --- a/seed/ts-sdk/validation/README.md +++ b/seed/ts-sdk/validation/README.md @@ -24,9 +24,9 @@ import { SeedValidationClient } from "@fern/validation"; const client = new SeedValidationClient({ environment: "YOUR_BASE_URL" }); await client.create({ - decimal: 1.1, - even: 1, - name: "name", + decimal: 2.2, + even: 100, + name: "foo", shape: "SQUARE", }); ``` diff --git a/seed/ts-sdk/validation/reference.md b/seed/ts-sdk/validation/reference.md index f674e8a7ff0..246e59f16f1 100644 --- a/seed/ts-sdk/validation/reference.md +++ b/seed/ts-sdk/validation/reference.md @@ -14,9 +14,9 @@ ```typescript await client.get({ - decimal: 1.1, - even: 1, - name: "name", + decimal: 2.2, + even: 100, + name: "foo", }); ``` diff --git a/seed/ts-sdk/validation/resolved-snippet-templates.md b/seed/ts-sdk/validation/resolved-snippet-templates.md index 3223fc835eb..446547ba0c6 100644 --- a/seed/ts-sdk/validation/resolved-snippet-templates.md +++ b/seed/ts-sdk/validation/resolved-snippet-templates.md @@ -3,9 +3,9 @@ import { SeedValidationClient } from "@fern/validation"; const client = new SeedValidationClient({ environment: "YOUR_BASE_URL" }); await client.create({ - decimal: 1.1, - even: 1, - name: "name", + decimal: 2.2, + even: 100, + name: "foo", }); ``` @@ -16,9 +16,9 @@ import { SeedValidationClient } from "@fern/validation"; const client = new SeedValidationClient({ environment: "YOUR_BASE_URL" }); await client.get({ - decimal: 1.1, - even: 1, - name: "name", + decimal: 2.2, + even: 100, + name: "foo", }); ``` diff --git a/seed/ts-sdk/validation/snippet.json b/seed/ts-sdk/validation/snippet.json index 2cb526d40d4..46b93b24bb8 100644 --- a/seed/ts-sdk/validation/snippet.json +++ b/seed/ts-sdk/validation/snippet.json @@ -8,7 +8,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedValidationClient } from \"@fern/validation\";\n\nconst client = new SeedValidationClient({ environment: \"YOUR_BASE_URL\" });\nawait client.create({\n decimal: 1.1,\n even: 1,\n name: \"name\",\n shape: \"SQUARE\"\n});\n" + "client": "import { SeedValidationClient } from \"@fern/validation\";\n\nconst client = new SeedValidationClient({ environment: \"YOUR_BASE_URL\" });\nawait client.create({\n decimal: 2.2,\n even: 100,\n name: \"foo\",\n shape: \"SQUARE\"\n});\n" } }, { @@ -19,7 +19,7 @@ }, "snippet": { "type": "typescript", - "client": "import { SeedValidationClient } from \"@fern/validation\";\n\nconst client = new SeedValidationClient({ environment: \"YOUR_BASE_URL\" });\nawait client.get({\n decimal: 1.1,\n even: 1,\n name: \"name\"\n});\n" + "client": "import { SeedValidationClient } from \"@fern/validation\";\n\nconst client = new SeedValidationClient({ environment: \"YOUR_BASE_URL\" });\nawait client.get({\n decimal: 2.2,\n even: 100,\n name: \"foo\"\n});\n" } } ], diff --git a/seed/ts-sdk/validation/src/Client.ts b/seed/ts-sdk/validation/src/Client.ts index be642badb06..d36c1b076c4 100644 --- a/seed/ts-sdk/validation/src/Client.ts +++ b/seed/ts-sdk/validation/src/Client.ts @@ -34,9 +34,9 @@ export class SeedValidationClient { * * @example * await client.create({ - * decimal: 1.1, - * even: 1, - * name: "name", + * decimal: 2.2, + * even: 100, + * name: "foo", * shape: "SQUARE" * }) */ @@ -107,9 +107,9 @@ export class SeedValidationClient { * * @example * await client.get({ - * decimal: 1.1, - * even: 1, - * name: "name" + * decimal: 2.2, + * even: 100, + * name: "foo" * }) */ public get( diff --git a/seed/ts-sdk/validation/src/api/client/requests/CreateRequest.ts b/seed/ts-sdk/validation/src/api/client/requests/CreateRequest.ts index f3db09fc620..e17c9c2bab5 100644 --- a/seed/ts-sdk/validation/src/api/client/requests/CreateRequest.ts +++ b/seed/ts-sdk/validation/src/api/client/requests/CreateRequest.ts @@ -7,9 +7,9 @@ import * as SeedValidation from "../../index"; /** * @example * { - * decimal: 1.1, - * even: 1, - * name: "name", + * decimal: 2.2, + * even: 100, + * name: "foo", * shape: "SQUARE" * } */ diff --git a/seed/ts-sdk/validation/src/api/client/requests/GetRequest.ts b/seed/ts-sdk/validation/src/api/client/requests/GetRequest.ts index 26b40d60af3..dd7189e4639 100644 --- a/seed/ts-sdk/validation/src/api/client/requests/GetRequest.ts +++ b/seed/ts-sdk/validation/src/api/client/requests/GetRequest.ts @@ -5,9 +5,9 @@ /** * @example * { - * decimal: 1.1, - * even: 1, - * name: "name" + * decimal: 2.2, + * even: 100, + * name: "foo" * } */ export interface GetRequest { 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..6defb379eb1 100644 --- a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml +++ b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml @@ -7,15 +7,59 @@ paths: get: summary: Get Example responses: - '200': + "200": description: Successful response content: application/json: schema: oneOf: - - $ref: "#/components/responses/NotFound/content/application~1json/schema" - $ref: "#/components/schemas/Schema1" - $ref: "#/components/schemas/Schema2" + /root: + 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: + 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: NotFound: @@ -42,3 +86,31 @@ components: type: string age: type: integer + testEnum: + type: string + enum: + - test1 + - test2 + - test3 + testDiscriminatedUnion: + discriminator: + propertyName: objectType + oneOf: + - type: object + properties: + objectType: + type: string + - 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 new file mode 100644 index 00000000000..a2a0cbfac7c --- /dev/null +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -0,0 +1,61 @@ +service: + base-path: /root + auth: false + endpoints: + getRoot: + path: /root + method: POST + request: + body: + properties: + bar: InlineType1 + foo: string + content-type: application/json + name: PostRootRequest + response: RootType1 + +types: + RootType1: + properties: + foo: string + bar: InlineType1 + + InlineType1: + inline: true + properties: + foo: string + bar: + type: NestedInlineType1 + + InlineType2: + inline: true + properties: + baz: string + + NestedInlineType1: + inline: true + properties: + foo: string + bar: string + myEnum: InlineEnum + + InlinedDiscriminatedUnion1: + inline: true + union: + type1: InlineType1 + type2: InlineType2 + + InlinedUndiscriminatedUnion1: + inline: true + discriminated: false + union: + - type: InlineType1 + - type: InlineType2 + + InlineEnum: + inline: true + enum: + - SUNNY + - CLOUDY + - RAINING + - SNOWING 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/seed/csharp-sdk/code-samples/.mock/generators.yml b/test-definitions/fern/apis/inline-types/generators.yml similarity index 100% rename from seed/csharp-sdk/code-samples/.mock/generators.yml rename to test-definitions/fern/apis/inline-types/generators.yml